diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-05-16 17:53:20 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-05-16 17:53:20 +0400 |
commit | d52477ff6da227552cd77ffcdf19941d5005ca13 (patch) | |
tree | b075a90c87e64b29770391ebcd0070c9bd208f5f /src/event | |
parent | d5d6b6bc3bfa5198f9ca7412b17feddaa348d1c6 (diff) |
nginx-0.1.31-RELEASE importrelease-0.1.31
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: errors while processing FastCGI response by SSI.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the redirect with the 301 code was transferred without
response body; the bug had appeared in 0.1.30.
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 7053fa389..1c0f1485d 100644 --- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -288,8 +288,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; } in->buf->pos += n; |