Igor Sysoev
a45a5c06cd
style fix
2007-05-07 08:49:15 +00:00
Igor Sysoev
9b5f3f6f82
sendfile_max_chunk
2007-05-07 06:33:39 +00:00
Igor Sysoev
b85f823e94
optimize HTTP method parsing for i386 and amd64
2007-05-07 06:27:14 +00:00
Igor Sysoev
c95f9970c5
fix multipart ranges trailing
2007-05-06 18:15:32 +00:00
Igor Sysoev
b1804e2fbe
style fix: change variable name
2007-05-05 06:07:11 +00:00
Igor Sysoev
44dc37f3d6
fix building by msvc
2007-05-05 05:40:29 +00:00
Igor Sysoev
e19db67cec
fix segfault introduced in r1190
2007-05-02 09:02:23 +00:00
Igor Sysoev
5f687b0919
fix segfault or parsing error in '<!--# if expr="$var = /" -->'
2007-05-02 08:07:37 +00:00
Igor Sysoev
5b0d9889ea
allow to "set" $http_, $sent_http_, and $upstream_http_ variables
2007-05-01 19:58:45 +00:00
Igor Sysoev
dd5f133823
bump version
2007-04-24 06:26:56 +00:00
Igor Sysoev
ca73cff8ec
$upstream_addr
2007-04-23 16:56:17 +00:00
Igor Sysoev
4a28150e30
proxy_headers_hash_max_size and proxy_headers_hash_bucket_size
2007-04-22 20:21:59 +00:00
Igor Sysoev
f8c3b631c8
$request_time has millisecond precision
2007-04-21 07:50:19 +00:00
Igor Sysoev
934f2ee754
rename $r->rflush to $r->flush
2007-04-21 07:43:23 +00:00
Igor Sysoev
eadee2e9c9
bump version
2007-04-19 18:23:54 +00:00
Igor Sysoev
096322eb6d
style fix: remove trailing spaces
2007-04-19 18:07:39 +00:00
Igor Sysoev
f445565814
$upstream_http_... should be uncacheable
2007-04-19 17:55:19 +00:00
Igor Sysoev
881e9dd98f
ngx_http_sub_filter_module
2007-04-19 17:54:23 +00:00
Igor Sysoev
2145354253
style fix: rename functions
2007-04-19 06:27:10 +00:00
Igor Sysoev
910319a35c
store the upstream states before X-Accel-Redirect to a next upstream
2007-04-18 20:23:19 +00:00
Igor Sysoev
ed040674b8
style fix: remove tabs
2007-04-18 15:21:28 +00:00
Igor Sysoev
ed3c703f4a
fix segfault when
...
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
c6679106ba
set nginx_stash after reconfiguration in single interpreter perl
2007-04-18 09:23:35 +00:00
Igor Sysoev
fbddb1ea4f
$upstream_http_... variables
2007-04-10 07:08:06 +00:00
Igor Sysoev
d47cfd8e9c
use 60 seconds interval but not 61 seconds
2007-04-03 21:54:13 +00:00
Igor Sysoev
d1bc9462ed
bump version
2007-04-02 10:50:18 +00:00
Igor Sysoev
2576ebc920
*) introduce ngx_strchr()
...
*) test server_name for '/': it's common configuration error when
trailing ';' is omitted and a next directive is treated as server_name
2007-04-02 06:27:30 +00:00
Igor Sysoev
bb4487efe7
style fix
2007-04-02 05:43:21 +00:00
Igor Sysoev
15ce70a750
disable $document_root variable in the "root/alias" directive
2007-04-01 09:03:14 +00:00
Igor Sysoev
a4f399dfc6
separate ngx_http_upstream_test_connect() and
...
use it in ngx_http_upstream_process_header() path too
2007-03-31 15:37:09 +00:00
Igor Sysoev
e3c652fb1d
flush nocachable variables before ngx_http_script_run()
2007-03-30 19:00:34 +00:00
Igor Sysoev
8812a3c7ea
disable TRACE method
2007-03-30 18:59:26 +00:00
Igor Sysoev
235e85ea77
style fix
2007-03-29 18:53:34 +00:00
Igor Sysoev
776257022a
the "include" support inside the "types" directive
2007-03-29 10:27:24 +00:00
Igor Sysoev
4418a47c63
style fix
2007-03-28 14:38:33 +00:00
Igor Sysoev
4a51c9b930
bump version
2007-03-26 14:52:52 +00:00
Igor Sysoev
29a42b7388
ip_hash used wrong byte order
2007-03-23 12:52:33 +00:00
Igor Sysoev
7065e2d232
fix segfault if upstream sends trailing ";" in "charset="
2007-03-23 11:33:47 +00:00
Igor Sysoev
10d6dbff29
fix "zero size buf" if request body file is multiple of 32K and FastCGI is used
2007-03-21 13:30:24 +00:00
Igor Sysoev
071f2f0227
bump version
2007-03-19 14:58:30 +00:00
Igor Sysoev
d8385e558b
close keep-alive connections in the shuting down processes
2007-03-19 13:20:15 +00:00
Igor Sysoev
93b0670668
bump version
2007-03-06 12:59:58 +00:00
Igor Sysoev
4841bfc2a6
avoid endless loop
2007-03-06 11:02:35 +00:00
Igor Sysoev
bbbbc62189
use the contemporary directives
2007-02-21 11:50:39 +00:00
Igor Sysoev
e9462d4b3b
bump version
2007-02-19 13:42:48 +00:00
Igor Sysoev
5ac1d2b890
a client address must be allocated from a connection pool
...
to live through the keep-alive requests
2007-02-17 21:06:47 +00:00
Igor Sysoev
8950caabd5
COPY and MOVE
...
fix PUT and DELETE to conform to WebDAV specification
2007-02-16 12:16:25 +00:00
Igor Sysoev
ae16d00212
finalize request to allow post_action
2007-02-15 18:53:48 +00:00
Igor Sysoev
5cd0a2990f
fix broken values, debug logging, and style fix
2007-02-15 15:05:26 +00:00
Igor Sysoev
c7d977cfec
optimize $http_x_forwarded_for
2007-02-15 15:04:36 +00:00
Igor Sysoev
51d33405d7
fix format
2007-02-15 14:13:24 +00:00
Igor Sysoev
dde9a92782
if client closes a connection prematurely, then epoll (at least
...
in Linux 2.6.16) sends EPOLLERR|EPOLLHUP|EPOLLIN only and writer
does not know about the error
2007-02-15 10:02:34 +00:00
Igor Sysoev
7a9fac906b
add debug logging
2007-02-15 10:00:59 +00:00
Igor Sysoev
2e32c0fc0d
ngx_strcasecmp()/ngx_strncasecmp()
2007-02-14 18:51:19 +00:00
Igor Sysoev
e50c956ba5
bump version
2007-02-12 15:37:36 +00:00
Igor Sysoev
4b03125f8a
log a right subrequest
2007-02-09 13:49:14 +00:00
Igor Sysoev
efcd010f0b
fix segfault when $fastcgi_script_name is used in access_log
...
and there was bad request (400)
2007-02-09 11:56:23 +00:00
Igor Sysoev
0a75803fe3
bump version
2007-02-05 14:49:52 +00:00
Igor Sysoev
a2f7ee9bdf
fix several ranges
2007-02-04 18:40:47 +00:00
Igor Sysoev
44779711de
use ngx_dir_access() to enable search bits for directory
2007-01-29 12:25:44 +00:00
Igor Sysoev
449fb3af0d
eliminate the useless space symbol
2007-01-29 11:54:36 +00:00
Igor Sysoev
cc415a0f64
log a real response error code instead of "0"
2007-01-29 11:53:23 +00:00
Igor Sysoev
facdb56a28
bump version
2007-01-25 22:19:34 +00:00
Igor Sysoev
84a0149f59
bump version
2007-01-25 21:45:22 +00:00
Igor Sysoev
72e11d8a58
$memcached_key
2007-01-25 08:45:41 +00:00
Igor Sysoev
ef1d3455f5
undo "client_body_in_file_only any"
...
and introduce "client_body_in_file_only clean"
introduce ngx_pool_delete_file() to not break a possible third-party
ngx_pool_cleanup_file() usage that may lead to an removal of the useful files
delete unnecessary ngx_http_finalize_request_body()
2007-01-25 08:45:04 +00:00
Igor Sysoev
7eebc093e0
fix "access_log off"
2007-01-24 09:15:25 +00:00
Igor Sysoev
ed860f47ed
client_body_in_file_only any
2007-01-24 09:14:08 +00:00
Igor Sysoev
84e6701379
delete temporary file for incomplete small request body
2007-01-23 12:55:23 +00:00
Igor Sysoev
5b9226167f
log a failure of the writing to access_log once per minute
2007-01-21 19:01:01 +00:00
Igor Sysoev
9f93319aa3
allow "sendfile" in "if" context
2007-01-21 17:42:28 +00:00
Igor Sysoev
3142a55af5
env
2007-01-20 19:26:48 +00:00
Igor Sysoev
f00977dc75
bump version
2007-01-19 19:48:48 +00:00
Igor Sysoev
07e9326673
fix segfault when a request body fits in r->header_in and
...
the body will be written to file
2007-01-19 16:13:15 +00:00
Igor Sysoev
64fb74b910
fix segfault when client_body_in_file_only is on, the body is not passed
...
to upstream, and nginx tries next upstream
2007-01-19 12:57:02 +00:00
Igor Sysoev
8cff9c0e4c
a non-active client connection must not closed after send timeout
2007-01-19 12:22:32 +00:00
Igor Sysoev
e5be3c2404
style and comment fix
2007-01-19 11:35:26 +00:00
Igor Sysoev
38cbe9a971
if client closes a connection prematurely, then epoll (at least
...
in Linux 2.6.18) sends EPOLLERR|EPOLLHUP|EPOLLIN only and writer
does not know about the error
2007-01-19 08:10:06 +00:00
Igor Sysoev
82e75d27e6
the PUTing to collection must return NGX_HTTP_BAD_REQUEST
2007-01-18 21:14:46 +00:00
Igor Sysoev
45dbd62fe7
the "Overwrite" header line
2007-01-18 21:11:23 +00:00
Igor Sysoev
af3394b9ca
add size, access, and mtime to ngx_walk_tree()
2007-01-18 21:04:31 +00:00
Igor Sysoev
c40c7e8c56
NGX_HTTP_PRECONDITION_FAILED
2007-01-18 20:51:51 +00:00
Igor Sysoev
8c69f861c9
update nginx.xs to ngx_open_file(name, mode, create, access)
2007-01-18 20:48:03 +00:00
Igor Sysoev
0384d31723
ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)
2007-01-18 20:15:09 +00:00
Igor Sysoev
698028f2a0
rename mode to access
2007-01-18 19:52:18 +00:00
Igor Sysoev
63be424e48
style fix
2007-01-17 10:50:52 +00:00
Igor Sysoev
0f190f2385
fix debug logging
2007-01-16 20:43:36 +00:00
Igor Sysoev
bd0178106b
fix comparison
2007-01-16 19:01:10 +00:00
Igor Sysoev
72d9bcf874
bump version
2007-01-16 11:04:51 +00:00
Igor Sysoev
2adcffe7f7
allow the upstream modules to send a header only
2007-01-15 17:12:43 +00:00
Igor Sysoev
9ad4d312d9
add debug logging for FastCGI zero size buf alert
2007-01-15 16:00:51 +00:00
Igor Sysoev
eeb2bc3d05
ngx_strn2cmp() > ngx_memn2cmp()
2007-01-12 21:58:02 +00:00
Igor Sysoev
3ba3eb196b
style fix
2007-01-12 21:57:20 +00:00
Igor Sysoev
3369ed8af3
fix duplicate rbtree keys case
2007-01-12 20:38:17 +00:00
Igor Sysoev
ad13a152a8
style fix: remove tabs
2007-01-12 20:26:39 +00:00
Igor Sysoev
cde44f2377
stop rbtree search early if equal hash was found
2007-01-11 16:57:30 +00:00
Igor Sysoev
97e64a714e
test length of variable and number of connections
2007-01-11 16:50:06 +00:00
Igor Sysoev
ed9b8542fc
fix segfault
2007-01-09 22:04:40 +00:00
Igor Sysoev
4fa3bfa639
fix connection counter in subrequests
2007-01-09 20:58:41 +00:00
Igor Sysoev
a2407589e8
fix typo
2007-01-09 20:57:49 +00:00
Igor Sysoev
8dfe18d338
bump version
2007-01-09 20:57:24 +00:00
Igor Sysoev
02570198d9
do not count connection for subrequest
2007-01-09 16:26:53 +00:00
Igor Sysoev
a40037fd87
pass the inherited shm_zone data
2007-01-09 15:59:20 +00:00
Igor Sysoev
65278e8284
correct an error log message
2007-01-08 18:23:38 +00:00
Igor Sysoev
2750b8ef74
use right status code
2007-01-08 18:22:06 +00:00
Igor Sysoev
7e38e2b687
undo r979
2007-01-08 18:20:03 +00:00
Igor Sysoev
792a386511
new syntax
2007-01-07 18:52:34 +00:00
Igor Sysoev
01bbae0b75
ngx_http_realip_module must return NGX_DECLINED
2007-01-07 18:45:55 +00:00
Igor Sysoev
b619e8357a
count connection once per request
2007-01-07 17:47:17 +00:00
Igor Sysoev
ab3999bb3d
ngx_http_variable_binary_remote_addr()
2007-01-07 13:36:56 +00:00
Igor Sysoev
024f16d8fa
$binary_remote_addr
2007-01-07 13:35:08 +00:00
Igor Sysoev
aadd58feff
fix key length and alignment
2007-01-07 09:18:26 +00:00
Igor Sysoev
f77b9a5710
ngx_http_limit_zone_module
2007-01-06 18:52:46 +00:00
Igor Sysoev
2bab3862cd
fix segfault
2007-01-06 13:01:26 +00:00
Igor Sysoev
c39502dcaf
move the session cache callbacks to the ngx_openssl_module
2007-01-03 15:25:40 +00:00
Igor Sysoev
7e1f8df4d5
ssl_session_cache
2007-01-02 23:55:05 +00:00
Igor Sysoev
0f57832db9
style fix: scf > sscf
2007-01-02 23:50:10 +00:00
Igor Sysoev
4b2ed12c5f
style fix
2007-01-02 23:41:54 +00:00
Igor Sysoev
c845a243e6
ngx_ssl_get_server_conf()
2007-01-02 23:37:25 +00:00
Igor Sysoev
202e3f2397
move ranges array to ngx_http_range_filter_ctx_t
2006-12-29 08:02:31 +00:00
Igor Sysoev
b8d09631fd
support ranges for single memory buffer
2006-12-29 07:47:37 +00:00
Igor Sysoev
317aa48a17
fix the previous commit
2006-12-29 07:01:11 +00:00
Igor Sysoev
53b6cdab76
fix range in $r->sendfile
2006-12-28 20:55:25 +00:00
Igor Sysoev
1b587fb995
style fix
2006-12-28 20:12:03 +00:00
Igor Sysoev
54f5c78b41
recursive DELETE
2006-12-25 12:38:44 +00:00
Igor Sysoev
64b76b0fc6
limit the ngx_http_index_module methods to GET, HEAD and POST
2006-12-25 12:37:04 +00:00
Igor Sysoev
abcebb92e3
style fix: remove trailing spaces
2006-12-24 21:07:34 +00:00
Igor Sysoev
7a05b38603
bump version
2006-12-24 18:42:26 +00:00
Igor Sysoev
a3478c164c
fix segfault
2006-12-22 13:05:07 +00:00
Igor Sysoev
11758d23e5
fix debug log
2006-12-20 19:38:06 +00:00
Igor Sysoev
1c0748753a
fix segfault when $host is used and
...
*) request is "GET http://host " without CR or LF, or timed out
*) request is "GET http://host " with a large blank space
2006-12-15 10:24:57 +00:00
Igor Sysoev
4b45b98dda
bump version
2006-12-14 23:22:34 +00:00
Igor Sysoev
1fcebf6b14
fix segfault when $host is used and request is "GET http://host HTTP/1.0"
2006-12-14 22:42:52 +00:00
Igor Sysoev
843db60172
allow "perl" inside "limit_except"
2006-12-14 22:13:33 +00:00
Igor Sysoev
4900b8288a
DELETE may not have the "Depth" header
2006-12-14 22:12:42 +00:00
Igor Sysoev
670f53f17a
fix number of arguments
2006-12-14 22:11:52 +00:00
Igor Sysoev
5bc3d39eee
bump version
2006-12-13 15:11:27 +00:00
Igor Sysoev
b395b435d7
fix msvc build failure
2006-12-13 15:06:46 +00:00
Igor Sysoev
014278757d
$r->status
2006-12-13 13:49:56 +00:00
Igor Sysoev
2142f717bc
add HTTP response codes
2006-12-13 12:31:58 +00:00
Igor Sysoev
1bafd0a755
fix ngx_http_perl_sleep_handler()
2006-12-13 12:30:57 +00:00
Igor Sysoev
ab48ef48de
$r->variable() supports perl only variables
2006-12-12 22:06:03 +00:00
Igor Sysoev
c8cd19970d
$r->sleep()
2006-12-12 20:59:24 +00:00
Igor Sysoev
de09e1081d
style fix
2006-12-12 20:58:41 +00:00
Igor Sysoev
d64cedb8a0
fix $r->has_request_body()
2006-12-12 20:57:48 +00:00
Igor Sysoev
efa89c7b73
axe ngx_http_perl_cleanup_sv(): all SVs should be freed
...
by perl_free() in ngx_http_perl_cleanup_perl()
2006-12-12 20:06:04 +00:00
Igor Sysoev
2581c8a93e
$r->log_error()
2006-12-12 19:33:13 +00:00
Igor Sysoev
a01e63ea8c
rewritten upstream
2006-12-12 16:46:16 +00:00
Igor Sysoev
706f559bf2
fix highly unlikely bug
2006-12-12 15:46:53 +00:00
Igor Sysoev
a8b98f8138
bump version
2006-12-12 14:17:04 +00:00
Igor Sysoev
b70d716e37
upstream name was tried to resolve
2006-12-11 15:12:07 +00:00
Igor Sysoev
4f7ae44085
bump version
2006-12-11 11:05:54 +00:00
Igor Sysoev
e522905cba
fix fastcgi and memcached upstreams
2006-12-11 08:59:30 +00:00
Igor Sysoev
97b82cce5b
fix post_action for disconnected client
2006-12-11 08:31:54 +00:00
Igor Sysoev
d09a1338c0
TCP upstreams always used the first TCP upstream with the same name
2006-12-11 08:25:03 +00:00
Igor Sysoev
ab868cb984
fix when last htpasswd line has no CR or LF
2006-12-06 14:17:42 +00:00
Igor Sysoev
142e502379
the previous fix does not actually fix overflow
2006-12-06 11:33:18 +00:00
Igor Sysoev
df7522365d
fix msec overflow
2006-12-05 20:30:05 +00:00
Igor Sysoev
7e3ada8d58
bump version
2006-12-04 17:05:07 +00:00
Igor Sysoev
2eb4b164a3
upstream choice modules
2006-12-04 16:46:13 +00:00
Igor Sysoev
f7c6a22b0e
the PERL_NO_GET_CONTEXT is actually required, see perlguts
2006-11-28 13:20:34 +00:00
Igor Sysoev
92348373ed
axe old % log format
2006-11-27 14:46:15 +00:00
Igor Sysoev
72c87dc591
bump version to 0.5.0
2006-11-27 14:34:42 +00:00
Igor Sysoev
2d11730e6c
add comment
2006-11-26 16:56:41 +00:00
Igor Sysoev
c76f9ff4cc
fix segfaults in future workers those will use old configuration,
...
if new configuration failed
2006-11-26 15:35:02 +00:00
Igor Sysoev
97fd87d7ff
Axe several perl interpreter instances: they may be useful in currently
...
unsupported threaded environment, but now they complicate code:
*) perl_clone() requires at least duplicating nginx stash;
*) the multiplicity requires to re-evalute all precompiled subroutines
and nginx stash in new interpreter context.
2006-11-26 14:35:27 +00:00
Igor Sysoev
bdd1a85885
add debug logging
2006-11-25 23:27:34 +00:00
Igor Sysoev
c6544873dc
fix recursive perl_set variable call
2006-11-25 23:27:06 +00:00
Igor Sysoev
245cac86b3
it seems the PERL_NO_GET_CONTEXT was needed to disable warnings only
2006-11-25 23:24:24 +00:00
Igor Sysoev
e21e32fe48
style fix
2006-11-25 23:23:27 +00:00
Igor Sysoev
662d2264f9
axe unused code
2006-11-24 13:19:13 +00:00
Igor Sysoev
ef4b13c803
use host part in URL
2006-11-23 20:20:23 +00:00
Igor Sysoev
4432c4b427
fix negative upstream response time
2006-11-15 20:51:07 +00:00
Igor Sysoev
d817072db9
bump version
2006-11-15 20:07:57 +00:00
Igor Sysoev
7e80a1d6e4
fix add_before_body without add_after_body
2006-11-14 13:15:08 +00:00
Igor Sysoev
22961c4e65
debug log should not be under rewrite_log control
2006-11-14 12:45:03 +00:00
Igor Sysoev
eeb8802d21
add more WebDAV methods
2006-11-14 12:43:48 +00:00
Igor Sysoev
3ad30e538a
allow proxy_pass inside limit_except
2006-11-14 12:43:14 +00:00
Igor Sysoev
2d03ba8d15
charset could not be set for ngx_http_autoindex_module responses
2006-11-13 20:53:37 +00:00
Igor Sysoev
a72cc1c3ab
fix big client body receiving with deferred accept()
2006-11-13 20:40:17 +00:00
Igor Sysoev
50eea191f1
fix subrequest limit
2006-11-02 13:48:28 +00:00
Igor Sysoev
f1d7767f02
fix subrequest limit
2006-11-02 13:38:25 +00:00
Igor Sysoev
11f8d8f772
bump version
2006-10-31 15:41:41 +00:00
Igor Sysoev
3abf68faae
$r->variable
2006-10-31 14:46:48 +00:00
Igor Sysoev
1e95e63a4d
style fix
2006-10-31 12:30:24 +00:00
Igor Sysoev
170cb264e4
style fix
2006-10-31 12:27:32 +00:00
Igor Sysoev
b39d489079
treat '\' as special character in win32 only
2006-10-30 20:36:54 +00:00
Igor Sysoev
81fcc229f4
high level HTTP buffered flags should be on per-subrequest basis,
...
this fix a bug in SSI when a big static file is included
2006-10-30 20:25:22 +00:00
Igor Sysoev
1c5fb6d67c
style fix
2006-10-28 14:36:44 +00:00
Igor Sysoev
669ba6fe8b
undo the previous wrong commit
2006-10-28 14:32:39 +00:00
Igor Sysoev
9f65986dd4
bad commit
2006-10-28 14:20:13 +00:00
Igor Sysoev
96a698688e
change order
2006-10-28 13:59:56 +00:00
Igor Sysoev
ee71f8d12b
optimize the most frequent cases
2006-10-28 12:04:43 +00:00
Igor Sysoev
20b35d255f
handle the most frequent case first
2006-10-28 10:47:11 +00:00
Igor Sysoev
7fbfd90217
axe unused state
2006-10-28 10:42:24 +00:00
Igor Sysoev
35ae5e5e6b
omit "#fragment"
2006-10-28 10:15:31 +00:00
Igor Sysoev
cc529878c7
we do not need the zero terminated r->uri for a long time
2006-10-28 08:45:01 +00:00
Igor Sysoev
397300b08f
bump version
2006-10-25 16:33:40 +00:00
Igor Sysoev
1f07b676ad
style fix: remove trailing spaces
2006-10-25 16:19:03 +00:00
Igor Sysoev
32049cf056
fix alias without trailing slash
2006-10-25 15:36:11 +00:00