Commit Graph

880 Commits

Author SHA1 Message Date
Igor Sysoev
385af28642 directio 2008-07-30 12:34:04 +00:00
Igor Sysoev
a089857143 rename ngx_utf_...() to ngx_utf8_...() 2008-07-29 14:41:34 +00:00
Igor Sysoev
4c756c46cd fix typo 2008-07-29 14:31:03 +00:00
Igor Sysoev
49ed6f3eec *) ssl_verify_client ask
*) test ssl_client_certificate for ssl_verify_client
*) $ssl_client_cert adds TAB before each line except first one
*) $ssl_client_raw_cert contains certificate as is
2008-07-29 14:29:02 +00:00
Igor Sysoev
88634bf06b allow range for partial flv response 2008-07-29 13:58:56 +00:00
Igor Sysoev
4a1b032901 support several buf's for single-part range
patch by Maxim Dounin
2008-07-29 13:58:13 +00:00
Igor Sysoev
96eaa05fd2 fix utf-8 names in autoindex 2008-07-25 14:29:05 +00:00
Igor Sysoev
6df67879a0 fix ranges without Content-Type 2008-07-23 16:30:42 +00:00
Igor Sysoev
c6742cff8e split ngx_http_range_filter_module 2008-07-23 16:18:37 +00:00
Igor Sysoev
82911ceb0c bump version 2008-07-07 12:19:57 +00:00
Igor Sysoev
edf1c8c1b8 always test root existence for access_log with variables 2008-07-07 09:26:13 +00:00
Igor Sysoev
4f677fd203 allow several values in query string 2008-07-04 12:59:53 +00:00
Igor Sysoev
0ac3516a02 bump version 2008-07-01 07:38:28 +00:00
Igor Sysoev
06d2147139 NULL script in default access_log 2008-07-01 06:26:48 +00:00
Igor Sysoev
098ac90bc8 fix error when response parsed by sub filter, then by SSI filter
and some response parts are output as file buffers
2008-06-30 19:10:06 +00:00
Igor Sysoev
0da6d2f675 fix variable access_log merging 2008-06-30 15:51:28 +00:00
Igor Sysoev
504efffca8 fix error message 2008-06-30 15:32:57 +00:00
Igor Sysoev
4cb276ae21 bump version 2008-06-30 12:46:40 +00:00
Igor Sysoev
b882154636 variables in access_log 2008-06-30 12:27:24 +00:00
Igor Sysoev
5a0eac8692 ngx_memzero() ngx_open_file_info_t 2008-06-26 14:07:59 +00:00
Igor Sysoev
1e1f4c8a04 the "Expect" header support 2008-06-26 13:00:39 +00:00
Igor Sysoev
3e6f74da05 initialize of.uniq in ngx_open_cached_file() 2008-06-23 13:35:34 +00:00
Igor Sysoev
f2a1484347 change useless ngx_pcalloc() to ngx_pnalloc() 2008-06-23 12:27:03 +00:00
Igor Sysoev
96a1ea9d22 bump version 2008-06-23 10:50:18 +00:00
Igor Sysoev
0b5e77f416 auto detect https redirect in rewrite 2008-06-20 14:48:28 +00:00
Igor Sysoev
c49ed61376 "gzip_vary on" always sends "Vary: Accept-Encoding" header 2008-06-20 14:41:03 +00:00
Igor Sysoev
77c287f35d disable charset if there is "Content-Encoding" header 2008-06-20 14:33:36 +00:00
Igor Sysoev
7f6b2ffc60 *) back out r2040
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
2008-06-17 15:00:30 +00:00
Igor Sysoev
c2eb2cf4cb bump version 2008-06-16 09:11:12 +00:00
Igor Sysoev
81f9c9dc72 $ssl_client_cert 2008-06-16 05:54:18 +00:00
Igor Sysoev
df83e6f81a DH parameters, ssl_dhparam 2008-06-16 05:51:32 +00:00
Igor Sysoev
a5bf33601b style fix 2008-05-28 12:27:08 +00:00
Igor Sysoev
626cd7e7be add args in redirect to a directory 2008-05-26 18:57:43 +00:00
Igor Sysoev
2ae6727da7 fix error log message 2008-05-26 10:54:59 +00:00
Igor Sysoev
9b1fe56148 bump version 2008-05-26 09:54:17 +00:00
Igor Sysoev
d6548faf64 ssl_session_cache none 2008-05-26 07:14:13 +00:00
Igor Sysoev
7a0e5d97b6 remove directives deprecated in 0.3.x 2008-05-24 15:48:50 +00:00
Igor Sysoev
e55988c069 locations tree 2008-05-24 14:14:13 +00:00
Igor Sysoev
3b30476068 style fix 2008-05-22 12:09:41 +00:00
Igor Sysoev
f9d923e5fe bump version 2008-05-19 10:45:57 +00:00
Igor Sysoev
f1e58930c8 expires modified 2008-05-16 15:18:50 +00:00
Igor Sysoev
69988d1162 $uid_got and $uid_set may used at any time 2008-05-16 15:03:37 +00:00
Igor Sysoev
5f3521cf4f escape 0x00-0x1f, ", and \ in access log variables 2008-05-15 15:09:39 +00:00
Igor Sysoev
5fd0931a61 *) host in request line has priority
*) allow several Host headers
*) validate host
2008-05-15 14:44:47 +00:00
Igor Sysoev
c11582a983 bump version 2008-05-12 10:08:28 +00:00
Igor Sysoev
ca1bed390d fix error introduced in r1273 and r1275:
nginx did not process FastCGI response if header was at end of FastCGI record
2008-05-08 09:53:22 +00:00
Igor Sysoev
1cd3b0c3db bump version 2008-04-29 12:44:47 +00:00
Igor Sysoev
175d9a277e reset looked at match 2008-04-29 06:15:56 +00:00
Igor Sysoev
51e966cedc bump version 2008-03-18 14:51:09 +00:00
Igor Sysoev
37cc29a405 some perl builds require my_perl for PERL_SYS_TERM() 2008-03-17 08:58:07 +00:00
Igor Sysoev
d8623fc535 fastcgi params debug logging 2008-03-16 18:03:10 +00:00
Igor Sysoev
430db103f6 speed up ngx_http_charset_recode() for 25%: google-perftools reported
that CPU usage of charset body filter has decreased from 7.5% to 5.5%
if gzipping is disabled
2008-03-16 16:52:15 +00:00
Igor Sysoev
a616ef77e2 style fix 2008-03-14 12:31:20 +00:00
Igor Sysoev
cbed526049 fix building on 64-bit platforms broken in r1900 2008-03-13 15:48:36 +00:00
Igor Sysoev
8227959668 bump version 2008-03-13 06:39:00 +00:00
Igor Sysoev
8ce6b25201 bump version 2008-03-12 13:37:29 +00:00
Igor Sysoev
2061259612 non cacheable $proxy_host and $proxy_port 2008-03-11 14:10:11 +00:00
Igor Sysoev
8efe926dc5 fix r1903 2008-03-03 20:04:06 +00:00
Igor Sysoev
34cec29e0c C++ compatibility 2008-03-03 16:32:16 +00:00
Igor Sysoev
7c15b75cc7 fix memory leak in long-lived non buffered connections 2008-03-03 10:42:00 +00:00
Igor Sysoev
5fe93ee95f pass additional arguments in ngx_http_perl_call_handler() as SV 2008-02-16 14:29:44 +00:00
Igor Sysoev
85a5281be9 fix previous commit 2008-02-16 14:24:43 +00:00
Igor Sysoev
0a0c02f58b optimize $r->sleep 2008-02-16 14:23:14 +00:00
Igor Sysoev
0f2e924428 delete unneeded dXSTARG 2008-02-15 13:57:55 +00:00
Igor Sysoev
ca876e1a7f fix segfault if empty stub block is used second time 2008-02-14 16:03:48 +00:00
Igor Sysoev
2a6c4466ee bump version 2008-02-11 15:27:44 +00:00
Igor Sysoev
c2e854e198 add X-Accel-Charset to ingored header, fix X-Accel-Buffering 2008-02-11 14:02:28 +00:00
Igor Sysoev
d173a14619 fix order 2008-02-07 10:45:04 +00:00
Igor Sysoev
f2aab81323 fix order 2008-02-07 10:43:45 +00:00
Igor Sysoev
fa0d3e1a10 fix building by msvc introduced in r1817 2008-01-22 15:16:38 +00:00
Igor Sysoev
1d73cf13f0 bump version 2008-01-08 13:05:18 +00:00
Igor Sysoev
b0fcbefb5d style fix: remove trailing space 2008-01-08 11:33:14 +00:00
Igor Sysoev
f53c2a00f8 ngx_http_gzip_static_module should DECLINE request 2008-01-08 10:35:50 +00:00
Igor Sysoev
67913781fc fix comment 2008-01-05 19:07:10 +00:00
Igor Sysoev
81922511ae use ngx_ext_rename_file() in PUT 2008-01-03 22:18:21 +00:00
Igor Sysoev
cea9034015 do not delete target until all tests will be done,
fix single file COPY/MOVE
2008-01-03 21:44:38 +00:00
Igor Sysoev
b98f27d67f add log 2008-01-03 21:29:01 +00:00
Igor Sysoev
ac487bff1e add comment 2008-01-03 20:43:12 +00:00
Igor Sysoev
58d04fe3fa test URI/Destination collection/non-collection and Depth 2008-01-03 20:09:51 +00:00
Igor Sysoev
59781d66ce axe useless code 2008-01-03 20:06:09 +00:00
Igor Sysoev
a27b0b7e48 change order 2008-01-03 19:18:25 +00:00
Igor Sysoev
369791a7df change status code, add log message, and test collection URI 2008-01-03 19:13:04 +00:00
Igor Sysoev
284f0daa92 style fix 2008-01-03 17:21:13 +00:00
Igor Sysoev
8dd405319d min_delete_depth 2007-12-30 11:46:03 +00:00
Igor Sysoev
b06db4283a log DELETE errors 2007-12-30 10:24:43 +00:00
Igor Sysoev
0ce17d2b5b axe useless code 2007-12-30 10:19:32 +00:00
Igor Sysoev
ab325357f9 change status code and add log message 2007-12-30 09:44:02 +00:00
Igor Sysoev
2d028f8910 satisfy all|any 2007-12-29 16:38:23 +00:00
Igor Sysoev
c7a9b7a990 use ngx_http_server_addr() 2007-12-29 16:00:34 +00:00
Igor Sysoev
3f24ae2be2 several changes in server_name:
*) server_name_in_redirect directive and removal of the '*' stub
*) use server address in redirect if host can not be detected
*) ngx_http_server_addr()
*) allow wildcard and regex names to be a main server_name
*) DAV Destination header is tested against Host header
2007-12-29 15:30:39 +00:00
Igor Sysoev
5dff77ad7f condition declarations inside blocks update missed in r1705 2007-12-29 13:55:10 +00:00
Igor Sysoev
8eac726195 fix building --without-pcre 2007-12-28 13:15:11 +00:00
Igor Sysoev
86b915901a optimization 2007-12-27 20:32:43 +00:00
Igor Sysoev
ce5d6e3237 bump version 2007-12-27 18:47:33 +00:00
Igor Sysoev
938d4993db bump version 2007-12-27 15:39:06 +00:00
Igor Sysoev
c16b005f30 ngx_http_gzip_static_module and gzip_disable 2007-12-27 14:21:59 +00:00
Igor Sysoev
5a40e9518e allow memached_pass inside "if" block 2007-12-27 14:19:30 +00:00
Igor Sysoev
9b1d4c15a6 inherit $memached_key index and memcached_pass upstream inside "if" block 2007-12-27 14:18:34 +00:00
Igor Sysoev
fe8a327eff return NGX_DECLINED if access directives are not active,
this fixes case when satisfy any does not test active directives at all
2007-12-27 14:15:34 +00:00
Igor Sysoev
11fbf47374 use ngx_regex_exec_array() 2007-12-27 13:15:43 +00:00
Igor Sysoev
57c4b0a83b regex valid_referers were not inherited 2007-12-27 12:13:11 +00:00
Igor Sysoev
6ff850baf8 ssl_session_cache off 2007-12-26 20:27:22 +00:00
Igor Sysoev
d02661a96b use %*s format 2007-12-24 17:05:31 +00:00
Igor Sysoev
f3b0e49069 open_file_cache_min_uses 2007-12-22 13:19:39 +00:00
Igor Sysoev
465a5ff18b tree.init_handler is never called 2007-12-21 17:50:49 +00:00
Igor Sysoev
b28f5cc3cb fix the previous commit 2007-12-21 17:23:41 +00:00
Igor Sysoev
9b9616e5ac open_file_cache_retest > open_file_cache_valid 2007-12-21 16:19:48 +00:00
Igor Sysoev
afc57e0e5c bump version 2007-12-19 16:56:01 +00:00
Igor Sysoev
b3ea970288 fix comment 2007-12-18 15:12:33 +00:00
Igor Sysoev
7912e4ba5d optimize rbtree initialization and insert 2007-12-17 08:52:00 +00:00
Igor Sysoev
078dc8bc49 copy return values to perl's allocated memory 2007-12-16 11:57:27 +00:00
Igor Sysoev
86ef6aaa6b move condition declarations inside blocks where they are used 2007-12-10 12:09:51 +00:00
Igor Sysoev
e600494185 *) copy regex captures $1, $2, etc.
*) SV flags debug logging
2007-12-09 20:52:14 +00:00
Igor Sysoev
16623e0b9c fix segfault when $r->has_request_body() is called with ready body 2007-12-09 19:30:30 +00:00
Igor Sysoev
cb54061885 *) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTR
this fixes fastcgi_catch_stderr segfault introduced in r1453
*) ngx_http_upstream_hide_headers_hash()
*) proxy/fastcgi pass_header/hide_header use
   ngx_http_upstream_hide_headers_hash()
2007-12-09 18:03:20 +00:00
Igor Sysoev
d8c43746a5 return NGX_HTTP_UPSTREAM_INVALID_HEADER instead of NGX_HTTP_BAD_GATEWAY
to go to a next upstream on invalid_header condition
2007-12-09 14:50:19 +00:00
Igor Sysoev
5a55d7104b return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR in u->parse_header() 2007-12-09 08:22:35 +00:00
Igor Sysoev
a114911332 return NGX_HTTP_UPSTREAM_INVALID_HEADER for invalid status 2007-12-09 08:08:56 +00:00
Igor Sysoev
f4f2efa54c delete useless variable 2007-12-07 20:57:38 +00:00
Igor Sysoev
27dd6a62bd use malloc() in ngx_win32_rename_file, set crit level instead of error 2007-12-07 19:57:13 +00:00
Igor Sysoev
03df86a541 bump version 2007-12-03 17:26:28 +00:00
Igor Sysoev
7b35de92a9 fix segfault 2007-12-03 15:47:35 +00:00
Igor Sysoev
b4e5b4c884 style fix: remove trailing spaces 2007-12-01 19:57:37 +00:00
Igor Sysoev
0827c83dfb log how big fastcgi record 2007-12-01 14:23:53 +00:00
Igor Sysoev
00e0377488 ngx_parse_url() saves port text, this allows to use it in proxy host header 2007-11-28 19:55:31 +00:00
Igor Sysoev
57bb349844 bump version 2007-11-28 19:17:24 +00:00
Igor Sysoev
fa62656b31 fix segfault 2007-11-28 15:06:05 +00:00
Igor Sysoev
743760ea35 bump version 2007-11-27 16:58:41 +00:00
Igor Sysoev
6e0a7bfaaa bump version 2007-11-27 16:25:32 +00:00
Igor Sysoev
96dd8af8e6 proxy_pass variables support 2007-11-27 13:34:13 +00:00
Igor Sysoev
98b5a3b15b add_header last-modified "" 2007-11-27 12:02:58 +00:00
Igor Sysoev
b50b32e255 use usec and pid as start value 2007-11-24 10:43:15 +00:00
Igor Sysoev
5589bcf969 bump version 2007-11-15 15:42:39 +00:00
Igor Sysoev
1d04b14c09 64-bit time_t compatibility 2007-11-15 14:26:36 +00:00
Igor Sysoev
66dbcc8d38 fix typo 2007-11-14 14:58:27 +00:00
Igor Sysoev
d7a7bedeb6 omit unnecessary test, because NGX_ERROR == -1,
but r->headers_out.last_modified_time != -1 at this point
2007-11-09 15:43:43 +00:00
Igor Sysoev
6c2f052744 If-Range support 2007-11-09 15:41:35 +00:00
Igor Sysoev
4c89c09ad8 fix autoindex for "alias /" 2007-11-08 15:21:54 +00:00
Igor Sysoev
d47063bd90 fix gzip and SSL 2007-11-08 15:21:22 +00:00
Igor Sysoev
d7cf1a6c1f set status in correct place 2007-11-06 15:01:13 +00:00
Igor Sysoev
a2208091df bump version 2007-10-29 14:09:12 +00:00
Igor Sysoev
31fd642c5c refactor index module: remove context 2007-10-23 14:16:00 +00:00
Igor Sysoev
747bb06d62 change emerg to a warn for absolute index 2007-10-23 14:15:06 +00:00
Igor Sysoev
704bafb5c2 fix mime type for absolute index 2007-10-23 14:10:38 +00:00
Igor Sysoev
6684e58739 bump version 2007-10-22 11:24:05 +00:00
Igor Sysoev
f0a51cfa09 unescape SSI include 2007-10-22 10:19:17 +00:00
Igor Sysoev
a40caa172c fix segfault 2007-10-22 10:15:27 +00:00
Igor Sysoev
11ab73e538 style fix 2007-10-18 16:20:21 +00:00
Igor Sysoev
775fd53f2d style fix 2007-10-18 16:12:55 +00:00
Igor Sysoev
7b34e5f001 style fix 2007-10-18 16:05:48 +00:00
Igor Sysoev
b2f5a4a971 gzip_vary 2007-10-18 11:29:34 +00:00
Igor Sysoev
6d5d61c8a3 bump version 2007-10-15 11:32:09 +00:00
Igor Sysoev
2517eef67b memcached did not set $upstream_response_time 2007-10-15 09:46:36 +00:00
Igor Sysoev
8de766328f fix segfault when $date_local or $date_gmt are used outside ssi module 2007-10-14 19:04:23 +00:00
Igor Sysoev
2d3f3f6eb6 fix English grammar 2007-10-14 18:56:15 +00:00
Igor Sysoev
bfb23bf604 style fix: remove double semicolons 2007-10-09 20:11:03 +00:00
Igor Sysoev
3fc6ee4501 allow access_log inside limit_except 2007-10-09 18:45:49 +00:00
Igor Sysoev
d3db9ea51e style fix: remove trailing spaces 2007-10-09 18:42:00 +00:00
Igor Sysoev
d2582b9619 *) add sub_filter parser fix similar to r1261 in SSI parser
*) fix case when pattern is split between two buffers:
   it had been fixed in SSI parser long ago
2007-10-02 18:53:31 +00:00
Igor Sysoev
d13045f16c fix empty string replacement in sub_filter 2007-10-01 16:24:15 +00:00
Igor Sysoev
fa928a6c66 two commits those go together by mistake
*) fix gzip broken in r1544
*) fix memcached END test
2007-10-01 16:00:13 +00:00
Igor Sysoev
a8afe406ce use ngx_strnstr() 2007-10-01 14:48:45 +00:00
Igor Sysoev
06af5df77f style fix 2007-09-29 11:45:46 +00:00
Igor Sysoev
07ee0039b2 add time and length to a HEAD request 2007-09-28 09:48:25 +00:00
Igor Sysoev
333649648c SSI echo encoding 2007-09-27 09:37:09 +00:00
Igor Sysoev
0659720dc8 use ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:26:14 +00:00
Igor Sysoev
ddc9297a4f bump version 2007-09-24 04:18:22 +00:00
Igor Sysoev
34ebeb60eb fix file leak for HEAD requests 2007-09-22 17:56:05 +00:00
Igor Sysoev
60739f7842 bump version 2007-09-21 14:41:05 +00:00
Igor Sysoev
254353e40e the "proxy_hide_header" and "fastcgi_hide_header" directives did not
hide response header lines whose name was longer than 32 characters
2007-09-15 16:54:58 +00:00
Igor Sysoev
f78e8dd033 bump version 2007-09-11 13:21:30 +00:00
Igor Sysoev
a72822df36 response to the HEAD request should be a header only 2007-09-11 06:34:18 +00:00
Igor Sysoev
51082f7f1d escape internal request URI in proxy_pass 2007-09-09 18:25:03 +00:00
Igor Sysoev
586aa3899d bump version 2007-09-03 10:35:02 +00:00
Igor Sysoev
9afd58ffe5 open_file_cache_events 2007-09-03 08:41:42 +00:00
Igor Sysoev
140c7556a2 open_file_cache in HTTP 2007-09-01 12:12:48 +00:00
Igor Sysoev
ca0bdd3e95 change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr 2007-09-01 12:05:55 +00:00
Igor Sysoev
2cc3ad8bea allow to append charset to the "Content-Type" header 2007-08-31 18:47:25 +00:00
Igor Sysoev
2b5edcc3e6 bump version 2007-08-28 16:44:29 +00:00
Igor Sysoev
97e9336753 update ip_hash to "backup" option 2007-08-24 15:30:35 +00:00
Igor Sysoev
9fdca0a117 set current peer to use it in ngx_http_upstream_free_round_robin_peer() 2007-08-24 15:29:50 +00:00
Igor Sysoev
27db2b1900 fix ip_hash on 64-bit platform 2007-08-24 15:28:06 +00:00
Igor Sysoev
93c3755e26 bump version 2007-08-20 13:10:25 +00:00
Igor Sysoev
0d4b372e44 use %v for ngx_variable_value_t in ngx_sprintf(),
this fixes nginx on FreeBSD/sparc64
2007-08-20 09:57:19 +00:00
Igor Sysoev
d6477e6c78 bump version 2007-08-15 12:58:35 +00:00
Igor Sysoev
0b72c93a69 regex in valid_referers 2007-08-12 20:06:43 +00:00
Igor Sysoev
845f6d553a ignore meaningless bits in CIDR and warn about them 2007-08-10 13:13:28 +00:00
Igor Sysoev
fda6a08f71 omit unnecessary conditions 2007-08-07 10:56:09 +00:00
Igor Sysoev
5aca0e4678 omit unnecessary XSRETURN_EMPTY 2007-08-06 15:40:26 +00:00
Igor Sysoev
03afa34c96 $r->discard_request_body 2007-08-06 15:38:08 +00:00
Igor Sysoev
832571f0fc rename ngx_http_discard_body() to ngx_http_discard_request_body() 2007-08-06 15:37:22 +00:00
Igor Sysoev
b2d3a541ea move "Expires" header code to a separate function 2007-08-01 19:32:58 +00:00
Igor Sysoev
dbc02c324b move "Cache-Control" header code to specific handler 2007-08-01 15:24:06 +00:00
Igor Sysoev
c24bed89cd style fix 2007-08-01 14:22:12 +00:00
Igor Sysoev
82b5a31e2d use header specific handler in add_handler,
"Last-Modified" header handler
2007-08-01 14:01:30 +00:00
Igor Sysoev
329a23639f bump version 2007-07-30 09:23:26 +00:00
Igor Sysoev
8889b65711 named location 2007-07-29 18:11:39 +00:00
Igor Sysoev
a1df416d65 --sysconfdir=DIR 2007-07-29 18:05:45 +00:00
Igor Sysoev
5bb2112c27 style fix 2007-07-23 12:32:34 +00:00
Igor Sysoev
7dbb7c881d bump version 2007-07-23 08:12:24 +00:00