Commit graph

3114 commits

Author SHA1 Message Date
Igor Sysoev
3b1acdc631 fix pcre allocation on Win32, the bug had been introduced in r3326 2009-11-17 10:24:45 +00:00
Igor Sysoev
829324178d bump version 2009-11-17 09:59:45 +00:00
Igor Sysoev
5f55e969a5 release-0.8.26 tag 2009-11-16 19:25:38 +00:00
Igor Sysoev
977038f9f3 nginx-0.8.26-RELEASE 2009-11-16 19:25:37 +00:00
Igor Sysoev
726741e0bd evaluate maximum captures size on configuration phase 2009-11-16 19:11:38 +00:00
Igor Sysoev
df3c5d435c fix captures in "rewrite", the bug had been introduced in r3326 2009-11-16 19:10:45 +00:00
Igor Sysoev
15aa7e34c7 fix building without --with-debug, introduced in r3328 2009-11-16 16:00:52 +00:00
Igor Sysoev
c635cd4708 bump version 2009-11-16 16:00:12 +00:00
Igor Sysoev
4f101b833a release-0.8.25 tag 2009-11-16 13:47:11 +00:00
Igor Sysoev
1a1f223af9 nginx-0.8.25-RELEASE 2009-11-16 13:47:10 +00:00
Igor Sysoev
b8214d476a backout r3325: postpone filter is a body only filter 2009-11-16 13:22:10 +00:00
Igor Sysoev
6726e438b3 align to minimum of a page and a pool sizes 2009-11-16 12:50:10 +00:00
Igor Sysoev
ea31a5f0d0 ngx_min() 2009-11-16 12:48:41 +00:00
Igor Sysoev
16d2d705c3 large allocation should not be aligned to a page size 2009-11-16 12:47:44 +00:00
Igor Sysoev
901288f8c0 add alignment in debug log 2009-11-16 12:46:05 +00:00
Igor Sysoev
572e4d890e ngx_http_degradation_module 2009-11-16 12:20:00 +00:00
Igor Sysoev
3c50475589 regex named captures 2009-11-16 12:19:02 +00:00
Igor Sysoev
241de169b9 remove subrequest test in range header, chunked, and header filters: they
are run after postpone filter which sends data only in main request context
2009-11-16 12:13:17 +00:00
Igor Sysoev
82891ea30f allow "proxy_pass http://$backend" without URI part 2009-11-15 11:36:12 +00:00
Igor Sysoev
fae7db9ae3 fix posix_fadvise() error handling 2009-11-15 09:16:58 +00:00
Igor Sysoev
2169ef146b update allocation error messages 2009-11-15 09:03:08 +00:00
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