Igor Sysoev
30870b4ab3
style fix: lcf > clcf
2009-11-13 19:59:54 +00:00
Igor Sysoev
35b7a443a1
do not log error if $r->variable was not found
2009-11-12 15:50:34 +00:00
Igor Sysoev
3d12873adb
add MSIE padding for Chrome too
2009-11-12 14:24:22 +00:00
Igor Sysoev
bdc154bb73
r->chrome
2009-11-12 14:23:18 +00:00
Igor Sysoev
0338645ecf
test frequent r->header_only before three response status
2009-11-12 13:44:16 +00:00
Igor Sysoev
6c49a5afcf
refactor gzip_vary handling
2009-11-12 13:41:56 +00:00
Igor Sysoev
2c0b6f3e70
nginx sent gzipped responses to clients those do not support gzip,
...
if "gzip_static on" and "gzip_vary off"; the bug had been introduced in r3136
2009-11-11 21:12:41 +00:00
Igor Sysoev
f4992bbe14
bump version
2009-11-11 21:06:36 +00:00
Igor Sysoev
20c9f8be85
remove "Content-Encoding: gzip" in 304 response
...
sent by ngx_http_gzip_static_module
2009-11-11 14:32:49 +00:00
Igor Sysoev
61da56d041
fix "set_real_ip_from unix:" inheritance
2009-11-11 13:41:16 +00:00
Igor Sysoev
a993d55b0f
bump version
2009-11-11 12:30:36 +00:00
Igor Sysoev
4121aa3440
export aio presence knowledge to prevent using "aio sendfile",
...
if aio does not present
2009-11-05 13:12:30 +00:00
Igor Sysoev
7319b92591
allow to work single "set_real_ip_from unix:"
2009-11-04 11:37:06 +00:00
Igor Sysoev
822503ea41
bump version
2009-11-04 11:20:54 +00:00
Igor Sysoev
51aa6dec4d
fix segfault if there is single large_client_header_buffers
...
and a request line fills it completely
2009-11-03 18:12:20 +00:00
Igor Sysoev
89601c0f10
fix segfault if no rules are defined, introduced in r3279
2009-11-03 16:04:07 +00:00
Igor Sysoev
956bdfc000
fix segfault if $limit_rate was logged
2009-11-03 15:05:38 +00:00
Igor Sysoev
771e677674
fix directive name in error message: "set_realip_from" to "set_real_ip_from"
2009-11-03 14:41:56 +00:00
Igor Sysoev
39c9f6e487
fix directive name in error message: "realip_from" to "set_realip_from"
2009-11-03 13:45:22 +00:00
Igor Sysoev
76c941e70b
IPv6 support in ngx_http_access_module
2009-11-03 13:42:45 +00:00
Igor Sysoev
612ecb7674
optimize some cycles:
...
*) delete surplus variable;
*) on i386/amd64 "while (n) / n--" is smaller than "while (n--)",
because the platforms have no postfix operations
2009-11-02 17:12:09 +00:00
Igor Sysoev
7e4f193bb0
set_real_ip_from unix:
2009-11-02 16:46:07 +00:00
Igor Sysoev
a9aaa4a78d
support IPv6 addresses in Real IP headers
2009-11-02 16:24:27 +00:00
Igor Sysoev
8b816d88a9
change ngx_parse_addr() interface
2009-11-02 16:11:06 +00:00
Igor Sysoev
72e928755b
proxy_bind, fastcgi_bind, and memcached_bind
2009-11-02 15:24:02 +00:00
Igor Sysoev
0c189c5159
rename ngx_peer_addr_t to ngx_addr_t
2009-11-02 15:14:17 +00:00
Igor Sysoev
67765e8918
use sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr"
2009-11-02 14:32:46 +00:00
Igor Sysoev
0f25ed3d77
replace inet_addr() with ngx_inet_addr()
2009-11-02 13:51:10 +00:00
Igor Sysoev
19811dbdde
style fix
2009-11-02 12:41:56 +00:00
Igor Sysoev
44fa8877c0
fix segfaults if no listen directive was set in default server {} block:
...
ngx_http_add_listen() uses server's connection_pool_size and
client_header_timeout values, therefore it must be called after
the values have been merged, the bug had been introduced in r3218
2009-10-29 15:53:50 +00:00
Igor Sysoev
e856807660
style fix
2009-10-28 10:47:00 +00:00
Igor Sysoev
cadac4ec3e
fix segfault if http {} block is empty, the bug had been introduced in r3218
2009-10-28 10:45:40 +00:00
Igor Sysoev
b3586d13da
bump version
2009-10-28 10:31:06 +00:00
Igor Sysoev
baf8e409ba
http listen unix domain sockets
2009-10-26 11:43:32 +00:00
Igor Sysoev
657b3b7f7d
fix r3225 and r3227: preserve default_server bit during listen options
...
overwriting
2009-10-22 10:17:54 +00:00
Igor Sysoev
663e957957
do not run regex for empty host name since regex always fails in this case,
...
the bug had been introduced in r2196
2009-10-22 09:48:42 +00:00
Igor Sysoev
315cfa0ab3
test a duplicate listen in a server
2009-10-22 08:15:16 +00:00
Igor Sysoev
acb43232f6
fix r3225: it overrode the listen options by default server default options
2009-10-22 08:14:02 +00:00
Igor Sysoev
9826961ed4
listen default_server parameter
2009-10-21 19:18:50 +00:00
Igor Sysoev
5a95080cb6
allow to set listen options in any server
2009-10-21 19:16:38 +00:00
Igor Sysoev
ba3083bfce
add listen address in error message
2009-10-21 19:13:27 +00:00
Igor Sysoev
cd8b43cde7
rename core_srv_conf fields to more understandable default_server and server
2009-10-21 16:52:10 +00:00
Igor Sysoev
f2694cb925
*) move sockaddr to the listen options
...
*) rename ngx_http_listen_t to ngx_http_listen_opt_t
2009-10-21 16:47:44 +00:00
Igor Sysoev
2a634f5342
fix r3218:
...
Initially building lists of ports, addresses, and server names had been
placed at final configuration stage, because complete set of the "listen"s
and the "server_names" were required for this operation. r3218 broke it,
because the "listen"s go usually first in configuration, and
cscf->server_names is empty at this stage, therefore no virtual names
were configured.
Now server configurations are stored in array for each address:port
to configure virtual names. Also regex captures flag is moved from
server names to core server configuration.
2009-10-21 16:27:48 +00:00
Igor Sysoev
d2d0931ed5
refactor http listen code: remove duplicate options fields
2009-10-21 08:48:04 +00:00
Igor Sysoev
79d630ac11
refactor http listen code:
...
*) add listen's to the global cmcf->ports array instead of server's one
*) rename ngx_http_listen_conf_t to ngx_http_listen_opt_t
2009-10-21 08:19:46 +00:00
Igor Sysoev
e418e0661c
fix two previous commits: an early parallel body discarding completion
...
disables incomplete ngx_http_writer()
2009-10-20 11:48:28 +00:00
Igor Sysoev
9a1f0ac730
allow discarding body while a long response transfer
2009-10-19 16:13:38 +00:00
Igor Sysoev
801a35df3c
restore discard body handler after ngx_http_set_writer() set it to
...
ngx_http_test_reading(), the bug was introduced in r3050
2009-10-19 16:12:13 +00:00
Igor Sysoev
7060e670f4
fix ngx_http_finalize_request() code after a body has been discarded
2009-10-19 16:06:57 +00:00