Commit graph

2032 commits

Author SHA1 Message Date
Igor Sysoev
bab6e29561 default error_log has zero level, the bug has been introduced in r2447 2009-01-26 14:11:09 +00:00
Igor Sysoev
464ac78d5a fix slab page or more sized allocations if nginx was build without debug 2009-01-25 10:39:59 +00:00
Igor Sysoev
e450e80f87 fix fastcgi_store 2009-01-21 20:54:40 +00:00
Igor Sysoev
8116838349 use GetFileAttributesEx() instead of GetFileAttributes() 2009-01-21 15:56:29 +00:00
Igor Sysoev
7f44d1b571 fix win32 ngx_is_dir(), etc 2009-01-21 15:53:09 +00:00
Igor Sysoev
1bcb862a85 test ngx_file_info() result, the bug has been introduced in r2070 2009-01-21 15:50:52 +00:00
Igor Sysoev
2e27bdaad0 fix r1981 on win32 2009-01-21 14:17:57 +00:00
Igor Sysoev
0b142d5bca allow directories in try_files 2009-01-21 12:11:22 +00:00
Igor Sysoev
5fdf1cbda6 fix segfault when geo range replaces starting part of another range 2009-01-19 16:42:14 +00:00
Igor Sysoev
fed232be37 bump version 2009-01-19 16:37:22 +00:00
Igor Sysoev
bd6cc5e1f8 try_files should work with files only 2009-01-19 11:24:25 +00:00
Igor Sysoev
80165f6e52 allow insertion range if its start or end is the same as existent one 2009-01-16 16:29:23 +00:00
Igor Sysoev
c0e75cbf02 fix single address range 2009-01-16 16:09:58 +00:00
Igor Sysoev
9edc91be02 fix range deletion 2009-01-16 16:02:30 +00:00
Igor Sysoev
159ae653ce repeat r2448 for range deletion 2009-01-16 15:58:27 +00:00
Igor Sysoev
9c46f3cfa4 log both overrlaped ranges 2009-01-16 15:47:05 +00:00
Igor Sysoev
7f5f76440b fix range start for ranges those spread in two or more slots 2009-01-16 15:44:39 +00:00
Igor Sysoev
a188821842 set the error level as default http error_log level 2009-01-16 14:00:05 +00:00
Igor Sysoev
9663e72c13 proxy/fastcgi_store did not delete incomplete files 2009-01-16 13:57:00 +00:00
Igor Sysoev
94c95eff08 set r->root_tested for non-error_page response only 2009-01-16 13:53:08 +00:00
Igor Sysoev
29b8c38220 fastcgi_split_path_info 2009-01-16 13:21:20 +00:00
Igor Sysoev
64cbbf0e71 *) fix duplicate geo ranges
*) split existent range and insert a new one
2009-01-16 13:17:12 +00:00
Igor Sysoev
a615a1a325 in miss case memcached module returned END instead of default 404 page body
the bug has been introduced in r2269
2009-01-15 13:10:45 +00:00
Igor Sysoev
f1156d66ac update r2439: make clear name 2009-01-13 06:47:29 +00:00
Igor Sysoev
f4f6326b8d fix r2312 2009-01-12 15:40:26 +00:00
Igor Sysoev
c7426c7260 style fix 2009-01-12 15:36:30 +00:00
Igor Sysoev
c29ea4c4d7 send "100 Continue" just before reading request body 2008-12-26 13:43:42 +00:00
Igor Sysoev
3602e5b031 do not send "100 Continue" for subrequests 2008-12-26 06:21:23 +00:00
Igor Sysoev
e612c04768 set send() slot for POSIX systems 2008-12-25 20:07:12 +00:00
Igor Sysoev
9f4f739350 bump version 2008-12-25 20:06:26 +00:00
Igor Sysoev
a7748055c2 fix segfault, introduced in r2423 2008-12-24 16:18:35 +00:00
Igor Sysoev
1076a34213 bump version 2008-12-24 15:54:21 +00:00
Igor Sysoev
42a733743f fix r2378, file inclusion should be waited 2008-12-24 12:39:41 +00:00
Igor Sysoev
301a2a20f1 do not try to align to a page size, allocate just 8K,
this is fixes allocation on Cygwin, it reports 64K page size
2008-12-24 12:05:55 +00:00
Igor Sysoev
bf647d7676 flush variable values in try_files 2008-12-24 07:14:01 +00:00
Igor Sysoev
364480ea05 update r2422 2008-12-24 06:11:04 +00:00
Igor Sysoev
e92388098d variable support for unix sockets in fastcgi_pass and proxy_pass 2008-12-23 19:35:12 +00:00
Igor Sysoev
7a283133e2 fix r2378, do not activate subrequest if there are already
postponed subrequests or data
2008-12-23 17:25:46 +00:00
Igor Sysoev
51cd8f1ded fix the previous commit 2008-12-23 08:10:17 +00:00
Igor Sysoev
1271a65a70 send "100 Continue" for HTTP/1.1 only 2008-12-22 15:44:13 +00:00
Igor Sysoev
b8f5ad624b bump version 2008-12-22 15:40:12 +00:00
Igor Sysoev
6c27e28e62 ngx_http_arg() 2008-12-22 12:02:05 +00:00
Igor Sysoev
285a8f4f83 remove never used zero copy stuff 2008-12-17 20:47:18 +00:00
Igor Sysoev
5be2e142f5 fix segfault 2008-12-17 16:07:58 +00:00
Igor Sysoev
c4d029f7d6 set default gzip_buffers to 32 4k or 16 8k 2008-12-16 16:15:52 +00:00
Igor Sysoev
726732cb89 bump version 2008-12-16 16:12:31 +00:00
Igor Sysoev
b0bbef9718 postpone zlib memory allocation 2008-12-16 16:09:39 +00:00
Igor Sysoev
f7ccdc3fe8 try_files 2008-12-15 10:56:48 +00:00
Igor Sysoev
2818ed6b60 do not add header if add_header "" 2008-12-15 10:50:57 +00:00
Igor Sysoev
15c0371993 remove seldom used variable 2008-12-12 16:40:12 +00:00
Igor Sysoev
8b19767c71 fix segfault if no named location are defined, but are used 2008-12-11 17:32:52 +00:00
Igor Sysoev
818876f689 fix zero length static response, the bug was introduced in r2378 2008-12-11 15:57:14 +00:00
Igor Sysoev
0c83b2cade $upstream_response_length 2008-12-11 15:30:52 +00:00
Igor Sysoev
530bc73c15 style fix: remove tabs 2008-12-11 10:22:25 +00:00
Igor Sysoev
2c47c83eb8 allow "~", "~*", "^~", and "=" before location name without space 2008-12-11 10:21:08 +00:00
Igor Sysoev
96dc6754be $geo variable support 2008-12-11 09:46:45 +00:00
Igor Sysoev
0945904292 remove before nginx-0.1.25 compatibility code 2008-12-11 07:48:48 +00:00
Igor Sysoev
887fc26511 fix r2394 2008-12-11 06:38:14 +00:00
Igor Sysoev
0878824edc test port in fastcgi_pass variable 2008-12-10 16:25:14 +00:00
Igor Sysoev
20dd3ab867 clear fastcgi ctx for internal redirection via named location 2008-12-10 16:16:10 +00:00
Igor Sysoev
b575b6efd5 use ngx_ext_rename_file() for single file MOVE 2008-12-10 14:53:45 +00:00
Igor Sysoev
a7a62b5f74 fix debug logging 2008-12-10 14:48:04 +00:00
Igor Sysoev
4936b13fdf change variable name 2008-12-10 14:46:34 +00:00
Igor Sysoev
bd262e4954 delete surplus upstream.schema field 2008-12-10 14:44:48 +00:00
Igor Sysoev
be40e7b1e8 fastcgi_pass variables support 2008-12-10 14:22:07 +00:00
Igor Sysoev
89d5a602d7 compact win32 errno logging 2008-12-09 17:41:17 +00:00
Igor Sysoev
8e7faf90f4 use "!= NGX_OK" instead of "== NGX_ERROR" 2008-12-09 17:27:48 +00:00
Igor Sysoev
c65a71a1f8 remove stale pragma 2008-12-09 17:26:42 +00:00
Igor Sysoev
8138575bdd use already available r and u instead of ev 2008-12-09 17:25:03 +00:00
Igor Sysoev
4670baab4f delete unneeded call 2008-12-09 16:49:52 +00:00
Igor Sysoev
8ee817edaf bump version 2008-12-09 11:13:12 +00:00
Igor Sysoev
77917e966f fix r2378, run posted requests after upstream event handling 2008-12-08 18:28:06 +00:00
Igor Sysoev
a2d1a1e0dd bump version 2008-12-08 17:59:43 +00:00
Igor Sysoev
0862068332 *) refactor subrequest handling, now they run as separate posted requests
*) now $upstream_addr, $upstream_status, $upstream_response_time can be used
   with log_subrequest
2008-12-08 14:23:20 +00:00
Igor Sysoev
90cf67bebd *) add zone name while logging 503 error reason
*) log allocation error as 503 error reason
2008-12-08 14:18:06 +00:00
Igor Sysoev
c539195e18 update comment 2008-12-08 14:15:19 +00:00
Igor Sysoev
ec6863151c rename "lz" to "lr" in variable names 2008-12-08 14:13:36 +00:00
Igor Sysoev
0c190514c6 log 503 error reason 2008-12-08 14:12:29 +00:00
Igor Sysoev
8d6a2ade43 test duplicate limit_conn 2008-12-08 14:08:44 +00:00
Igor Sysoev
63b40c7f68 skip protected symlinks in autoindex 2008-12-08 14:05:21 +00:00
Igor Sysoev
c7c815200b allow POST without Content-Length 2008-12-08 14:04:31 +00:00
Igor Sysoev
b60c788cd7 fix comment 2008-12-02 16:50:56 +00:00
Igor Sysoev
d2a86ccd09 fix "delete CIDR" 2008-12-02 15:02:36 +00:00
Igor Sysoev
c0fe90885e bump version 2008-12-02 14:59:14 +00:00
Igor Sysoev
383884aa85 if_modified_since 2008-12-01 14:22:51 +00:00
Igor Sysoev
12657ffe6f read and process upstream header in cycle,
this fixes the case when local FastCGI server sends many warnings in stderr
2008-12-01 14:08:00 +00:00
Igor Sysoev
ce6e845715 $cookie_... variable did not for SSI and perl 2008-12-01 13:59:35 +00:00
Igor Sysoev
8013eba125 create empty radix tree for "geo $geo { }" case 2008-11-28 17:22:35 +00:00
Igor Sysoev
80563412b8 bump version 2008-11-28 17:22:06 +00:00
Igor Sysoev
f2c7d8e0f8 *) descrease geo configuration memory usage
*) geo delete
*) geo ranges
2008-11-25 15:59:06 +00:00
Igor Sysoev
ad88b84e35 allocate cf->conf_file and cf->conf_file->buffer on stack 2008-11-25 15:55:10 +00:00
Igor Sysoev
4a47126295 fix segfault on close error 2008-11-25 14:45:44 +00:00
Igor Sysoev
00b187ec16 ngx_reset_pool() 2008-11-25 14:25:20 +00:00
Igor Sysoev
c5d64f7af9 *) increase ngx_conf_log_error() buffer
*) always log an error code
2008-11-25 13:00:53 +00:00
Igor Sysoev
6e282a8ddd ngx_strerror_r() style and size == 0 bug fix 2008-11-25 11:26:32 +00:00
Igor Sysoev
c3c89d5d45 use value rbtree instead of array in geo configuration 2008-11-22 20:42:51 +00:00
Igor Sysoev
997b3dbc72 variable value rbtree support 2008-11-22 20:42:01 +00:00
Igor Sysoev
60a1004e28 bump version 2008-11-22 20:38:45 +00:00
Igor Sysoev
79001f998d allow directio on XFS 2008-11-20 16:21:39 +00:00
Igor Sysoev
760972dc88 low some SSL handshake errors level 2008-11-18 16:05:00 +00:00
Igor Sysoev
1a70105b21 fix compression pointer for big (>255) DNS responses 2008-11-17 08:04:41 +00:00
Igor Sysoev
08d310387d use integer instead of float 2008-11-14 13:25:44 +00:00
Igor Sysoev
896dcfa400 change rate to an excess 2008-11-14 11:32:03 +00:00
Igor Sysoev
64ef84df90 do not close session if SMTP backend returned an error on RCPT TO
patch by Maxim Dounin
2008-11-13 14:20:54 +00:00
Igor Sysoev
6035577742 remove unused field 2008-11-13 13:30:34 +00:00
Igor Sysoev
91e1deb99d smtp_auth none
patch by Maxim Dounin
2008-11-13 13:25:34 +00:00
Igor Sysoev
8fcf6bbce6 memcached response was stored in variable with END 2008-11-12 21:01:01 +00:00
Igor Sysoev
dbea16d385 $cookie_... variable 2008-11-12 11:12:02 +00:00
Igor Sysoev
daef2021e4 bump version 2008-11-12 10:48:27 +00:00
Igor Sysoev
80eb85f4be the sysctl "kern.ostype" and "kern.osrelease" had appeared in MacOSX 10.5 only 2008-11-11 19:44:30 +00:00
Igor Sysoev
96dfdc49a6 compatibility with glibc 2.3, warn_unused_result attribute for write() 2008-11-11 16:17:45 +00:00
Igor Sysoev
dfaf3823d7 style fix: remove trailing spaces 2008-11-11 16:04:05 +00:00
Igor Sysoev
5dd3ec54de *) correct leaky bucket implementation
*) now burst is not per second
*) remove delay= parameter
*) add nodelay parameter
2008-11-11 15:38:16 +00:00
Igor Sysoev
fea52523b7 exslt support 2008-11-11 15:22:24 +00:00
Igor Sysoev
0bcb5c5e59 bump version 2008-11-10 18:34:24 +00:00
Igor Sysoev
cd0e6e18e1 fix r2067 2008-11-10 15:25:11 +00:00
Igor Sysoev
539cd0dad6 ngx_http_limit_req_module 2008-11-10 15:22:33 +00:00
Igor Sysoev
6df4eaaf88 %f format 2008-11-10 15:20:59 +00:00
Igor Sysoev
644029fa74 fix the previous commit 2008-11-06 19:54:54 +00:00
Igor Sysoev
08743f897c *) split ngx_http_gzip_body_filter()
*) send gzheader together with the filter's first output
2008-11-06 19:13:47 +00:00
Igor Sysoev
bfb4833f35 change int to size_t 2008-11-06 19:11:19 +00:00
Igor Sysoev
476eddc439 align first allocation from additional pool block, this fixes bus error on sun4v 2008-11-06 16:14:24 +00:00
Igor Sysoev
2959de23f8 do not pass gzheader separately as due to the previous commit
we do not use ctx->busy as flush condition
2008-11-05 16:27:45 +00:00
Igor Sysoev
1894b45be8 use nomem flag to flush busy bufs,
thus gzip filter does not depend on NGX_AGAIN return code
2008-11-05 15:46:41 +00:00
Igor Sysoev
ebf25e6fa4 fix r1913 2008-10-30 15:59:10 +00:00
Igor Sysoev
39c8f46741 fix case proxy_pass URL is evaluted to http://host?args 2008-10-24 19:34:24 +00:00
Igor Sysoev
f8ec8752a6 fix case when URL has no port, but has ":" in URI part,
the bug has been introduced in r2204
2008-10-24 15:12:11 +00:00
Igor Sysoev
d7354d3695 show name for a FORMERR DNS response 2008-10-24 14:38:09 +00:00
Igor Sysoev
ee1be262b3 FORMERR DNS response may be equal to mininal query size 2008-10-24 14:34:10 +00:00
Igor Sysoev
f67453d7d1 always use buffer, if connection is buffered,
this fixes OpenSSL "bad write retry" error, when
*) nginx passed a single buf greater than our buffer (say 32K) to OpenSSL,
*) OpenSSL returns SSL_ERROR_WANT_WRITE,
*) after some time nginx has to send a new data,
*) so there are at least two bufs nginx does pass them directly to OpenSSL,
*) but copies the first buf part to buffer, and sends the buffer to OpenSSL.
*) because the data length is lesser than it was in previous SSL_write():
   16K < 32K, OpenSSL returns SSL_R_BAD_WRITE_RETRY.
2008-10-23 05:58:10 +00:00
Igor Sysoev
8106a74d7c allow short secure links 2008-10-21 12:33:23 +00:00
Igor Sysoev
2f353eb47c fix server_addr value known from configuration, bug introduced in r2199 2008-10-17 12:36:48 +00:00
Igor Sysoev
c021c4315d NGX_OPEN_FILE_DIRECTIO_OFF 2008-10-16 13:31:00 +00:00
Igor Sysoev
ed4d05926a bump version 2008-10-16 13:20:47 +00:00
Igor Sysoev
8bcd5ce3d5 bump version 2008-10-13 13:23:18 +00:00
Igor Sysoev
f07fa18f25 do not set "Transfer-Encoding: chunked" for HEAD requests 2008-10-02 15:40:01 +00:00
Igor Sysoev
517ae5d12e fix r2122:
*) update file buf pointers,
*) avoid "zero buf" alert
2008-10-02 15:38:26 +00:00
Igor Sysoev
c2646477f2 *) ngx_http_upstream_test_next()
*) add proxy_next_upstream http_502 and http_504
*) fix http_503
2008-09-30 15:39:02 +00:00
Igor Sysoev
625381a2c1 ngx_http_upstream_intercept_errors() 2008-09-30 14:57:09 +00:00
Igor Sysoev
21f6b381fc back out $random_index variable 2008-09-30 13:17:14 +00:00
Igor Sysoev
2a7898e6a6 refactor log_subrequest 2008-09-29 13:18:41 +00:00
Igor Sysoev
a06848d177 update log_subrequest 2008-09-29 07:12:04 +00:00
Igor Sysoev
fe26464ceb disable $realpath_root variable in a "root" directive 2008-09-29 04:47:22 +00:00
Igor Sysoev
f78f3f7b14 fix the previous commit 2008-09-29 04:46:21 +00:00
Igor Sysoev
91f4425234 *) log_subrequest
*) flush variables in access log
2008-09-27 15:08:02 +00:00
Igor Sysoev
0f602f0f3a ngx_http_secure_link_module 2008-09-27 13:22:10 +00:00
Igor Sysoev
7bd0e4f5ab $realpath_root 2008-09-27 11:53:41 +00:00
Igor Sysoev
e6d048635d $random_index variable 2008-09-27 11:48:28 +00:00
Igor Sysoev
866354a7e1 real_ip_header supports any header 2008-09-25 19:51:56 +00:00
Igor Sysoev
64cfd2ead9 underscores_in_headers 2008-09-24 14:02:50 +00:00
Igor Sysoev
0bc18748a1 dynamic accept threshold 2008-09-19 12:47:13 +00:00
Igor Sysoev
abf2c011ff fix grammar 2008-09-17 08:03:58 +00:00
Igor Sysoev
fe6ecb318d bump version 2008-09-15 17:10:23 +00:00
Igor Sysoev
c0507a61d3 set request handlers, this fixes complex proxied 400 handler with SSI includes 2008-09-15 16:44:37 +00:00
Igor Sysoev
d07d1a257f $pid 2008-09-15 16:41:08 +00:00
Igor Sysoev
6b71af298f disable directio for unaligned reads in Linux 2008-09-12 13:50:12 +00:00
Igor Sysoev
7d2930d1fa disable directio for access_log with variables 2008-09-12 13:44:10 +00:00
Igor Sysoev
7fe348df8f cache directio flag in open file cache 2008-09-12 13:39:51 +00:00
Igor Sysoev
6a38a40700 add filename to the log message 2008-09-11 15:52:11 +00:00
Igor Sysoev
066c84ada7 strip charset name quotes 2008-09-09 11:58:45 +00:00
Igor Sysoev
b8e08f06e7 bump version 2008-09-08 09:49:22 +00:00
Igor Sysoev
a6f85e84d4 fix building on 64-bit platforms, introduced in r2232 2008-09-08 09:33:37 +00:00
Igor Sysoev
e13db0c3ee bump version 2008-09-08 08:47:00 +00:00
Igor Sysoev
259fc2cfed allow underscores in client request header lines 2008-09-08 08:26:42 +00:00
Igor Sysoev
b99e5f6c2e ngx_http_random_index_module 2008-09-05 15:45:55 +00:00
Igor Sysoev
4c972fac9d *) autoconfigure struct dirent capabilities
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and
   delete src/os/.../ngx_types.h
2008-09-05 15:43:34 +00:00
Igor Sysoev
6d9843a4f1 remove unused #include's 2008-09-05 15:25:47 +00:00
Igor Sysoev
3aa7950789 style fix 2008-09-05 14:53:17 +00:00
Igor Sysoev
7e50cdf90d *) handle unaligned file part for directio
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
ef78cf29da split ngx_output_chain() 2008-09-03 10:01:29 +00:00
Igor Sysoev
5507c4b070 bump version 2008-09-01 15:44:57 +00:00
Igor Sysoev
956a1735ca fix building by msvc introduced in r2223 2008-09-01 15:17:54 +00:00
Igor Sysoev
1a3f82e132 escape a query string characters taken from URI while rewrite 2008-09-01 14:43:38 +00:00
Igor Sysoev
85951d5d72 *) listen ssl
*) no default ssl_cetificate and ssl_cetificate_key
2008-09-01 14:19:01 +00:00
Igor Sysoev
4bb5fe37a8 style fix: remove tabs and trailing spaces 2008-09-01 14:05:20 +00:00
Igor Sysoev
0dde4c40f7 test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bug 2008-09-01 13:59:11 +00:00
Igor Sysoev
6c282650f4 use ngx_pmemalign() to allocate radix pages 2008-09-01 13:52:55 +00:00
Igor Sysoev
865600609c ngx_timezone_update() 2008-08-30 19:52:07 +00:00
Igor Sysoev
01355945ea set listen configuration to default server,
this fixes the case, when default server is not the first one
2008-08-29 13:43:38 +00:00
Igor Sysoev
4a5a87868b remove unused debug log 2008-08-27 13:26:35 +00:00
Igor Sysoev
9533401ca5 quoted too long parameter error 2008-08-27 12:19:07 +00:00
Igor Sysoev
c5ae410655 too long parameter error 2008-08-26 21:10:20 +00:00
Igor Sysoev
1e9fff8c6d remove never used macro 2008-08-26 21:05:59 +00:00
Igor Sysoev
d976439aaf fix types 2008-08-26 21:04:06 +00:00
Igor Sysoev
0fb7f889e1 bump version 2008-08-26 17:23:27 +00:00
Igor Sysoev
0f05c9f143 fix build on Linux and Solaris introduced in r2200 2008-08-26 17:15:11 +00:00
Igor Sysoev
c9e43df8f1 bump version 2008-08-26 16:23:14 +00:00
Igor Sysoev
c6aff78786 fix bugs introduced in r2204 2008-08-26 16:11:30 +00:00
Igor Sysoev
d7d96c3c6d gzip_disable msie6 2008-08-26 15:09:28 +00:00
Igor Sysoev
a9b2c85779 fix divide by zero if max_fails=0 2008-08-26 14:34:16 +00:00
Igor Sysoev
92a5ac81cf *) refactor ngx_parse_inet_url()
*) refactor ngx_parse_unix_domain_url()
*) delete unused ngx_url_t fields
2008-08-26 14:24:14 +00:00
Igor Sysoev
5bc7d0ead2 *) refactor ngx_ptocidr()
*) allow address without bitmask
*) thus now ngx_http_geo_module accepts addresses without bitmask
2008-08-26 14:19:37 +00:00
Igor Sysoev
06bf61981c ngx_strlchr() 2008-08-26 14:16:36 +00:00
Igor Sysoev
6b91bca1d7 split ngx_parse_url() 2008-08-22 13:36:56 +00:00
Igor Sysoev
75fedd3812 fix building on FreeBSD prior to 4.8, it has no GLOB_NOMATCH 2008-08-22 12:54:32 +00:00
Igor Sysoev
f60b7174b1 ngx_sock_ntop() takes family from sockaddr, remove duplicate field 2008-08-21 19:24:07 +00:00
Igor Sysoev
95cf37a78f *) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop()
   as they are called just once per connection
*) NGX_INET_ADDRSTRLEN
2008-08-21 18:47:23 +00:00
Igor Sysoev
77d136e981 call ngx_http_xslt_filter_exit() 2008-08-21 18:21:40 +00:00
Igor Sysoev
8a825218e5 server_name "" support 2008-08-21 12:56:10 +00:00
Igor Sysoev
f2376c950d fix $r->header_in() for "User-Agent", "Connection", and "Host"
broken in r2005, r2006, and r2008.
2008-08-19 19:40:45 +00:00
Igor Sysoev
646af391c9 leave HEAD method while error_page redirection 2008-08-19 18:55:46 +00:00
Igor Sysoev
c403214b13 do not discard body while error_page redirection 2008-08-19 12:23:18 +00:00
Igor Sysoev
f996fa8332 bump version 2008-08-18 14:29:57 +00:00
Igor Sysoev
88e23c207d remove text/css from default charset_types
as it does not usually require recoding
2008-08-18 13:38:17 +00:00
Igor Sysoev
254b8310be *) regex match must return NGX_OK to stop regex searching,
this fixes inclusive regex location
*) change NGX_HTTP_INTERNAL_SERVER_ERROR to NGX_ERROR
2008-08-17 18:02:55 +00:00
Igor Sysoev
00b8dd8287 fix noregex for inclusive locations 2008-08-17 17:58:16 +00:00
Igor Sysoev
3472513983 proxy_ssl_session_reuse 2008-08-17 17:47:52 +00:00
Igor Sysoev
2a671cd3a1 disable original URI usage in proxy_pass after X-Accel-Redirect 2008-08-17 17:44:08 +00:00
Igor Sysoev
23588587df allow file existence test for POST requests in static module 2008-08-17 17:42:42 +00:00
Igor Sysoev
84f3bd312a ignore NGX_EACCES error while directory test 2008-08-17 17:38:48 +00:00
Igor Sysoev
f1e566ff19 fix log message 2008-08-15 20:14:49 +00:00
Igor Sysoev
4abe8c6d51 bump version 2008-08-13 16:59:16 +00:00
Igor Sysoev
8c7975d2ad restore connection address on request closure,
this fixes the issue when a frontend before nginx sends various client
connections via keepalive connection to nginx
2008-08-13 16:31:01 +00:00
Igor Sysoev
2776f9114a *) fix segfaults in types hash
*) fix inheritance: default hash instead of inherited one
2008-08-13 16:25:48 +00:00
Igor Sysoev
7da3929235 disable error_page loop in 500 error when recursive errors are enabled 2008-08-13 09:00:13 +00:00
Igor Sysoev
4b6d704dc5 bump version 2008-08-12 15:46:34 +00:00
Igor Sysoev
91e04b5d2c fix the case when unset domain.tld was matched by *.domain.tld 2008-08-12 15:28:19 +00:00
Igor Sysoev
c2eec199ec *) charset_types
*) change of default charset types
*) addition_types
2008-08-12 13:17:08 +00:00
Igor Sysoev
03a9d6b399 use hash in gzip_types, ssi_types, and sub_filter_types 2008-08-12 13:11:36 +00:00
Igor Sysoev
b0dc32eec3 backout both r2162 and r2128 and implement a new fix 2008-08-12 12:04:49 +00:00
Igor Sysoev
be76a05b53 check daily time range 2008-08-11 17:50:37 +00:00
Igor Sysoev
545e30b14e expires daily time 2008-08-11 15:28:35 +00:00
Igor Sysoev
41d59b59bd ngx_next_time() 2008-08-11 15:28:15 +00:00
Igor Sysoev
5eb3a4f909 SSL connection readiness is required for level-triggered events only,
broken in r2128
2008-08-11 15:25:40 +00:00
Igor Sysoev
2ec5d3dbe8 consider log_not_found while testing index files 2008-08-11 15:22:40 +00:00
Igor Sysoev
7ef4a7af61 clear Last-Modified; set content-type and length for main request only 2008-08-06 13:18:57 +00:00
Igor Sysoev
416dd28ddc disable ranges, because xslt filter runs after range body filter 2008-08-06 09:38:34 +00:00
Igor Sysoev
b9b9499840 ngx_cpp_test_module 2008-08-05 19:32:50 +00:00
Igor Sysoev
b467cb72b2 reuse compiled DTD hash in different locations, add DTD cleanup 2008-08-05 19:05:15 +00:00
Igor Sysoev
a8c8cfd097 update debug logging 2008-08-05 15:19:21 +00:00
Igor Sysoev
94c55307bc reuse compiled XSLT tree in different locations 2008-08-05 14:27:49 +00:00
Igor Sysoev
ce6a5a9447 xsl:output's media-type and encoding support 2008-08-05 14:24:16 +00:00
Igor Sysoev
618fc44383 we do not need dtd->name 2008-08-05 13:08:35 +00:00
Igor Sysoev
97264f520e xslt_stylesheet should be valid for location only 2008-08-05 13:07:42 +00:00
Igor Sysoev
1490aa1577 fix xslt module context levels 2008-08-05 06:21:15 +00:00
Igor Sysoev
963e96e078 update debug logging 2008-08-04 21:51:36 +00:00
Igor Sysoev
4ec2c572cb style fix 2008-08-04 20:25:51 +00:00
Igor Sysoev
ca64d981f8 fix building by bcc broken in r2143 2008-08-04 20:23:21 +00:00
Igor Sysoev
f239450073 bump version 2008-08-04 16:45:52 +00:00
Igor Sysoev
046c266abc Solaris directio() 2008-08-04 15:32:10 +00:00
Igor Sysoev
8f1faed1d4 fix building by msvc8 introduced in r2127 2008-08-04 14:56:25 +00:00
Igor Sysoev
107ef081fc if upstream sent a location header without status use 302 2008-08-04 14:53:16 +00:00
Igor Sysoev
99dbc09d5b ngx_http_xslt_filter_module 2008-08-04 14:48:15 +00:00
Igor Sysoev
41a9c12b44 test Content-Type via hash:
*) ngx_http_test_content_type()
*) ngx_http_types_slot()
*) ngx_http_merge_types()
2008-08-04 11:29:09 +00:00
Igor Sysoev
97562db601 $arg_... variable 2008-08-04 11:10:52 +00:00
Igor Sysoev
488629350b ngx_hash_strlow() 2008-08-04 10:18:36 +00:00
Igor Sysoev
7648ef4763 ngx_strlow() 2008-08-04 10:07:00 +00:00
Igor Sysoev
9c32f5b9c3 fix building by bcc broken in r2130 2008-08-04 09:14:30 +00:00
Igor Sysoev
e857ecd7df fix conflicting names "true" and "false" 2008-07-31 07:55:46 +00:00
Igor Sysoev
524a1575b1 bump version 2008-07-30 13:38:49 +00:00