diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-12-21 15:30:30 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-12-21 15:30:30 +0300 |
commit | b1dfe478a03ad6919f174812951f6a2bec8befae (patch) | |
tree | d8802484f8dbf5309b17a95b5fc9749627720a53 /src/os/unix/ngx_writev_chain.c | |
parent | 5275a8b3ac534ff36973801ec2aa6ce1214d7cc9 (diff) |
nginx-0.1.13-RELEASE importrelease-0.1.13
*) Feature: the server_names_hash and server_names_hash_threshold
directives.
*) Bugfix: the *.domain.tld names in the "server_name" directive did
not work.
*) Bugfix: the %request_length log parameter logged the incorrect
length.
Diffstat (limited to 'src/os/unix/ngx_writev_chain.c')
-rw-r--r-- | src/os/unix/ngx_writev_chain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_writev_chain.c b/src/os/unix/ngx_writev_chain.c index 8f1087b26..9cbcd864d 100644 --- a/src/os/unix/ngx_writev_chain.c +++ b/src/os/unix/ngx_writev_chain.c @@ -44,8 +44,8 @@ ngx_chain_t *ngx_writev_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) /* the maximum limit size is the maximum size_t value - the page size */ - if (limit == 0 || limit > MAX_SIZE_T_VALUE - ngx_pagesize) { - limit = MAX_SIZE_T_VALUE - ngx_pagesize; + if (limit == 0 || limit > NGX_MAX_SIZE_T_VALUE - ngx_pagesize) { + limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; } send = 0; |