mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
add code missed in r1830
This commit is contained in:
parent
1d73cf13f0
commit
bd68d51407
@ -479,6 +479,11 @@ ngx_http_ssl_handshake(ngx_event_t *rev)
|
||||
n = recv(c->fd, (char *) buf, 1, MSG_PEEK);
|
||||
|
||||
if (n == -1 && ngx_socket_errno == NGX_EAGAIN) {
|
||||
|
||||
if (!rev->timer_set) {
|
||||
ngx_add_timer(rev, c->listening->post_accept_timeout);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user