diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-10-05 12:54:56 +0000 |
---|---|---|
committer | Jonathan Kolb <jon@b0g.us> | 2005-10-05 12:54:56 +0000 |
commit | f975df2451ff989ec252731b25a45ac02985372a (patch) | |
tree | c2cfe42f949ae4a0b2e8f5a927f3cde6db1d34e2 /src/os | |
parent | 3d5736770305c42dd10030969b18107abd2ae36a (diff) | |
download | nginx-0.2.tar.gz |
*) Change: while using load-balancing the time before the failed
backend retry was decreased from 60 to 10 seconds.
*) Change: the "proxy_pass_unparsed_uri" was canceled, the original URI
now passed, if the URI part is omitted in "proxy_pass" directive.
*) Feature: the "error_page" directive supports redirects and allows
more flexible to change an error code.
*) Change: the charset in the "Content-Type" header line now is ignored
in proxied subrequests.
*) Bugfix: if the URI was changed in the "if" block and request did not
found new configuration, then the ngx_http_rewrite_module rules ran
again.
*) Bugfix: if the "set" directive set the ngx_http_geo_module variable
in some configuration part, the this variable was not available in
other configuration parts and the "using uninitialized variable"
error was occurred; bug appeared in 0.2.2.
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/unix/ngx_writev_chain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_writev_chain.c b/src/os/unix/ngx_writev_chain.c index 6d516ac69..9baeb1f3c 100644 --- a/src/os/unix/ngx_writev_chain.c +++ b/src/os/unix/ngx_writev_chain.c @@ -81,7 +81,7 @@ ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) size = cl->buf->last - cl->buf->pos; if (send + size > limit) { - size = limit - send; + size = (ssize_t) limit - send; } if (prev == cl->buf->pos) { |