diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-05-14 22:42:03 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-05-14 22:42:03 +0400 |
commit | 3362b8df048ad32b6dd286b37e792f661bb894ea (patch) | |
tree | 4d34588122fdddf2213a44afac03f9100228990d /src/event | |
parent | a599375d3b5ae261d30d292a5eb7939623f6e4b1 (diff) |
nginx-0.1.30-RELEASE importrelease-0.1.30
*) Bugfix: the worker process may got caught in an endless loop if the
SSI was used.
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: if the length of the response part received at once from
proxied or FastCGI server was equal to 500, then nginx returns the
500 response code; in proxy mode the the bug had appeared in 0.1.29
only.
*) Bugfix: nginx did not consider the directives with 8 or 9 parameters
as invalid.
*) Feature: the "return" directive can return the 204 response code.
*) Feature: the "ignore_invalid_headers" directive.
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/ngx_event_openssl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c index afdf4631c..7053fa389 100644 --- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -361,8 +361,9 @@ ngx_ssl_send_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) return NGX_CHAIN_ERROR; } - if (n < 0) { - n = 0; + if (n == NGX_AGAIN) { + c->buffered = 1; + return in; } buf->pos += n; |