Mercurial > hg > nginx
comparison src/os/unix/ngx_aio_write_chain.c @ 477:ad1e9ebf93bb release-0.1.13
nginx-0.1.13-RELEASE import
*) 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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 21 Dec 2004 12:30:30 +0000 |
parents | 8e8f3af115b5 |
children | d4ea69372b94 |
comparison
equal
deleted
inserted
replaced
476:7e8b84ab09e9 | 477:ad1e9ebf93bb |
---|---|
20 ngx_err_t err; | 20 ngx_err_t err; |
21 ngx_chain_t *cl; | 21 ngx_chain_t *cl; |
22 | 22 |
23 /* the maximum limit size is the maximum size_t value - the page size */ | 23 /* the maximum limit size is the maximum size_t value - the page size */ |
24 | 24 |
25 if (limit == 0 || limit > MAX_SIZE_T_VALUE - ngx_pagesize) { | 25 if (limit == 0 || limit > NGX_MAX_SIZE_T_VALUE - ngx_pagesize) { |
26 limit = MAX_SIZE_T_VALUE - ngx_pagesize; | 26 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; |
27 } | 27 } |
28 | 28 |
29 send = 0; | 29 send = 0; |
30 sent = 0; | 30 sent = 0; |
31 cl = in; | 31 cl = in; |