Igor Sysoev
7448d395ac
fix posix_memalign() error handling
2009-11-15 08:56:40 +00:00
Igor Sysoev
f50c6bd9fc
ngx_regex_exec() calling optimiztion:
...
*) change NGX_REGEX_NO_MATCHED to PCRE_ERROR_NOMATCH
*) declare ngx_regex_exec() as #define
*) optimize SSI regex a little
2009-11-13 20:41:41 +00:00
Igor Sysoev
72edbfbb36
style fix: lcf > clcf
2009-11-13 19:59:54 +00:00
Igor Sysoev
7ece42d1d4
do not log error if $r->variable was not found
2009-11-12 15:50:34 +00:00
Igor Sysoev
62312c8297
add MSIE padding for Chrome too
2009-11-12 14:24:22 +00:00
Igor Sysoev
777449eb07
r->chrome
2009-11-12 14:23:18 +00:00
Igor Sysoev
78869cac6b
test frequent r->header_only before three response status
2009-11-12 13:44:16 +00:00
Igor Sysoev
b013fc68ac
refactor gzip_vary handling
2009-11-12 13:41:56 +00:00
Igor Sysoev
fe58dec9f5
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
e79bc93439
bump version
2009-11-11 21:06:36 +00:00
Igor Sysoev
b4e0d84c86
release-0.8.24 tag
2009-11-11 14:53:18 +00:00
Igor Sysoev
ec6847be39
nginx-0.8.24-RELEASE
2009-11-11 14:53:17 +00:00
Igor Sysoev
120ac6558f
remove "Content-Encoding: gzip" in 304 response
...
sent by ngx_http_gzip_static_module
2009-11-11 14:32:49 +00:00
Igor Sysoev
e57dc3e2cd
use ngx_resolver_alloc() instead of ngx_resolver_calloc()
...
since all fields are filled
2009-11-11 14:29:20 +00:00
Igor Sysoev
864ec240a9
fix resolving an empty name (".")
2009-11-11 14:27:24 +00:00
Igor Sysoev
b4e71d2ad6
fix "set_real_ip_from unix:" inheritance
2009-11-11 13:41:16 +00:00
Igor Sysoev
a14a24b08a
fix building without --with-debug, introduced in r3294
2009-11-11 12:32:06 +00:00
Igor Sysoev
1f091b0755
bump version
2009-11-11 12:30:36 +00:00
Igor Sysoev
96685872f2
release-0.8.23 tag
2009-11-11 11:05:23 +00:00
Igor Sysoev
b7a0dcf2b6
nginx-0.8.23-RELEASE
2009-11-11 11:05:22 +00:00
Igor Sysoev
dd3d898df0
disable SSL renegotiation (CVE-2009-3555)
2009-11-11 10:59:07 +00:00
Igor Sysoev
f2db0e7b34
*) fix resolving an empty name ("."),
...
*) add quotes in an error message,
*) backout r3299 in ngx_mail_smtp_handler.c
2009-11-09 19:15:11 +00:00
Igor Sysoev
0836b35c2d
fix "PTR ." case in address resolver
2009-11-09 18:04:05 +00:00
Igor Sysoev
79706060bf
fix segfault in resolver:
...
ngx_resolve_name_done() and ngx_resolve_addr_done() did not delete
contexts from a resolver node waiting list.
2009-11-09 17:45:56 +00:00
Igor Sysoev
b47c9ffa1a
cf->conf_file->file.name.data may be uninitialized, if an allocation failed;
...
found by Clang Static Analyzer
2009-11-05 17:10:48 +00:00
Igor Sysoev
33a1975d98
delete useless statement
2009-11-05 17:09:02 +00:00
Igor Sysoev
152504f0c2
export aio presence knowledge to prevent using "aio sendfile",
...
if aio does not present
2009-11-05 13:12:30 +00:00
Igor Sysoev
bfd1a3c03c
Fix a bug introduced in r2032: After a child process has read a terminate
...
message from a channel, the process tries to read the channel again.
The kernel (at least FreeBSD) may preempt the process and sends a SIGIO
signal to a master process. The master process sends a new terminate message,
the kernel switches again to the the child process, and the child process
reads the messages instead of an EAGAIN error. And this may repeat over
and over. Being that the child process can not exit the cycle and test
the termination flag set by the message handler.
The fix disallow the master process to send a new terminate message on
SIGIO signal reception. It may send the message only on SIGALARM signal.
2009-11-04 19:41:08 +00:00
Igor Sysoev
12f76d6832
allow to inherit unix domain sockets while online upgrade
2009-11-04 18:36:43 +00:00
Igor Sysoev
ca6e7a42b6
allow to work single "set_real_ip_from unix:"
2009-11-04 11:37:06 +00:00
Igor Sysoev
2a2237f139
bump version
2009-11-04 11:20:54 +00:00
Igor Sysoev
96aea7427c
release-0.8.22 tag
2009-11-03 18:52:38 +00:00
Igor Sysoev
afd398a099
nginx-0.8.22-RELEASE
2009-11-03 18:52:37 +00:00
Igor Sysoev
2f387509eb
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
c8312b7e09
posix_fadvise64() had been implemented in Linux 2.5.60
2009-11-03 16:29:47 +00:00
Igor Sysoev
da26dde047
use setproctitle("%s", title)
2009-11-03 16:28:21 +00:00
Igor Sysoev
51135fd6d0
fix segfault if no rules are defined, introduced in r3279
2009-11-03 16:04:07 +00:00
Igor Sysoev
0c73f1c6dc
fix segfault in SSL if limit_rate is used
2009-11-03 15:38:33 +00:00
Igor Sysoev
d9946897aa
fix segfault if $limit_rate was logged
2009-11-03 15:05:38 +00:00
Igor Sysoev
e16b14bcd4
fix "if (!-x ...)"
2009-11-03 14:57:27 +00:00
Igor Sysoev
98a524f8b9
fix directive name in error message: "set_realip_from" to "set_real_ip_from"
2009-11-03 14:41:56 +00:00
Igor Sysoev
cb70a07432
fix directive name in error message: "realip_from" to "set_realip_from"
2009-11-03 13:45:22 +00:00
Igor Sysoev
b6143dacae
IPv6 support in ngx_http_access_module
2009-11-03 13:42:45 +00:00
Igor Sysoev
21d080bbf9
ngx_ptocidr() supports IPv6
2009-11-03 13:42:25 +00:00
Igor Sysoev
a9c848d7b1
make ngx_inet6_ntop() non-static
2009-11-03 12:44:55 +00:00
Igor Sysoev
aba252b4d4
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
04e0208608
set_real_ip_from unix:
2009-11-02 16:46:07 +00:00
Igor Sysoev
43cf5e6fd8
support IPv6 addresses in Real IP headers
2009-11-02 16:24:27 +00:00
Igor Sysoev
eff6a4b08c
change ngx_parse_addr() interface
2009-11-02 16:11:06 +00:00
Igor Sysoev
328c1a11b5
proxy_bind, fastcgi_bind, and memcached_bind
2009-11-02 15:24:02 +00:00