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
7d2930d1fa
disable directio for access_log with variables
2008-09-12 13:44:10 +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
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
6d9843a4f1
remove unused #include's
2008-09-05 15:25:47 +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
5507c4b070
bump version
2008-09-01 15:44:57 +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
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
0fb7f889e1
bump version
2008-08-26 17:23:27 +00:00
Igor Sysoev
c9e43df8f1
bump version
2008-08-26 16:23:14 +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
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
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
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
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
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
b467cb72b2
reuse compiled DTD hash in different locations, add DTD cleanup
2008-08-05 19:05:15 +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
4ec2c572cb
style fix
2008-08-04 20:25:51 +00:00
Igor Sysoev
f239450073
bump version
2008-08-04 16:45:52 +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
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
Igor Sysoev
bf12c62e56
directio
2008-07-30 12:34:04 +00:00
Igor Sysoev
16044c276a
case insensitive file system location support provided by locale only
2008-07-29 16:55:11 +00:00
Igor Sysoev
261287b0be
rename ngx_utf_...() to ngx_utf8_...()
2008-07-29 14:41:34 +00:00
Igor Sysoev
958a82efdd
fix typo
2008-07-29 14:31:03 +00:00
Igor Sysoev
1754fe97a7
*) 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
123a680e3b
allow range for partial flv response
2008-07-29 13:58:56 +00:00
Igor Sysoev
427cb8372c
support several buf's for single-part range
...
patch by Maxim Dounin
2008-07-29 13:58:13 +00:00
Igor Sysoev
d8db68a729
fix utf-8 names in autoindex
2008-07-25 14:29:05 +00:00
Igor Sysoev
d946ce369e
fix ranges without Content-Type
2008-07-23 16:30:42 +00:00
Igor Sysoev
93387937cf
split ngx_http_range_filter_module
2008-07-23 16:18:37 +00:00
Igor Sysoev
0762a81a11
bump version
2008-07-07 12:19:57 +00:00
Igor Sysoev
c6231f4434
always test root existence for access_log with variables
2008-07-07 09:26:13 +00:00
Igor Sysoev
4c9b373d71
allow several values in query string
2008-07-04 12:59:53 +00:00
Igor Sysoev
41b91d49ec
show an error message for invalid parameter
2008-07-03 19:19:45 +00:00
Igor Sysoev
bece4041ad
bump version
2008-07-01 07:38:28 +00:00
Igor Sysoev
e102e4d09a
nginx could not be build without gzip, introduced in r2052
2008-07-01 06:31:16 +00:00
Igor Sysoev
d979cfcfc8
NULL script in default access_log
2008-07-01 06:26:48 +00:00
Igor Sysoev
435ed70b96
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
a93739b2ce
fix variable access_log merging
2008-06-30 15:51:28 +00:00
Igor Sysoev
e5f979d858
fix error message
2008-06-30 15:32:57 +00:00
Igor Sysoev
789e3f2ad8
bump version
2008-06-30 12:46:40 +00:00
Igor Sysoev
a1ef4c7622
variables in access_log
2008-06-30 12:27:24 +00:00
Igor Sysoev
c66dcda68a
ngx_memzero() ngx_open_file_info_t
2008-06-26 14:07:59 +00:00
Igor Sysoev
52429def53
the "Expect" header support
2008-06-26 13:00:39 +00:00
Igor Sysoev
4da9fcd90d
fix bug when inactive subrequest is truncated,
...
if output_buffers are less than subrequest size
2008-06-26 12:45:37 +00:00
Igor Sysoev
5868a5320d
initialize of.uniq in ngx_open_cached_file()
2008-06-23 13:35:34 +00:00
Igor Sysoev
3556721e2e
change useless ngx_pcalloc() to ngx_pnalloc()
2008-06-23 12:27:03 +00:00
Igor Sysoev
9187c5481f
bump version
2008-06-23 10:50:18 +00:00
Igor Sysoev
d47c831491
auto detect https redirect in rewrite
2008-06-20 14:48:28 +00:00
Igor Sysoev
4f717f2ce9
"gzip_vary on" always sends "Vary: Accept-Encoding" header
2008-06-20 14:41:03 +00:00
Igor Sysoev
f87fb20c0b
disable charset if there is "Content-Encoding" header
2008-06-20 14:33:36 +00:00
Igor Sysoev
0ebc285aa0
*) 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
90b7e712ce
bump version
2008-06-16 09:11:12 +00:00
Igor Sysoev
6bf65f677d
$ssl_client_cert
2008-06-16 05:54:18 +00:00
Igor Sysoev
d512987c1e
DH parameters, ssl_dhparam
2008-06-16 05:51:32 +00:00
Igor Sysoev
1c3b27b4bd
after URI was rewritten location configuration should be to a server's null one
2008-06-15 19:07:35 +00:00
Igor Sysoev
fe8aa0c4d4
fix building without PCRE introduced in r2023
2008-06-07 12:08:38 +00:00
Igor Sysoev
e2bb451169
style fix
2008-05-28 12:27:08 +00:00
Igor Sysoev
29aacafb55
fix building by bcc/etc introduced in r2038
2008-05-28 12:26:20 +00:00
Igor Sysoev
413dfbbd79
*) add ngx_palloc_aligned() to allocate explicitlty aligned memory
...
*) allows non-aligned memory blocks for small allocations and for odd
length strings on all platforms
*) use ngx_palloc_aligned()
2008-05-27 09:37:40 +00:00
Igor Sysoev
b3699723c6
add args in redirect to a directory
2008-05-26 18:57:43 +00:00
Igor Sysoev
25a4442187
fix debug logging
2008-05-26 18:49:36 +00:00
Igor Sysoev
1430110631
fix error log message
2008-05-26 10:54:59 +00:00
Igor Sysoev
ad12f1268f
bump version
2008-05-26 09:54:17 +00:00
Igor Sysoev
f4e540c64d
ssl_session_cache none
2008-05-26 07:14:13 +00:00
Igor Sysoev
875f90f6d2
remove directives deprecated in 0.3.x
2008-05-24 15:48:50 +00:00
Igor Sysoev
88335cbce8
*) remove optimize_host_names
...
*) deprecate optimize_server_names: it is not needed since
server_name_in_redirect introduction
2008-05-24 15:43:48 +00:00
Igor Sysoev
0ffe02a0e4
move configuration phase only field to the end of structure
2008-05-24 14:46:46 +00:00
Igor Sysoev
a2eddf1bfe
locations tree
2008-05-24 14:14:13 +00:00
Igor Sysoev
585631d84d
delete useless lines
2008-05-22 14:28:25 +00:00
Igor Sysoev
54fbbd0412
style fix
2008-05-22 12:09:41 +00:00
Igor Sysoev
bcd1dd7156
axe never used variables
2008-05-22 11:11:16 +00:00
Igor Sysoev
ce2ad1b855
split ngx_http_block() further
2008-05-22 11:07:08 +00:00
Igor Sysoev
705817b3f3
split ngx_http_block()
2008-05-22 09:57:47 +00:00
Igor Sysoev
0e1ec16ca3
delete outdated debug logging that only causes segfault if enabled
2008-05-22 07:10:36 +00:00
Igor Sysoev
6ac85cc51e
style fix
2008-05-21 17:39:51 +00:00
Igor Sysoev
731adf0c13
bump version
2008-05-19 10:45:57 +00:00
Igor Sysoev
ad22d2b60a
avoid recursive loop
2008-05-19 10:24:22 +00:00
Igor Sysoev
772a5e4739
expires modified
2008-05-16 15:18:50 +00:00
Igor Sysoev
9c47cb4a4c
$uid_got and $uid_set may used at any time
2008-05-16 15:03:37 +00:00
Igor Sysoev
4b020d55bd
$hostname variable
2008-05-16 14:39:06 +00:00
Igor Sysoev
64d5c02d1f
escape 0x00-0x1f, ", and \ in access log variables
2008-05-15 15:09:39 +00:00
Igor Sysoev
ced97d1791
*) host in request line has priority
...
*) allow several Host headers
*) validate host
2008-05-15 14:44:47 +00:00
Igor Sysoev
bae2ece30b
style fix: remove tabs and trailing spaces
2008-05-14 07:54:52 +00:00
Igor Sysoev
2ef98d17f7
small fixes
2008-05-13 09:47:52 +00:00
Igor Sysoev
2d2fe700b9
test user agent in header callback
2008-05-13 09:18:58 +00:00
Igor Sysoev
e8c98494f4
bump version
2008-05-12 10:08:28 +00:00
Igor Sysoev
222792eaf1
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
9cfe2aecd4
bump version
2008-04-29 12:44:47 +00:00
Igor Sysoev
1c6f157993
args support in static error_page
2008-04-29 10:06:43 +00:00
Igor Sysoev
74af3ea26c
reset looked at match
2008-04-29 06:15:56 +00:00
Igor Sysoev
c2fdce089d
fix memory leak when ssl_verify_client is on
2008-04-23 18:57:25 +00:00
Igor Sysoev
991e0b912c
small fix
2008-04-17 14:32:11 +00:00
Igor Sysoev
aba43cdba9
fix segfault
2008-04-11 09:15:07 +00:00
Igor Sysoev
8ff3b99868
comment Gauss' formula
2008-04-10 09:37:12 +00:00
Igor Sysoev
0640828e87
quick resolving handles u->resolved->ctx by itself
2008-04-09 14:20:17 +00:00
Igor Sysoev
582c0d74d3
fix peer sendfile capability
2008-04-04 12:07:13 +00:00
Igor Sysoev
a38d9e3439
update previous commit
2008-03-24 17:17:17 +00:00
Igor Sysoev
24da7352fd
use ngx_int_t in ngx_sort() callback
2008-03-24 13:04:02 +00:00
Igor Sysoev
1392f827fe
bump version
2008-03-18 14:51:09 +00:00
Igor Sysoev
625e47eff4
use ngx_ext_rename_file() in proxy/fastcgi_store
2008-03-17 13:07:35 +00:00
Igor Sysoev
3cfddc90e1
some perl builds require my_perl for PERL_SYS_TERM()
2008-03-17 08:58:07 +00:00
Igor Sysoev
2b1f24f6b0
fastcgi params debug logging
2008-03-16 18:03:10 +00:00
Igor Sysoev
e0283b6ece
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
48de2e9629
test the more likely case first
2008-03-16 16:47:16 +00:00
Igor Sysoev
83bbdf3309
use the more correct mask
2008-03-16 13:29:49 +00:00
Igor Sysoev
977d4a7972
style fix
2008-03-14 12:31:20 +00:00
Igor Sysoev
618948dc4a
fix building on 64-bit platforms broken in r1900
2008-03-13 15:48:36 +00:00
Igor Sysoev
1606b65d8e
bump version
2008-03-13 06:39:00 +00:00
Igor Sysoev
51aff08456
bump version
2008-03-12 13:37:29 +00:00
Igor Sysoev
830a7fd652
non cacheable $proxy_host and $proxy_port
2008-03-11 14:10:11 +00:00
Igor Sysoev
6bdb1e9451
invalidate SSL session if there is no valid client certificate
2008-03-10 14:47:07 +00:00
Igor Sysoev
4d74d56fbf
fix large memory allocation in "error_page 495-497 /uri"
2008-03-10 14:45:41 +00:00
Igor Sysoev
9ea445750d
do not change method while error redirection to named location
2008-03-10 14:36:42 +00:00
Igor Sysoev
bda142ac94
create dummy resolver in http context to inherit it in all servers
2008-03-06 08:48:55 +00:00
Igor Sysoev
4863093640
ngx_resolve_name() frees ctx on immediate failure
2008-03-05 07:30:44 +00:00
Igor Sysoev
fad16b3a9f
reset r->content_handler in a named location
2008-03-04 14:57:07 +00:00
Igor Sysoev
f0590d13b0
use cf->cycle->new_log because at merge stage cf->pool->log is old log
2008-03-04 10:42:05 +00:00
Igor Sysoev
9db321bc4e
fix r1903
2008-03-03 20:04:06 +00:00
Igor Sysoev
b2bf997644
fix r1490
2008-03-03 16:44:56 +00:00
Igor Sysoev
5fc9a66ef5
C++ compatibility
2008-03-03 16:32:16 +00:00
Igor Sysoev
64c52d8378
fix memory leak in long-lived non buffered connections
2008-03-03 10:42:00 +00:00
Igor Sysoev
8e773cdc3b
cleanup resolver
2008-02-28 20:38:34 +00:00
Igor Sysoev
bdfa98344c
check port in upstream list
2008-02-21 13:58:45 +00:00
Igor Sysoev
bce20ada9f
pass additional arguments in ngx_http_perl_call_handler() as SV
2008-02-16 14:29:44 +00:00
Igor Sysoev
174d85a985
fix previous commit
2008-02-16 14:24:43 +00:00
Igor Sysoev
f064fb9a23
optimize $r->sleep
2008-02-16 14:23:14 +00:00
Igor Sysoev
97d4e8106c
delete unneeded dXSTARG
2008-02-15 13:57:55 +00:00
Igor Sysoev
92bff7d88a
named locations in post_action
2008-02-15 12:46:40 +00:00
Igor Sysoev
2d46d11798
fix segfault if empty stub block is used second time
2008-02-14 16:03:48 +00:00
Igor Sysoev
af519c8c3b
length calculation did not take into account escaped symbols in arguments
2008-02-12 18:05:32 +00:00
Igor Sysoev
bbdef43461
bump version
2008-02-11 15:27:44 +00:00
Igor Sysoev
58a15e5a7d
set absolute weight, this fixes bogus "no live upstream" case when
...
last upstream is down while live one has negative weight
2008-02-11 14:31:38 +00:00
Igor Sysoev
ffca03813a
add X-Accel-Charset to ingored header, fix X-Accel-Buffering
2008-02-11 14:02:28 +00:00
Igor Sysoev
e881c923af
test response length in proxy/fastcgi_store
2008-02-11 13:14:56 +00:00
Igor Sysoev
3ae8899767
fix order
2008-02-07 10:45:04 +00:00
Igor Sysoev
7033238125
fix order
2008-02-07 10:43:45 +00:00
Igor Sysoev
3e0e2592c3
fix order
2008-02-07 10:38:13 +00:00
Igor Sysoev
ed17a5a76b
fix return code
2008-02-07 08:57:07 +00:00
Igor Sysoev
ec32b25b84
fix building by msvc introduced in r1817
2008-01-22 15:16:38 +00:00
Igor Sysoev
6ddfa43a74
fix building by gcc42, etc. introduced in r1858
2008-01-09 15:27:27 +00:00
Igor Sysoev
e15b10b8e9
add code missed in r1856
2008-01-09 08:21:57 +00:00
Igor Sysoev
aea406bbad
update GET method text in an subrequest
2008-01-08 21:06:38 +00:00
Igor Sysoev
79fba80985
axe old flag remained after ancient "post_accept_timeout" directive
2008-01-08 20:55:27 +00:00
Igor Sysoev
cfd21584ef
add code missed in r1830
2008-01-08 20:51:06 +00:00
Igor Sysoev
4dda2bd7a6
bump version
2008-01-08 13:05:18 +00:00
Igor Sysoev
e559b52f2f
style fix: remove trailing space
2008-01-08 11:33:14 +00:00
Igor Sysoev
8a712e4a15
ngx_http_gzip_static_module should DECLINE request
2008-01-08 10:35:50 +00:00
Igor Sysoev
39de6a4033
fix comment
2008-01-05 19:07:10 +00:00
Igor Sysoev
912893e685
fix socket leak if deferred accept was used
2008-01-04 09:32:12 +00:00
Igor Sysoev
edd04ac52f
use ngx_ext_rename_file() in PUT
2008-01-03 22:18:21 +00:00
Igor Sysoev
7f553e9bb6
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
18ccec6eb6
add log
2008-01-03 21:29:01 +00:00
Igor Sysoev
dcfcf08842
add comment
2008-01-03 20:43:12 +00:00
Igor Sysoev
8d1eeee6c6
test URI/Destination collection/non-collection and Depth
2008-01-03 20:09:51 +00:00
Igor Sysoev
d7037b6ea5
axe useless code
2008-01-03 20:06:09 +00:00
Igor Sysoev
c691a0ed26
change order
2008-01-03 19:18:25 +00:00
Igor Sysoev
cd4b71abc4
change status code, add log message, and test collection URI
2008-01-03 19:13:04 +00:00
Igor Sysoev
cde0bc81f1
style fix
2008-01-03 17:21:13 +00:00
Igor Sysoev
5ffbd97658
min_delete_depth
2007-12-30 11:46:03 +00:00
Igor Sysoev
071619f2ba
log DELETE errors
2007-12-30 10:24:43 +00:00
Igor Sysoev
7b74191d0e
axe useless code
2007-12-30 10:19:32 +00:00
Igor Sysoev
2aec60b9a3
change status code and add log message
2007-12-30 09:44:02 +00:00
Igor Sysoev
f41d322859
log right request method
2007-12-30 09:11:19 +00:00
Igor Sysoev
72a91c756c
axe useless r->server_name
2007-12-30 08:15:27 +00:00
Igor Sysoev
b9c49e59ab
log server address
2007-12-30 08:01:50 +00:00
Igor Sysoev
8991aa8f56
fix building by msvc introduced by r1807
2007-12-29 21:43:49 +00:00
Igor Sysoev
e71222b0ba
handle old "server_name *"
2007-12-29 19:05:21 +00:00
Igor Sysoev
74f3ad4579
satisfy all|any
2007-12-29 16:38:23 +00:00
Igor Sysoev
baedf19d3a
use ngx_http_server_addr()
2007-12-29 16:00:34 +00:00
Igor Sysoev
9901529164
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
915063fd16
condition declarations inside blocks update missed in r1705
2007-12-29 13:55:10 +00:00
Igor Sysoev
a11e6187da
style fix: remove trailing spaces
2007-12-28 13:15:36 +00:00
Igor Sysoev
dbadfc12d0
fix building --without-pcre
2007-12-28 13:15:11 +00:00
Igor Sysoev
bc50034481
optimization
2007-12-27 20:32:43 +00:00
Igor Sysoev
4d079eba8e
bump version
2007-12-27 18:47:33 +00:00
Igor Sysoev
26089cd999
bump version
2007-12-27 15:39:06 +00:00
Igor Sysoev
61523817d5
backout r1790
2007-12-27 14:39:05 +00:00
Igor Sysoev
f6630df22b
ngx_http_gzip_static_module and gzip_disable
2007-12-27 14:21:59 +00:00
Igor Sysoev
3d9460a202
non-active request is not done
2007-12-27 14:20:50 +00:00
Igor Sysoev
8d81be062f
allow memached_pass inside "if" block
2007-12-27 14:19:30 +00:00
Igor Sysoev
da15b77684
inherit $memached_key index and memcached_pass upstream inside "if" block
2007-12-27 14:18:34 +00:00
Igor Sysoev
4ab51d5cb3
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
3936145497
use ngx_regex_exec_array()
2007-12-27 13:15:43 +00:00
Igor Sysoev
b74ef369d0
call post_action for 499
2007-12-27 13:13:34 +00:00
Igor Sysoev
9702fd533b
regex valid_referers were not inherited
2007-12-27 12:13:11 +00:00
Igor Sysoev
74bfa8ca4a
optimization
2007-12-27 09:17:20 +00:00
Igor Sysoev
e4a67eeba6
style fix
2007-12-27 08:40:14 +00:00
Igor Sysoev
93d1079897
create ssl buffer on demand and free it before keep-alive
2007-12-26 21:07:30 +00:00
Igor Sysoev
efcf5c7468
ssl_session_cache off
2007-12-26 20:27:22 +00:00
Igor Sysoev
9a1e7464e1
optimization
2007-12-26 13:24:57 +00:00
Igor Sysoev
2590d6c241
style fix
2007-12-25 15:31:18 +00:00
Igor Sysoev
2c27e0be14
use %*s format
2007-12-24 17:05:31 +00:00
Igor Sysoev
c9d8ac563a
open_file_cache_min_uses
2007-12-22 13:19:39 +00:00
Igor Sysoev
53998a95a4
tree.init_handler is never called
2007-12-21 17:50:49 +00:00
Igor Sysoev
e75e2677c9
fix the previous commit
2007-12-21 17:23:41 +00:00
Igor Sysoev
5202af7573
open_file_cache_retest > open_file_cache_valid
2007-12-21 16:19:48 +00:00
Igor Sysoev
34da96a7cd
bump version
2007-12-19 16:56:01 +00:00
Igor Sysoev
d78a4d06fd
fix comment
2007-12-18 15:12:33 +00:00
Igor Sysoev
c61f8cd4a8
optimize rbtree initialization and insert
2007-12-17 08:52:00 +00:00
Igor Sysoev
e338919d12
copy return values to perl's allocated memory
2007-12-16 11:57:27 +00:00
Igor Sysoev
e6de03148d
fix merge_slashes
2007-12-14 14:33:00 +00:00
Igor Sysoev
8aa97dc74d
large_client_header_buffers did not free()ed before keep-alive
2007-12-12 15:42:39 +00:00
Igor Sysoev
a0767cf8b5
$upstream_addr did not contain last address, the bug was introduced in r1659
2007-12-11 16:26:56 +00:00
Igor Sysoev
a333df9cd9
style fix: remove trailing spaces
2007-12-10 12:30:09 +00:00
Igor Sysoev
54ba36eeb3
optimize r->upstream usage
2007-12-10 12:29:43 +00:00
Igor Sysoev
1e973c6d87
move condition declarations inside blocks where they are used
2007-12-10 12:09:51 +00:00
Igor Sysoev
7a17551f8a
*) copy regex captures $1, $2, etc.
...
*) SV flags debug logging
2007-12-09 20:52:14 +00:00
Igor Sysoev
5b57cfa682
fix segfault when $r->has_request_body() is called with ready body
2007-12-09 19:30:30 +00:00
Igor Sysoev
30676327b2
*) 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
756c0243b0
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
285127fbbe
return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR in u->parse_header()
2007-12-09 08:22:35 +00:00
Igor Sysoev
a04245d293
return NGX_HTTP_UPSTREAM_INVALID_HEADER for invalid status
2007-12-09 08:08:56 +00:00
Igor Sysoev
9f65245a83
delete useless variable
2007-12-07 20:57:38 +00:00
Igor Sysoev
28bfe377e7
use malloc() in ngx_win32_rename_file, set crit level instead of error
2007-12-07 19:57:13 +00:00
Igor Sysoev
6694df5d91
bump version
2007-12-03 17:26:28 +00:00
Igor Sysoev
ffeb47564a
fix segfault
2007-12-03 15:47:35 +00:00
Igor Sysoev
ce86f12a95
allow to use IP addresses without defined resolver
2007-12-03 10:05:19 +00:00
Igor Sysoev
1d25090146
style fix: remove trailing spaces
2007-12-01 19:57:37 +00:00
Igor Sysoev
5cdf6f5f4b
log how big fastcgi record
2007-12-01 14:23:53 +00:00
Igor Sysoev
3807c3c04e
copy protocol value when large request line is copied,
...
this fixes error "fastcgi: the request record is too big"
2007-12-01 12:22:48 +00:00
Igor Sysoev
8d6f7dbed7
do not allow plain 0.9 request to HTTPS
2007-12-01 11:46:04 +00:00
Igor Sysoev
9c6d68aa3d
zero ngx_url_t
2007-11-30 22:08:59 +00:00
Igor Sysoev
6105e092cf
style fix
2007-11-30 22:08:29 +00:00
Igor Sysoev
be7424e3ae
fix comment
2007-11-30 22:06:48 +00:00
Igor Sysoev
8009a9c41d
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
7328fd5950
bump version
2007-11-28 19:17:24 +00:00
Igor Sysoev
90465507d8
fix segfault
2007-11-28 15:06:05 +00:00
Igor Sysoev
948878c194
delete unneeded declaration
2007-11-28 10:14:04 +00:00
Igor Sysoev
03730a612f
bump version
2007-11-27 16:58:41 +00:00
Igor Sysoev
c6041e61db
bump version
2007-11-27 16:25:32 +00:00
Igor Sysoev
cddb620691
proxy_pass variables support
2007-11-27 13:34:13 +00:00
Igor Sysoev
73678216ea
improve throughput with large limit_rate
2007-11-27 12:24:44 +00:00
Igor Sysoev
75d58f0295
log entire request line instead of URI only
2007-11-27 12:22:01 +00:00
Igor Sysoev
11992c39f2
add_header last-modified ""
2007-11-27 12:02:58 +00:00
Igor Sysoev
2a61e9f620
r->headers_out.refresh
2007-11-27 11:56:18 +00:00
Igor Sysoev
5ba863c9b0
set r->headers_out.location for non-local redirects
2007-11-27 11:52:37 +00:00
Igor Sysoev
f30ab3ccb5
http resolver and resolver_timeout
2007-11-27 11:33:52 +00:00
Igor Sysoev
0c3195b9d6
use usec and pid as start value
2007-11-24 10:43:15 +00:00
Igor Sysoev
315fa5b74d
bump version
2007-11-15 15:42:39 +00:00
Igor Sysoev
f1dfba6181
64-bit time_t compatibility
2007-11-15 14:26:36 +00:00
Igor Sysoev
23bf191614
fix typo
2007-11-14 14:58:27 +00:00
Igor Sysoev
ae4a2523a4
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
68ca446285
If-Range support
2007-11-09 15:41:35 +00:00
Igor Sysoev
8edffbc468
style and grammar fix
2007-11-09 13:12:25 +00:00
Igor Sysoev
268e77cdc2
fix autoindex for "alias /"
2007-11-08 15:21:54 +00:00
Igor Sysoev
90901080d0
fix gzip and SSL
2007-11-08 15:21:22 +00:00
Igor Sysoev
abe0bd3d4a
set status in correct place
2007-11-06 15:01:13 +00:00
Igor Sysoev
d22059220c
bump version
2007-10-29 14:09:12 +00:00
Igor Sysoev
7b5c8d0eb8
divide special response handling into several functions
...
fix "?" escaping introduced in r1467
2007-10-26 16:17:17 +00:00
Igor Sysoev
9c79d46bd9
compatibility with mget: space after HTTP/1.1
2007-10-26 11:34:10 +00:00
Igor Sysoev
adb876b8c5
refactor index module: remove context
2007-10-23 14:16:00 +00:00
Igor Sysoev
222d6a3b90
change emerg to a warn for absolute index
2007-10-23 14:15:06 +00:00
Igor Sysoev
16dade19b6
fix mime type for absolute index
2007-10-23 14:10:38 +00:00
Igor Sysoev
39bd97db14
bump version
2007-10-22 11:24:05 +00:00