mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
fix "proxy_pass https://..." broken in r1427
This commit is contained in:
parent
c49ed61376
commit
da02ddc6fd
@ -674,6 +674,11 @@ ngx_ssl_recv_chain(ngx_connection_t *c, ngx_chain_t *cl)
|
||||
}
|
||||
|
||||
if (bytes) {
|
||||
|
||||
if (n == 0 || n == NGX_ERROR) {
|
||||
c->read->ready = 1;
|
||||
}
|
||||
|
||||
return bytes;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user