Mercurial > hg > nginx-ranges
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 26:45fe5b98a9de NGINX_0_1_13
nginx 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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 21 Dec 2004 00:00:00 +0300 |
parents | 8b6db3bda591 |
children | 7ca9bdc82b3f |
comparison
equal
deleted
inserted
replaced
25:21488c53e135 | 26:45fe5b98a9de |
---|---|
66 | 66 |
67 #endif | 67 #endif |
68 | 68 |
69 /* the maximum limit size is the maximum size_t value - the page size */ | 69 /* the maximum limit size is the maximum size_t value - the page size */ |
70 | 70 |
71 if (limit == 0 || limit > MAX_SIZE_T_VALUE - ngx_pagesize) { | 71 if (limit == 0 || limit > NGX_MAX_SIZE_T_VALUE - ngx_pagesize) { |
72 limit = MAX_SIZE_T_VALUE - ngx_pagesize; | 72 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; |
73 } | 73 } |
74 | 74 |
75 send = 0; | 75 send = 0; |
76 eagain = 0; | 76 eagain = 0; |
77 | 77 |