mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
add code missed in r1830
This commit is contained in:
parent
1d73cf13f0
commit
bd68d51407
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue