OpenSSL: Add a debugging assert for timeouts
This commit is contained in:
parent
b4a0b60dff
commit
01ce1c508d
1 changed files with 2 additions and 0 deletions
|
@ -592,6 +592,8 @@ static void
|
|||
rb_ssl_timeout(rb_fde_t *const F, void *const notused)
|
||||
{
|
||||
lrb_assert(F->accept != NULL);
|
||||
lrb_assert(F->accept->callback != NULL);
|
||||
|
||||
F->accept->callback(F, RB_ERR_TIMEOUT, NULL, 0, F->accept->data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue