r2053 merge:
fix "proxy_pass https://..." broken in r1427
This commit is contained in:
parent
c208b7a83d
commit
f4df21217f
1 changed files with 5 additions and 0 deletions
|
@ -590,6 +590,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 a new issue