diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-10-05 14:46:21 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-10-05 14:46:21 +0000 |
commit | a257367813cc604e9a8012cb64936a96b3a169cc (patch) | |
tree | f85d61c240f4d0ec775e6fb68709a902b9137111 /src/os/unix/ngx_writev_chain.c | |
parent | c6806be34feef0bb4a9611338ed3a0b6f886111c (diff) | |
download | nginx-a257367813cc604e9a8012cb64936a96b3a169cc.tar.gz nginx-a257367813cc604e9a8012cb64936a96b3a169cc.zip |
nginx-0.2.6-RELEASE importrelease-0.2.6
*) 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; the bug had appeared in 0.2.2.
Diffstat (limited to 'src/os/unix/ngx_writev_chain.c')
-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) { |