Mercurial > hg > nginx-vendor-current
comparison src/os/unix/ngx_aio_write_chain.c @ 324:f7cd062ee035 NGINX_0_6_6
nginx 0.6.6
*) Feature: the --sysconfdir=PATH option in configure.
*) Feature: named locations.
*) Feature: the $args variable can be set with the "set" directive.
*) Feature: the $is_args variable.
*) Bugfix: fair big weight upstream balancer.
*) Bugfix: if a client has closed connection to mail proxy then nginx
might not close connection to backend.
*) Bugfix: if the same host without specified port was used as backend
for HTTP and HTTPS, then nginx used only one port - 80 or 443.
*) Bugfix: fix building on Solaris/amd64 by Sun Studio 11 and early
versions; bug appeared in 0.6.4.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Jul 2007 00:00:00 +0400 |
parents | df17fbafec8f |
children | 86dad910eeb6 |
comparison
equal
deleted
inserted
replaced
323:7e977a664d91 | 324:f7cd062ee035 |
---|---|
19 ssize_t n, size; | 19 ssize_t n, size; |
20 ngx_chain_t *cl; | 20 ngx_chain_t *cl; |
21 | 21 |
22 /* the maximum limit size is the maximum size_t value - the page size */ | 22 /* the maximum limit size is the maximum size_t value - the page size */ |
23 | 23 |
24 if (limit == 0 || limit > NGX_MAX_SIZE_T_VALUE - ngx_pagesize) { | 24 if (limit == 0 || limit > (off_t) (NGX_MAX_SIZE_T_VALUE - ngx_pagesize)) { |
25 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; | 25 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; |
26 } | 26 } |
27 | 27 |
28 send = 0; | 28 send = 0; |
29 sent = 0; | 29 sent = 0; |