Igor Sysoev
16eab66314
style fix: rename functions
2007-04-19 06:27:10 +00:00
Igor Sysoev
e0f866273f
store the upstream states before X-Accel-Redirect to a next upstream
2007-04-18 20:23:19 +00:00
Igor Sysoev
fb958946b5
style fix: remove tabs
2007-04-18 15:21:28 +00:00
Igor Sysoev
e5e4c0000d
fix segfault when
...
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
de92bcccee
set nginx_stash after reconfiguration in single interpreter perl
2007-04-18 09:23:35 +00:00
Igor Sysoev
2723361e76
$upstream_http_... variables
2007-04-10 07:08:06 +00:00
Igor Sysoev
da4b660274
use 60 seconds interval but not 61 seconds
2007-04-03 21:54:13 +00:00
Igor Sysoev
52a282d04b
bump version
2007-04-02 10:50:18 +00:00
Igor Sysoev
7a5886052f
*) 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
10b9894bee
style fix
2007-04-02 05:43:21 +00:00
Igor Sysoev
ceab369f44
disable $document_root variable in the "root/alias" directive
2007-04-01 09:03:14 +00:00
Igor Sysoev
24a95944a7
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
2c8f05737a
flush nocachable variables before ngx_http_script_run()
2007-03-30 19:00:34 +00:00
Igor Sysoev
3e933d2919
disable TRACE method
2007-03-30 18:59:26 +00:00
Igor Sysoev
9b6548f4e4
style fix
2007-03-29 18:53:34 +00:00
Igor Sysoev
eba03e6bea
the "include" support inside the "types" directive
2007-03-29 10:27:24 +00:00
Igor Sysoev
4ca98f65a5
style fix
2007-03-28 14:38:33 +00:00
Igor Sysoev
035b9c5d24
bump version
2007-03-26 14:52:52 +00:00
Igor Sysoev
7755b904ce
ip_hash used wrong byte order
2007-03-23 12:52:33 +00:00
Igor Sysoev
77d7f80285
fix segfault if upstream sends trailing ";" in "charset="
2007-03-23 11:33:47 +00:00
Igor Sysoev
e47cad4140
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
65560f40c0
bump version
2007-03-19 14:58:30 +00:00
Igor Sysoev
4ddeff4956
close keep-alive connections in the shuting down processes
2007-03-19 13:20:15 +00:00
Igor Sysoev
6c7f369010
bump version
2007-03-06 12:59:58 +00:00
Igor Sysoev
bd99c49794
avoid endless loop
2007-03-06 11:02:35 +00:00
Igor Sysoev
f259a3f910
use the contemporary directives
2007-02-21 11:50:39 +00:00
Igor Sysoev
b59f369077
bump version
2007-02-19 13:42:48 +00:00
Igor Sysoev
cf72935bc3
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
5473662c94
COPY and MOVE
...
fix PUT and DELETE to conform to WebDAV specification
2007-02-16 12:16:25 +00:00
Igor Sysoev
d74b66c82c
finalize request to allow post_action
2007-02-15 18:53:48 +00:00
Igor Sysoev
37a6905cb1
fix broken values, debug logging, and style fix
2007-02-15 15:05:26 +00:00
Igor Sysoev
e8722b8b98
optimize $http_x_forwarded_for
2007-02-15 15:04:36 +00:00
Igor Sysoev
cf815023fc
fix format
2007-02-15 14:13:24 +00:00
Igor Sysoev
9d58e4bed3
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
7b2d87ffa0
add debug logging
2007-02-15 10:00:59 +00:00
Igor Sysoev
722231f407
ngx_strcasecmp()/ngx_strncasecmp()
2007-02-14 18:51:19 +00:00
Igor Sysoev
e5234d3e05
bump version
2007-02-12 15:37:36 +00:00
Igor Sysoev
f15b839a88
log a right subrequest
2007-02-09 13:49:14 +00:00
Igor Sysoev
f0b150faf8
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
e980185ee0
bump version
2007-02-05 14:49:52 +00:00
Igor Sysoev
0762f4e749
fix several ranges
2007-02-04 18:40:47 +00:00
Igor Sysoev
e31625b60e
use ngx_dir_access() to enable search bits for directory
2007-01-29 12:25:44 +00:00
Igor Sysoev
e99305be7a
eliminate the useless space symbol
2007-01-29 11:54:36 +00:00
Igor Sysoev
8b57df9480
log a real response error code instead of "0"
2007-01-29 11:53:23 +00:00
Igor Sysoev
92929b9799
bump version
2007-01-25 22:19:34 +00:00
Igor Sysoev
5f8e7365a1
bump version
2007-01-25 21:45:22 +00:00
Igor Sysoev
3dc4fdf4e0
$memcached_key
2007-01-25 08:45:41 +00:00
Igor Sysoev
cd5b99a045
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
3a58cc90b5
fix "access_log off"
2007-01-24 09:15:25 +00:00
Igor Sysoev
64304df431
client_body_in_file_only any
2007-01-24 09:14:08 +00:00
Igor Sysoev
604a7d1da4
delete temporary file for incomplete small request body
2007-01-23 12:55:23 +00:00
Igor Sysoev
d0863c106d
log a failure of the writing to access_log once per minute
2007-01-21 19:01:01 +00:00
Igor Sysoev
300de4fb61
allow "sendfile" in "if" context
2007-01-21 17:42:28 +00:00
Igor Sysoev
8885f8736c
env
2007-01-20 19:26:48 +00:00
Igor Sysoev
354a4ef4e5
bump version
2007-01-19 19:48:48 +00:00
Igor Sysoev
36588962aa
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
8ff1e3251c
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
ae2006b2fe
a non-active client connection must not closed after send timeout
2007-01-19 12:22:32 +00:00
Igor Sysoev
66f76d2f72
style and comment fix
2007-01-19 11:35:26 +00:00
Igor Sysoev
8d6de94f5b
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
e95ea5b878
the PUTing to collection must return NGX_HTTP_BAD_REQUEST
2007-01-18 21:14:46 +00:00
Igor Sysoev
56331ba499
the "Overwrite" header line
2007-01-18 21:11:23 +00:00
Igor Sysoev
f5a359bdec
add size, access, and mtime to ngx_walk_tree()
2007-01-18 21:04:31 +00:00
Igor Sysoev
da7281a6da
NGX_HTTP_PRECONDITION_FAILED
2007-01-18 20:51:51 +00:00
Igor Sysoev
5fdb179a60
update nginx.xs to ngx_open_file(name, mode, create, access)
2007-01-18 20:48:03 +00:00
Igor Sysoev
50034b856c
ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)
2007-01-18 20:15:09 +00:00
Igor Sysoev
fe1cb8c3ac
rename mode to access
2007-01-18 19:52:18 +00:00
Igor Sysoev
ecef14e307
style fix
2007-01-17 10:50:52 +00:00
Igor Sysoev
66af04752f
fix debug logging
2007-01-16 20:43:36 +00:00
Igor Sysoev
03c9cb7afc
fix comparison
2007-01-16 19:01:10 +00:00
Igor Sysoev
c326529feb
bump version
2007-01-16 11:04:51 +00:00
Igor Sysoev
8488a1ce11
allow the upstream modules to send a header only
2007-01-15 17:12:43 +00:00
Igor Sysoev
4502bf57b3
add debug logging for FastCGI zero size buf alert
2007-01-15 16:00:51 +00:00
Igor Sysoev
ec3cabdcd9
ngx_strn2cmp() > ngx_memn2cmp()
2007-01-12 21:58:02 +00:00
Igor Sysoev
a1e82cca22
style fix
2007-01-12 21:57:20 +00:00
Igor Sysoev
805706a20f
fix duplicate rbtree keys case
2007-01-12 20:38:17 +00:00
Igor Sysoev
6043c80639
style fix: remove tabs
2007-01-12 20:26:39 +00:00
Igor Sysoev
1279b049b4
stop rbtree search early if equal hash was found
2007-01-11 16:57:30 +00:00
Igor Sysoev
ec582de2dd
test length of variable and number of connections
2007-01-11 16:50:06 +00:00
Igor Sysoev
2c32b5a1d2
fix segfault
2007-01-09 22:04:40 +00:00
Igor Sysoev
fe9a066d69
fix connection counter in subrequests
2007-01-09 20:58:41 +00:00
Igor Sysoev
36fefe3cfe
fix typo
2007-01-09 20:57:49 +00:00
Igor Sysoev
e98b867409
bump version
2007-01-09 20:57:24 +00:00
Igor Sysoev
a3ec505730
do not count connection for subrequest
2007-01-09 16:26:53 +00:00
Igor Sysoev
4e77a2bb83
pass the inherited shm_zone data
2007-01-09 15:59:20 +00:00
Igor Sysoev
1691aaf290
correct an error log message
2007-01-08 18:23:38 +00:00
Igor Sysoev
2316936389
use right status code
2007-01-08 18:22:06 +00:00
Igor Sysoev
36b1edca84
undo r979
2007-01-08 18:20:03 +00:00
Igor Sysoev
eb9b9d1c95
new syntax
2007-01-07 18:52:34 +00:00
Igor Sysoev
e7b5df16ba
ngx_http_realip_module must return NGX_DECLINED
2007-01-07 18:45:55 +00:00
Igor Sysoev
6eee80156f
count connection once per request
2007-01-07 17:47:17 +00:00
Igor Sysoev
d5ca16cdd4
ngx_http_variable_binary_remote_addr()
2007-01-07 13:36:56 +00:00
Igor Sysoev
e6bf2be77e
$binary_remote_addr
2007-01-07 13:35:08 +00:00
Igor Sysoev
ba658fc603
fix key length and alignment
2007-01-07 09:18:26 +00:00
Igor Sysoev
138e384c44
ngx_http_limit_zone_module
2007-01-06 18:52:46 +00:00
Igor Sysoev
f250a6dfba
fix segfault
2007-01-06 13:01:26 +00:00
Igor Sysoev
3364dc6eb7
move the session cache callbacks to the ngx_openssl_module
2007-01-03 15:25:40 +00:00
Igor Sysoev
528cdb7c2c
ssl_session_cache
2007-01-02 23:55:05 +00:00
Igor Sysoev
daf66de4a5
style fix: scf > sscf
2007-01-02 23:50:10 +00:00
Igor Sysoev
018b2a6376
style fix
2007-01-02 23:41:54 +00:00
Igor Sysoev
ebf2bbc310
ngx_ssl_get_server_conf()
2007-01-02 23:37:25 +00:00
Igor Sysoev
e974a72404
move ranges array to ngx_http_range_filter_ctx_t
2006-12-29 08:02:31 +00:00
Igor Sysoev
6fd25e105c
support ranges for single memory buffer
2006-12-29 07:47:37 +00:00
Igor Sysoev
818700cfcf
fix the previous commit
2006-12-29 07:01:11 +00:00
Igor Sysoev
0e8fc7a6b4
fix range in $r->sendfile
2006-12-28 20:55:25 +00:00
Igor Sysoev
c49d3ec7d4
style fix
2006-12-28 20:12:03 +00:00
Igor Sysoev
1980cc13f1
recursive DELETE
2006-12-25 12:38:44 +00:00
Igor Sysoev
d46aee8242
limit the ngx_http_index_module methods to GET, HEAD and POST
2006-12-25 12:37:04 +00:00
Igor Sysoev
26db569df0
style fix: remove trailing spaces
2006-12-24 21:07:34 +00:00
Igor Sysoev
ec810aef85
bump version
2006-12-24 18:42:26 +00:00
Igor Sysoev
17b0e8722a
fix segfault
2006-12-22 13:05:07 +00:00
Igor Sysoev
4e08b9c17a
fix debug log
2006-12-20 19:38:06 +00:00
Igor Sysoev
03011fa512
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
c996d3250d
bump version
2006-12-14 23:22:34 +00:00
Igor Sysoev
f367b11a62
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
55269a70cf
allow "perl" inside "limit_except"
2006-12-14 22:13:33 +00:00
Igor Sysoev
acbcd9da7f
DELETE may not have the "Depth" header
2006-12-14 22:12:42 +00:00
Igor Sysoev
fc99b009bc
fix number of arguments
2006-12-14 22:11:52 +00:00
Igor Sysoev
6778476a66
bump version
2006-12-13 15:11:27 +00:00
Igor Sysoev
db4e43c225
fix msvc build failure
2006-12-13 15:06:46 +00:00
Igor Sysoev
b6ef94f49b
$r->status
2006-12-13 13:49:56 +00:00
Igor Sysoev
5a4344f5f8
add HTTP response codes
2006-12-13 12:31:58 +00:00
Igor Sysoev
df88a81783
fix ngx_http_perl_sleep_handler()
2006-12-13 12:30:57 +00:00
Igor Sysoev
65b8a197b9
$r->variable() supports perl only variables
2006-12-12 22:06:03 +00:00
Igor Sysoev
e773324c30
$r->sleep()
2006-12-12 20:59:24 +00:00
Igor Sysoev
332efbc412
style fix
2006-12-12 20:58:41 +00:00
Igor Sysoev
7e8dd2578a
fix $r->has_request_body()
2006-12-12 20:57:48 +00:00
Igor Sysoev
d1985e91f5
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
e8c5dc6ff4
$r->log_error()
2006-12-12 19:33:13 +00:00
Igor Sysoev
bf3aaac7ac
rewritten upstream
2006-12-12 16:46:16 +00:00
Igor Sysoev
63ba5a61b5
fix highly unlikely bug
2006-12-12 15:46:53 +00:00
Igor Sysoev
169efce947
bump version
2006-12-12 14:17:04 +00:00
Igor Sysoev
2fb2a8dbf9
upstream name was tried to resolve
2006-12-11 15:12:07 +00:00
Igor Sysoev
b8989b9694
bump version
2006-12-11 11:05:54 +00:00
Igor Sysoev
5d118d3f77
fix fastcgi and memcached upstreams
2006-12-11 08:59:30 +00:00
Igor Sysoev
cf100a7827
fix post_action for disconnected client
2006-12-11 08:31:54 +00:00
Igor Sysoev
e60b99f1d0
TCP upstreams always used the first TCP upstream with the same name
2006-12-11 08:25:03 +00:00
Igor Sysoev
a19ed3eddd
fix when last htpasswd line has no CR or LF
2006-12-06 14:17:42 +00:00
Igor Sysoev
8f98581bbf
the previous fix does not actually fix overflow
2006-12-06 11:33:18 +00:00
Igor Sysoev
8b6844c747
fix msec overflow
2006-12-05 20:30:05 +00:00
Igor Sysoev
67effaff99
bump version
2006-12-04 17:05:07 +00:00
Igor Sysoev
3d2fd18a39
upstream choice modules
2006-12-04 16:46:13 +00:00
Igor Sysoev
90d7bb2b13
the PERL_NO_GET_CONTEXT is actually required, see perlguts
2006-11-28 13:20:34 +00:00
Igor Sysoev
a8c54c082c
axe old % log format
2006-11-27 14:46:15 +00:00
Igor Sysoev
f9ad2f1545
bump version to 0.5.0
2006-11-27 14:34:42 +00:00
Igor Sysoev
9a29d129f2
add comment
2006-11-26 16:56:41 +00:00
Igor Sysoev
36d520d686
fix segfaults in future workers those will use old configuration,
...
if new configuration failed
2006-11-26 15:35:02 +00:00
Igor Sysoev
f9b7db5aaa
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
ac6e1c1254
add debug logging
2006-11-25 23:27:34 +00:00
Igor Sysoev
fab5acdd28
fix recursive perl_set variable call
2006-11-25 23:27:06 +00:00