Igor Sysoev
b41a838b12
TransmitPackets(), ConnectEx(), and DisconnectEx()
2007-11-11 18:56:50 +00:00
Igor Sysoev
84c7b781d1
fix win32 glob
2007-11-11 17:50:47 +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
f544967693
do not encode already encoded characters in msie_refresh
2007-11-09 13:17:58 +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
eae2ca31df
fix segfaults
2007-11-08 15:20:56 +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
13b4ba87e3
use uname(2) instead of /proc/, this allows to run nginx in chroot
2007-10-26 16:38:53 +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
3237929d65
64-bit update lost in r1355
2007-10-23 14:09:12 +00:00
Igor Sysoev
47df56d5d5
style fix
2007-10-22 15:22:08 +00:00
Igor Sysoev
39bd97db14
bump version
2007-10-22 11:24:05 +00:00
Igor Sysoev
5da76f13a5
fix building broken in r1593
2007-10-22 10:28:03 +00:00
Igor Sysoev
5c422fd820
unescape SSI include
2007-10-22 10:19:17 +00:00
Igor Sysoev
bffca907d1
server_tokens
2007-10-22 10:17:34 +00:00
Igor Sysoev
42f2628016
fix typo
2007-10-22 10:15:48 +00:00
Igor Sysoev
56572af092
fix segfault
2007-10-22 10:15:27 +00:00
Igor Sysoev
e3357b4b13
style fix
2007-10-18 16:20:21 +00:00
Igor Sysoev
d9757fabbe
style fix
2007-10-18 16:12:55 +00:00
Igor Sysoev
d3dc3cb0a4
style fix
2007-10-18 16:05:48 +00:00
Igor Sysoev
c2aa32b013
fix typo
2007-10-18 15:53:38 +00:00
Igor Sysoev
9fcc52f466
merge_slashes
2007-10-18 11:36:58 +00:00
Igor Sysoev
728c994e8d
allow full URL without URI part: "GET http://host HTTP/1.0"
2007-10-18 11:33:31 +00:00
Igor Sysoev
2c6ba1646d
gzip_vary
2007-10-18 11:29:34 +00:00
Igor Sysoev
d8712ad9bb
do not discard body if it has been already read
2007-10-18 11:29:15 +00:00
Igor Sysoev
b3e07a9e02
Cygwin can not pass SCM_RIGHTS via unix socket, use signals
2007-10-18 11:28:21 +00:00
Igor Sysoev
d5e8d2311f
fix segfault if no server_name was defined
2007-10-17 13:22:26 +00:00
Igor Sysoev
dc9206049d
style fix
2007-10-17 13:21:20 +00:00
Igor Sysoev
144e68ff7c
fix building broken in r1578
2007-10-16 19:22:27 +00:00
Igor Sysoev
b0751fde34
delete code that should be deleted in r1576
2007-10-16 17:51:47 +00:00
Igor Sysoev
81c25d266f
Cygwin support
2007-10-16 14:14:30 +00:00
Igor Sysoev
d8e91f47be
avoid segfault if poll is used and endless loop if select is used
2007-10-16 14:12:52 +00:00
Igor Sysoev
cf09fc0add
use ngx_sha1.h
2007-10-16 12:17:11 +00:00
Igor Sysoev
111b034ee8
ngx_sha1.h
2007-10-16 12:16:58 +00:00
Igor Sysoev
3e34d90164
ngx_md5.h
2007-10-16 11:59:47 +00:00
Igor Sysoev
72dd95b480
bump version
2007-10-15 11:32:09 +00:00
Igor Sysoev
ad8723ae80
use real weight, do not downground to one
2007-10-15 10:15:54 +00:00
Igor Sysoev
531115412f
memcached did not set $upstream_response_time
2007-10-15 09:46:36 +00:00
Igor Sysoev
859fded207
fix segfault when $date_local or $date_gmt are used outside ssi module
2007-10-14 19:04:23 +00:00
Igor Sysoev
2e4e39296a
fix English grammar
2007-10-14 18:56:15 +00:00
Igor Sysoev
1a344ced38
optimization
2007-10-10 13:58:47 +00:00
Igor Sysoev
b8baad1936
style fix: remove double semicolons
2007-10-09 20:11:03 +00:00
Igor Sysoev
1faaf3ac9a
allow access_log inside limit_except
2007-10-09 18:45:49 +00:00
Igor Sysoev
34f87ac373
%v fix lost in r1407
2007-10-09 18:44:59 +00:00
Igor Sysoev
df7cac2b02
style fix: remove trailing spaces
2007-10-09 18:42:00 +00:00
Igor Sysoev
1b528b45da
use pool instead of ngx_conf_t
2007-10-08 08:55:12 +00:00
Igor Sysoev
4f7f6b33a3
optimization
2007-10-08 04:59:26 +00:00
Igor Sysoev
21043e8ffe
*) 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
a472d89407
fix r1552 and r1464: test max fails in correct peer
2007-10-02 12:34:16 +00:00
Igor Sysoev
6bf1224438
fix empty string replacement in sub_filter
2007-10-01 16:24:15 +00:00
Igor Sysoev
183b4db9f3
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
5e1a14b2b1
use ngx_strnstr()
2007-10-01 14:48:45 +00:00
Igor Sysoev
2c924bac25
ngx_strnstr()
2007-10-01 14:48:33 +00:00
Igor Sysoev
97ffb89fd5
fix r1464: test max fails in correct peer
2007-10-01 14:45:31 +00:00
Igor Sysoev
15ae439ba8
add comment
2007-10-01 13:00:30 +00:00
Igor Sysoev
24bcae3edb
pass length clearly
2007-10-01 12:57:47 +00:00
Igor Sysoev
1f187b3892
style fix
2007-09-29 11:45:46 +00:00
Igor Sysoev
cb16d14fca
add time and length to a HEAD request
2007-09-28 09:48:25 +00:00
Igor Sysoev
6e95d33eb0
omit trailing zero in directory name
2007-09-27 09:39:29 +00:00
Igor Sysoev
e90ee470d4
SSI echo encoding
2007-09-27 09:37:09 +00:00
Igor Sysoev
ed203139f6
ngx_escape_html()
2007-09-27 09:36:50 +00:00
Igor Sysoev
21b063f499
use ngx_strstrn() and ngx_strcasestrn()
2007-09-26 19:26:14 +00:00
Igor Sysoev
b15f13ccf0
ngx_strstrn() and ngx_strcasestrn()
2007-09-26 19:25:52 +00:00
Igor Sysoev
773786c1c4
fix comment
2007-09-26 12:23:34 +00:00
Igor Sysoev
0d2160c48d
bump version
2007-09-24 04:18:22 +00:00
Igor Sysoev
93378db666
fix file leak for HEAD requests
2007-09-22 17:56:05 +00:00
Igor Sysoev
be3081d599
bump version
2007-09-21 14:41:05 +00:00
Igor Sysoev
b65a6a826c
fix "AUTH PLAIN [initial-response]" bug introduced in r1477
2007-09-21 14:08:50 +00:00
Igor Sysoev
9679e39c59
use "_" instead of " " as new line substitute, do not delete trailing new line
2007-09-21 13:47:33 +00:00
Igor Sysoev
fbe4862a64
fix r1416
2007-09-21 13:43:53 +00:00
Igor Sysoev
327a39aaf6
log starttls
2007-09-20 11:08:14 +00:00
Igor Sysoev
6a5cc2396e
u_char* is enough to keep file name
2007-09-15 17:11:06 +00:00
Igor Sysoev
a1e85aa6b6
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
fb598fe906
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
2007-09-15 16:51:16 +00:00
Igor Sysoev
4cb8d374bf
style fix: remove trailing spaces
2007-09-14 15:04:45 +00:00
Igor Sysoev
a3b995f5b2
create salt just before it will be used
2007-09-14 15:00:19 +00:00
Igor Sysoev
d3fdc28bc3
fix r1482
2007-09-14 14:56:46 +00:00
Igor Sysoev
d36a9ff7e1
ngx_mail_smtp_create_buffer()
2007-09-14 14:13:25 +00:00
Igor Sysoev
c9f1aada71
optimizations
2007-09-14 14:04:24 +00:00
Igor Sysoev
7ccf7b35da
smtp_client_buffer and smtp_greeting_delay
2007-09-14 13:58:49 +00:00
Igor Sysoev
4b4a64b80b
move event handling to protocol specific code,
...
it is required to support SMTP greeting delay
2007-09-14 10:42:19 +00:00
Igor Sysoev
94b0b06dc1
optimizations
2007-09-13 21:24:27 +00:00
Igor Sysoev
467d739f89
small optimizations
2007-09-13 20:32:52 +00:00
Igor Sysoev
7aa63131c7
style fix and optimizations
2007-09-13 20:27:28 +00:00
Igor Sysoev
06c3f18113
split pop3, imap, and smtp handlers
2007-09-13 20:13:18 +00:00
Igor Sysoev
f0e951e23e
bump version
2007-09-11 13:21:30 +00:00
Igor Sysoev
45ab454787
decrement active connection counter in mail proxy
2007-09-11 10:22:12 +00:00
Igor Sysoev
ebe6ec98b3
response to the HEAD request should be a header only
2007-09-11 06:34:18 +00:00
Igor Sysoev
26331129dc
64-bit update lost in r1355
2007-09-10 09:08:12 +00:00
Igor Sysoev
384ae47203
connection error should be logged with "connecting to upstream" action,
...
the bug was introduced in r1154
2007-09-09 18:43:16 +00:00
Igor Sysoev
8df6cc83b5
read EOF of header only responses in non-buffered proxying
2007-09-09 18:32:53 +00:00
Igor Sysoev
67ff3bcccd
there may be several "Connection" header lines and each may have several tokens
2007-09-09 18:28:49 +00:00
Igor Sysoev
d911dbb292
escape internal request URI in proxy_pass
2007-09-09 18:25:03 +00:00
Igor Sysoev
373a10cff1
balance more fair when there are several servers with equal weights,
...
side effect: now smallest weights go first
2007-09-09 18:23:21 +00:00
Igor Sysoev
c072d218d1
style fix
2007-09-07 09:29:08 +00:00
Igor Sysoev
11cb8111fa
fix case when server was marked as down after one failure
2007-09-05 15:30:19 +00:00
Igor Sysoev
9db497a7fd
backout r1426: return dynamic weights
2007-09-05 15:28:19 +00:00
Igor Sysoev
0510116c34
bump version
2007-09-03 10:35:02 +00:00
Igor Sysoev
3eeb5f6845
test the most relevant condition first
2007-09-03 09:06:26 +00:00
Igor Sysoev
cd77964df6
open_file_cache_events
2007-09-03 08:41:42 +00:00
Igor Sysoev
ea414bb402
fix unlikely socket leak
2007-09-01 16:41:52 +00:00
Igor Sysoev
029cfdac86
fix socket leak introduced in r1374 when request header and body was
...
in one packet and connection went to keep-alive state
2007-09-01 16:40:19 +00:00
Igor Sysoev
fa7f65761c
open_file_cache in HTTP
2007-09-01 12:12:48 +00:00
Igor Sysoev
5d30aa5e86
open file cache
2007-09-01 12:11:21 +00:00
Igor Sysoev
9f94c4abb8
change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr
2007-09-01 12:05:55 +00:00
Igor Sysoev
07cb5d3c46
NGX_USE_VNODE_EVENT and NGX_FLUSH_EVENT
2007-09-01 11:59:36 +00:00
Igor Sysoev
5704a5f1ed
add comment
2007-09-01 11:21:00 +00:00
Igor Sysoev
1641196a88
update comments
2007-09-01 09:33:25 +00:00
Igor Sysoev
bad2d75e62
allow to append charset to the "Content-Type" header
2007-08-31 18:47:25 +00:00
Igor Sysoev
0ffbc71642
style fix
2007-08-31 12:13:12 +00:00
Igor Sysoev
a5babdacd6
update comment
2007-08-31 09:50:23 +00:00
Igor Sysoev
73d021789e
style fix
2007-08-31 09:41:45 +00:00
Igor Sysoev
d1bdda37e0
use ev->log, because ev->data may be connection stub only
2007-08-31 09:40:38 +00:00
Igor Sysoev
305194e79b
style fix
2007-08-31 09:22:53 +00:00
Igor Sysoev
b5f0c83025
fix typo
2007-08-31 06:15:50 +00:00
Igor Sysoev
8c1b31e32e
destroy ngx_cycle->pool on exit
2007-08-30 18:59:44 +00:00
Igor Sysoev
8518844fba
win32 ngx_is_exec() stub
2007-08-30 18:57:38 +00:00
Igor Sysoev
1c98a2c5e9
log socket number
2007-08-29 15:33:59 +00:00
Igor Sysoev
6f10471450
If-Modified-Since should be unique header line
2007-08-29 15:32:49 +00:00
Igor Sysoev
02867d3b46
add guard code
2007-08-29 11:26:42 +00:00
Igor Sysoev
f8aa43a771
fix comment
2007-08-29 07:19:22 +00:00
Igor Sysoev
fc0be99221
disable pair event on POLLREMOVE
2007-08-29 07:18:54 +00:00
Igor Sysoev
fe4494bfb4
bump version
2007-08-28 16:44:29 +00:00
Igor Sysoev
2d7e880663
return 400 response
2007-08-27 20:52:40 +00:00
Igor Sysoev
73c21fbc67
do not set read->eof, ready, and error prematurely
2007-08-27 19:44:35 +00:00
Igor Sysoev
16d586c0c4
cancel dynamic weights,
...
it seems that may permanently set lower weight or even mark server as down
2007-08-27 16:02:43 +00:00
Igor Sysoev
3244743f4b
optimize r->connection in ngx_http_finalize_request()
2007-08-27 15:53:00 +00:00
Igor Sysoev
a5af428550
cancel keep-alive and lingering close on EOF
2007-08-27 15:40:19 +00:00
Igor Sysoev
7545944a3f
cancel discarding body on EOF
2007-08-27 15:38:46 +00:00
Igor Sysoev
5461cb4ad6
mark connection as not ready, this fixes endless loop introduced in r1368
2007-08-27 15:01:08 +00:00
Igor Sysoev
83a74ef59d
add guard code to prevent endless loop
2007-08-24 15:58:13 +00:00
Igor Sysoev
9258af522c
update ip_hash to "backup" option
2007-08-24 15:30:35 +00:00
Igor Sysoev
44c50a5b5b
set current peer to use it in ngx_http_upstream_free_round_robin_peer()
2007-08-24 15:29:50 +00:00
Igor Sysoev
71f527a847
fix ip_hash on 64-bit platform
2007-08-24 15:28:06 +00:00
Igor Sysoev
d3345e465f
fix trailing wildcard when two or more listen used in one server
2007-08-24 11:05:47 +00:00
Igor Sysoev
04f030eb44
fix build on amd64
2007-08-21 11:05:11 +00:00
Igor Sysoev
3ca15678cc
bump version
2007-08-20 13:10:25 +00:00
Igor Sysoev
8ad43bb779
set delay only when almost whole sendfile_max_chunk was transferred
2007-08-20 10:35:41 +00:00
Igor Sysoev
3d442cfe0f
test relative nginx.conf, this is compatible with old versions
...
because cycle->root on this stage is not set
2007-08-20 10:05:10 +00:00
Igor Sysoev
519bb30b6c
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
fc62e7a845
escape " ", "%", and %00-%1F in login and password
2007-08-20 09:50:53 +00:00
Igor Sysoev
c2c3841c82
set worker_priority, worker_rlimit_nofile, worker_rlimit_core, and
...
worker_rlimit_sigpending without super-user privileges testing
2007-08-15 20:53:30 +00:00
Igor Sysoev
2fb58ed49e
auto redirect lost arguments
2007-08-15 15:57:26 +00:00
Igor Sysoev
22b8d513ea
bump version
2007-08-15 12:58:35 +00:00
Igor Sysoev
f733811589
upstream sendfile bit was overridden by r->connection->sendfile
2007-08-14 20:44:09 +00:00
Igor Sysoev
338bf13e7c
test http_auth absence
2007-08-14 15:21:20 +00:00
Igor Sysoev
9b0a311e18
allow "http://" in auth_http URL
2007-08-14 15:00:38 +00:00
Igor Sysoev
04c357cc81
stop configuration on error
2007-08-14 14:57:51 +00:00
Igor Sysoev
e743193c2d
fix long loop
2007-08-14 13:35:52 +00:00
Igor Sysoev
98f422bd09
regex in valid_referers
2007-08-12 20:06:43 +00:00
Igor Sysoev
8a7b4af8b5
regex in server_name
2007-08-12 19:48:12 +00:00
Igor Sysoev
8b6afa26fa
fix building by bcc without PCRE
2007-08-12 15:25:09 +00:00
Igor Sysoev
92971a4746
style fix
2007-08-12 09:00:56 +00:00
Igor Sysoev
1f36f2b49e
ignore meaningless bits in CIDR and warn about them
2007-08-10 13:13:28 +00:00
Igor Sysoev
f9827bbc56
sort upstream weights
2007-08-09 15:28:17 +00:00
Igor Sysoev
73d67a9729
backup upstream servers
2007-08-09 13:54:33 +00:00
Igor Sysoev
c5245bab92
set default listen() backlog to 511 on all platforms except FreeBSD
2007-08-09 13:32:21 +00:00
Igor Sysoev
14301cb098
"down" server caused endless loop
2007-08-07 12:34:20 +00:00
Igor Sysoev
35cac46a0b
omit unnecessary conditions
2007-08-07 10:56:09 +00:00
Igor Sysoev
642079e468
discard request body before going to keep-alive state and use lingering timeouts
2007-08-07 10:53:27 +00:00
Igor Sysoev
fc0ee2428d
omit unnecessary XSRETURN_EMPTY
2007-08-06 15:40:26 +00:00
Igor Sysoev
cff9ac37b3
$r->discard_request_body
2007-08-06 15:38:08 +00:00
Igor Sysoev
695ba73268
rename ngx_http_discard_body() to ngx_http_discard_request_body()
2007-08-06 15:37:22 +00:00
Igor Sysoev
b0e8daec9e
block reading for level events
2007-08-06 15:31:00 +00:00
Igor Sysoev
49b05f246f
rename ngx_http_block_read() and ngx_http_test_read() to ..._reading()
2007-08-06 15:22:40 +00:00
Igor Sysoev
2cdf0a727c
discard request body in cycle
2007-08-06 15:18:24 +00:00
Igor Sysoev
2e136a5d5b
move "Expires" header code to a separate function
2007-08-01 19:32:58 +00:00
Igor Sysoev
83b5a672b6
move "Cache-Control" header code to specific handler
2007-08-01 15:24:06 +00:00
Igor Sysoev
e2e211d381
style fix
2007-08-01 14:22:12 +00:00
Igor Sysoev
77ef1f5452
use header specific handler in add_handler,
...
"Last-Modified" header handler
2007-08-01 14:01:30 +00:00
Igor Sysoev
feedad72be
bump version
2007-07-30 09:23:26 +00:00
Igor Sysoev
5385801f35
make 64-bit ngx_int_t on 64-bit platforms
2007-07-29 18:24:53 +00:00
Igor Sysoev
c4d0f5b0ae
named location
2007-07-29 18:11:39 +00:00
Igor Sysoev
37f3097fbe
--sysconfdir=DIR
2007-07-29 18:05:45 +00:00
Igor Sysoev
a23e82a839
$is_args
2007-07-29 17:56:56 +00:00
Igor Sysoev
b8af806a0b
allow to set $args
2007-07-29 17:55:37 +00:00
Igor Sysoev
a6d25b840f
fair upstream weight balancer
2007-07-28 16:04:01 +00:00
Igor Sysoev
df16faee5a
fix case when client has closed connection but upstream buffer is not empty
2007-07-24 18:08:04 +00:00
Igor Sysoev
c89fce22ce
fix case when two directives
...
proxy_pass http://backend ;
proxy_pass https://backend ;
both use one port - 80 or 443, that was defined first.
2007-07-23 12:35:21 +00:00
Igor Sysoev
87f9fc6094
style fix
2007-07-23 12:32:34 +00:00
Igor Sysoev
c534c63601
bump version
2007-07-23 08:12:24 +00:00
Igor Sysoev
f048c9a001
escape space, etc in $memcached_key
2007-07-22 19:18:59 +00:00
Igor Sysoev
7f54b9eb77
omit unnecessary code
2007-07-22 19:11:52 +00:00
Igor Sysoev
00aa2a9631
$nginx_version
2007-07-22 13:12:16 +00:00
Igor Sysoev
5d06f9b142
IMAP AUTHENTICATE
...
patch by Maxim Dounin
2007-07-20 19:38:08 +00:00
Igor Sysoev
8241fb2998
SMTP STARTTLS
...
patch by Maxim Dounin
2007-07-20 18:36:04 +00:00
Igor Sysoev
8aa60b3191
exit cycle early,
...
found by Coverity's Scan
2007-07-19 19:12:36 +00:00
Igor Sysoev
26022f76a6
fix potential double free(),
...
found by Coverity's Scan
2007-07-19 19:11:57 +00:00
Igor Sysoev
100d0f42ad
fix potential segfault,
...
found by Coverity's Scan
2007-07-19 19:08:22 +00:00
Igor Sysoev
260cba9111
fix memory leak,
...
found by Coverity's Scan
2007-07-19 19:07:13 +00:00
Igor Sysoev
b56f4e953c
bump version
2007-07-17 10:15:07 +00:00
Igor Sysoev
ac2375f0f9
Sun Studio on sparc uses different bit order
2007-07-17 09:23:23 +00:00
Igor Sysoev
00beec63d5
Sun Studio 12 compatibility
2007-07-16 08:54:04 +00:00
Igor Sysoev
a2f7a8ba87
--with-cpu-opt=sparc32 and --with-cpu-opt=sparc64
2007-07-15 20:09:14 +00:00
Igor Sysoev
fb427d3bad
msie_refresh should escape at least '"' to prevent XSS
2007-07-13 09:37:01 +00:00
Igor Sysoev
78300bff51
"?" should not be escaped
2007-07-13 09:35:51 +00:00
Igor Sysoev
9d22064182
dav_access uses ngx_conf_set_access_slot()
2007-07-13 08:32:12 +00:00
Igor Sysoev
93a49ec586
proxy_store and fastcgi_store were changed,
...
proxy_store_access and fastcgi_store_access were added
2007-07-13 08:30:34 +00:00
Igor Sysoev
bf08751a0f
bump version
2007-07-12 11:35:57 +00:00
Igor Sysoev
3ff8cde26d
proxy_store and fastcgi_store
2007-07-12 11:19:05 +00:00
Igor Sysoev
aceadba26b
style fix
2007-07-11 20:12:26 +00:00
Igor Sysoev
02279c26bf
style fix
2007-07-11 13:06:54 +00:00
Igor Sysoev
bfab8ca187
reset errno
2007-07-11 10:46:21 +00:00
Igor Sysoev
3c46293a23
fix segfault when event port returns POLLERR without POLLIN or POLLOUT
2007-07-11 10:45:55 +00:00
Igor Sysoev
d2165b3f83
fix segfault when CRAM-MD5 is not enabled but client tries it
2007-07-11 07:47:57 +00:00
Igor Sysoev
04216efe18
fix memory allocation for auth_http_header
2007-07-10 21:26:51 +00:00
Igor Sysoev
cd23e55fe1
fix segfault when session was freed twice
2007-07-10 21:04:37 +00:00
Igor Sysoev
8833495f15
proxy_ignore_client_abort, fastcgi_ignore_client_abort, and so on were
...
broken by r1111
2007-07-10 20:53:45 +00:00
Igor Sysoev
bbb3401960
bump version
2007-07-09 07:09:38 +00:00
Igor Sysoev
b54acaa1de
fix headers split in FastCGI records
2007-07-09 06:30:53 +00:00
Igor Sysoev
07be9c08f3
omit unnecessary conditions
2007-07-08 09:38:37 +00:00
Igor Sysoev
2497b14b22
when the FastCGI header was split in records,
...
nginx passed garbage in the header to a client
2007-07-08 09:16:36 +00:00
Igor Sysoev
5db84b1a9f
add comment
2007-07-06 11:28:20 +00:00
Igor Sysoev
3fb0cd4a5e
bump version
2007-06-17 19:27:34 +00:00
Igor Sysoev
5bccc49372
if a subrequest was finished and SSI was in middle of SSI command parsing
...
and the command was a fast subrequest then the second subrequest output
was just after first subrequest output and response part of main request
between the subrequests went after the second subrequest.
2007-06-17 18:10:43 +00:00
Igor Sysoev
61e4e2c457
if "<!--" was on edge of buf, then ssi_sharp_state was saved in ctx->saved
...
and if it was not reset, then any '#' was treated as SSI command start
2007-06-17 17:54:48 +00:00
Igor Sysoev
20a1bd00af
if subrequest response was buffered in file, then subrequest was finalized
...
with 0 code, ngx_http_writer() was not set, and response part in file was lost
2007-06-17 09:29:15 +00:00
Igor Sysoev
36477e0c0e
fix building on threaded or multiplicity interpreter perl,
...
the bug was introduced by previous commit
2007-06-16 09:22:37 +00:00
Igor Sysoev
65327a2637
set worker's perl $$
2007-06-15 12:20:23 +00:00
Igor Sysoev
ceaab041e0
bump version
2007-06-14 05:48:47 +00:00
Igor Sysoev
5fb6ed90af
the "www.example.*" wildcard hash support
2007-06-11 19:49:22 +00:00
Igor Sysoev
86364a7ca5
bump version
2007-06-11 19:32:29 +00:00
Igor Sysoev
5b2574b83d
bump version
2007-06-08 05:43:05 +00:00
Igor Sysoev
2fe63dee3c
fix building --without-http_rewrite_module, the bug was introduced in r1236
2007-06-08 05:40:59 +00:00
Igor Sysoev
6882372c9b
style fix
2007-06-07 14:33:02 +00:00
Igor Sysoev
02c95ba8a4
style fix
2007-06-07 12:20:34 +00:00
Igor Sysoev
f977e1103e
namespace may be set via $memcached_key
2007-06-07 12:15:27 +00:00
Igor Sysoev
ac45ac66c9
strstr() -> strchr()
2007-06-06 12:24:10 +00:00
Igor Sysoev
16df8021ab
eliminate old unused typedef
2007-06-06 08:11:33 +00:00
Igor Sysoev
a8dc68ba1b
fix bug introduced in r1228
2007-06-06 05:56:51 +00:00
Igor Sysoev
8e485d04d9
change wording
2007-06-05 11:55:39 +00:00
Igor Sysoev
8eeb341edc
use pointer to an array instead of array for inclusive locations inside location
2007-06-05 11:42:59 +00:00
Igor Sysoev
aa0bbf84c3
optimize regex location search
2007-06-05 06:44:08 +00:00
Igor Sysoev
17ba2a36bd
forbid alias inside location given by regular expression
2007-06-04 20:45:45 +00:00
Igor Sysoev
6166591548
fix ssl_verify_client for HTTP/0.9
2007-06-04 20:40:03 +00:00
Igor Sysoev
717afa010e
style fix
2007-06-04 20:00:06 +00:00
Igor Sysoev
ececb5c67e
bump version
2007-06-04 16:14:33 +00:00
Igor Sysoev
56c647f239
fastcgi_catch_stderr
2007-06-04 13:52:47 +00:00
Igor Sysoev
ac669b88f7
inherit flush flag, this fixes https proxying
2007-06-03 19:58:30 +00:00
Igor Sysoev
16116a1e57
add debug logging
2007-06-03 19:56:27 +00:00
Igor Sysoev
68e482d875
add comment
2007-05-30 13:24:50 +00:00
Igor Sysoev
a9f6f42376
do listen() just after bind() to exit early
2007-05-30 13:23:48 +00:00
Igor Sysoev
d3484d108c
style fix
2007-05-30 12:28:37 +00:00
Igor Sysoev
c600b9009e
change wording
2007-05-29 19:43:18 +00:00
Igor Sysoev
5e4fa400d6
PERL_SYS_TERM() should be called once on exit only, this fixes the message
...
panic: MUTEX_LOCK (22) [op.c:352].
BEGIN failed--compilation aborted.
... [alert] ... perl_parse() failed: 9
Scalars leaked: 2
on threaded perl during second reconfiguration.
PERL_SYS_INIT() should be called once too.
2007-05-29 18:48:42 +00:00
Igor Sysoev
8a024b7e8e
fix segfault
2007-05-29 16:33:34 +00:00
Igor Sysoev
193c456a45
SNI support
2007-05-29 15:21:09 +00:00
Igor Sysoev
abeea7a54e
bump version
2007-05-29 12:15:04 +00:00
Igor Sysoev
c23a155b3d
an request body might not be passed to backend,
...
the bug was introduced in r1212
2007-05-29 12:06:42 +00:00
Igor Sysoev
156d855be9
bump version
2007-05-28 19:03:06 +00:00
Igor Sysoev
d8903d3073
fix "proxy_pass https://"
2007-05-28 11:09:18 +00:00
Igor Sysoev
27c0ba7b1d
style fix
2007-05-23 18:28:54 +00:00
Igor Sysoev
b8ab862e2c
use stable search where it is required
2007-05-21 14:09:12 +00:00
Igor Sysoev
c118274426
ngx_sort
2007-05-21 14:05:23 +00:00
Igor Sysoev
ccd05f129f
use memory optimization for i386 and amd64 only:
...
this fixes SIGBUS in PCRE on sparc64
2007-05-21 13:49:35 +00:00
Igor Sysoev
41ecc76aa9
fix worker endless loop on 64-bit platform if 33+ backend has fall
2007-05-21 13:48:14 +00:00
Igor Sysoev
8acd9d77f1
style fix
2007-05-19 17:39:44 +00:00
Igor Sysoev
c89fb69905
style fix
2007-05-17 18:07:28 +00:00
Igor Sysoev
3bc7f6ab9a
bump version
2007-05-07 14:39:11 +00:00
Igor Sysoev
0dcbd9f7db
limit minimal pool size
2007-05-07 09:20:42 +00:00
Igor Sysoev
a45a5c06cd
style fix
2007-05-07 08:49:15 +00:00
Igor Sysoev
e176c216e2
add debug log
2007-05-07 07:04:00 +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
d4d5c5f1cd
fix building by owc12
2007-05-05 05:50:41 +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
c7ae03e5c7
fix atomic operations on sparc64 built by SunPro C
2007-04-27 14:36:28 +00:00
Igor Sysoev
dd5f133823
bump version
2007-04-24 06:26:56 +00:00
Igor Sysoev
92d32ca112
fix sendfile on 64-bit Linux and limit_rate on all 64-bit platforms
...
for 2G+ files
2007-04-23 21:32:13 +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
c4d5388883
style fix
2007-04-18 19:43:22 +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
57f768d843
ngx_ssl_recv_chain() must not update buf->last,
...
it fixes proxy_pass https://...
2007-03-31 19:48:48 +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
bcc2fc2937
fix building without --with-debug on Solaris
2007-03-21 11:16:14 +00:00
Igor Sysoev
071f2f0227
bump version
2007-03-19 14:58:30 +00:00
Igor Sysoev
8b42ba5553
Many changes:
...
*) rename imap to mail, sort pop3/imap functions
*) smtp auth support
*) pop3 starttls only
*) fix segfault if cram-md5 was used without apop
2007-03-19 13:36:56 +00:00
Igor Sysoev
d8385e558b
close keep-alive connections in the shuting down processes
2007-03-19 13:20:15 +00:00
Igor Sysoev
fa14014f00
worker processes did not exit after reconfiguration and
...
did not rotate logs if eventport was used
2007-03-07 10:25:16 +00:00
Igor Sysoev
c3f512ca0c
style fix
2007-03-06 20:29:08 +00:00
Igor Sysoev
324729aace
style fix
2007-03-06 20:17:50 +00:00
Igor Sysoev
93b0670668
bump version
2007-03-06 12:59:58 +00:00
Igor Sysoev
d13e82af6f
style fix
2007-03-06 12:18:45 +00:00
Igor Sysoev
4841bfc2a6
avoid endless loop
2007-03-06 11:02:35 +00:00
Igor Sysoev
c1dac7b9d0
decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL
2007-03-06 11:01:50 +00:00
Igor Sysoev
bbbbc62189
use the contemporary directives
2007-02-21 11:50:39 +00:00
Igor Sysoev
ddd6c0060f
ngx_log_error() > ngx_conf_log_error()
2007-02-20 15:47:54 +00:00
Igor Sysoev
a4597be5c7
use "goto" instead of indistinct "break"
2007-02-20 14:36:48 +00:00
Igor Sysoev
0b7ab4eb7b
stop on superfluous closing "}"
2007-02-20 14:33:26 +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
13397fc16e
ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms
2007-02-17 19:53:52 +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
9425f57a2a
close connection for too long commands
2007-02-15 13:30:19 +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
99417ab217
return error for too long commands
2007-02-14 20:45:19 +00:00
Igor Sysoev
2e32c0fc0d
ngx_strcasecmp()/ngx_strncasecmp()
2007-02-14 18:51:19 +00:00
Igor Sysoev
88dd7b6673
fix building on platforms with non-supported atomic operations
2007-02-14 13:52:47 +00:00
Igor Sysoev
e50c956ba5
bump version
2007-02-12 15:37:36 +00:00
Igor Sysoev
8b7bc193f4
correct r1100
2007-02-12 14:58:45 +00:00
Igor Sysoev
10af0f092a
fix building with ngx_http_perl_module
2007-02-12 13:19:12 +00:00
Igor Sysoev
cea125af7c
fix building on platforms with non-supported atomic operations
2007-02-11 07:49:12 +00:00
Igor Sysoev
90d1b9be12
fix segfault when a large FastCGI response was written to a temporary file
2007-02-09 14:02:42 +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
9e15143ce5
style fix
2007-01-31 07:31:50 +00:00
Igor Sysoev
487d5f55ca
allocate less memory on 64-bit platforms
2007-01-29 20:33:51 +00:00
Igor Sysoev
3ed7778548
shorten temporary names on 64-bit platforms
2007-01-29 20:28:00 +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
88c3e52258
fix segfault if nginx was build with -O2 -fomit-frame-pointer,
...
r1082 did not fix the bug
the bug lived for a long time but became apparent when nginx was
built with gcc 4.0.x -O2 optimization
2007-01-29 11:52:25 +00:00
Igor Sysoev
facdb56a28
bump version
2007-01-25 22:19:34 +00:00
Igor Sysoev
500025921f
fix segfault if nginx was build with -O2 -fomit-frame-pointer
...
(at least by gcc 4.0.2 and 4.0.3)
2007-01-25 22:01:23 +00:00
Igor Sysoev
b0a33d1ae2
fix online upgrade
2007-01-25 21:48:28 +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
886563bfd9
ngx_read_fd()
2007-01-18 20:39:30 +00:00
Igor Sysoev
cad434409d
NGX_FILE_WRONLY
2007-01-18 20:37:19 +00:00
Igor Sysoev
ce83ea1a10
ngx_file_access() and ngx_de_access()
2007-01-18 20:31:22 +00:00
Igor Sysoev
5af15b2e67
style fix
2007-01-18 20:25:11 +00:00
Igor Sysoev
7262f047c7
axe Win9X code
2007-01-18 20:24:30 +00:00
Igor Sysoev
8577c16e42
add comment
2007-01-18 20:23:16 +00:00
Igor Sysoev
2ab4ef302a
axe unused code
2007-01-18 20:22:40 +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
9e66d69a5f
style fix
2007-01-18 20:05:39 +00:00
Igor Sysoev
698028f2a0
rename mode to access
2007-01-18 19:52:18 +00:00
Igor Sysoev
1638434056
unused value
2007-01-18 19:49:00 +00:00
Igor Sysoev
3feb60b024
style fix: remove trailing spaces
2007-01-18 19:40:31 +00:00
Igor Sysoev
dd76caae14
fix log message
2007-01-18 14:28:34 +00:00
Igor Sysoev
a7f3f0a13a
fix FastCGI "zero size buf" alert,
...
the previous commit did not fix too
2007-01-18 07:07:55 +00:00
Igor Sysoev
3437907ea0
fix FastCGI "zero size buf" alert,
...
r841 did not fix it
2007-01-17 16:10:40 +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
925ea6d188
quick fix for case when ssl_session_cache defined,
...
but ssl is not enabled in any server
2007-01-15 17:48:31 +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
2985fe2d39
fix duplicate rbtree keys case
2007-01-12 20:57:34 +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
94e3ad5e7f
ngx_strn2cmp()
2007-01-12 20:15:59 +00:00
Igor Sysoev
709c3b78f4
make global the rbtree color handling macros
2007-01-12 19:48:30 +00:00
Igor Sysoev
c389d7ae21
add comment
2007-01-12 19:26:38 +00:00
Igor Sysoev
d732f6d1f2
fix comment
2007-01-12 18:05:41 +00:00
Igor Sysoev
f0d1ec5af2
axe aio drafts
2007-01-11 22:08:50 +00:00
Igor Sysoev
ea8833dc97
axe long ago unnecessary file
2007-01-11 22:05:15 +00:00
Igor Sysoev
f86553d497
fix slab allocator on 64-bit platfroms
2007-01-11 19:13:46 +00:00
Igor Sysoev
4a15616011
optimize the SSL session cache allocations on 64-bit platforms
2007-01-11 18:59:17 +00:00
Igor Sysoev
3e024877e3
fix slab allocator on 64-bit platfroms
2007-01-11 18:58:40 +00:00
Igor Sysoev
6601f8c4a0
ssl_session_timeout was set only if builtin cache was used
2007-01-11 18:57:09 +00:00
Igor Sysoev
ab1303fe90
optimize the SSL session cache allocations
2007-01-11 17:39:02 +00:00
Igor Sysoev
d5508779cd
stop rbtree search early if equal hash was found
2007-01-11 17:05:18 +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
85e2674eb8
optimization
2007-01-11 16:07:38 +00:00
Igor Sysoev
dbf31d5be7
optimize inlined code for gcc
2007-01-11 16:07:03 +00:00
Igor Sysoev
ebbf35eab3
use "r" instead of "q"
2007-01-11 16:00:02 +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
88c70f05ea
fix label name
2007-01-09 16:02:29 +00:00
Igor Sysoev
83ed52187b
free the unnecessary shared memory
2007-01-09 16:00:57 +00:00
Igor Sysoev
a7b43fe6a6
fix the comments
2007-01-09 16:00:07 +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
34267b11f9
d2i_SSL_SESSION() was changed in 0.9.7f
2007-01-08 16:20:33 +00:00
Igor Sysoev
f134de9c44
style fix
2007-01-07 22:44:56 +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
44b18ea6f9
fix zero size shared zones
2007-01-06 18:52:06 +00:00
Igor Sysoev
2bab3862cd
fix segfault
2007-01-06 13:01:26 +00:00
Igor Sysoev
7233e3c1d4
style fix: remove trailing spaces
2007-01-03 18:12:32 +00:00
Igor Sysoev
bf5891c46b
IMAP ssl_session_cache
2007-01-03 16:11:53 +00:00
Igor Sysoev
f75d8d8013
fix segfaults
2007-01-03 15:43:01 +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
baf3d4d28f
ngx_shared_memory_add()
2007-01-02 23:54:14 +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
53eba460fe
OPENSSL_config()
2007-01-02 23:32:41 +00:00
Igor Sysoev
ee4701d071
style fix
2007-01-02 23:12:24 +00:00
Igor Sysoev
66bc7e4064
many bug fixes and ngx_slab_alloc_locked()/ngx_slab_free_locked()
2007-01-02 23:10:42 +00:00
Igor Sysoev
5f357745a4
a sentinel must be black
2007-01-02 23:04:54 +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
ca61b6709c
increase Linux osrelease string lentgh
2006-12-26 11:50:56 +00:00
Igor Sysoev
54f5c78b41
recursive DELETE
2006-12-25 12:38:44 +00:00
Igor Sysoev
2e38c717f6
ngx_walk_tree()
2006-12-25 12:38:00 +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
aff04b4944
worker_rlimit_core supports size in K, M, and G
2006-12-24 18:13:06 +00:00
Igor Sysoev
9a995322da
add comment
2006-12-24 13:11:41 +00:00
Igor Sysoev
b9110d1ba7
the -V switch
2006-12-23 19:54:21 +00:00
Igor Sysoev
eeba2a00d6
lower the log level of the waitpid() ENOCHILD error on FreeBSD
2006-12-23 15:05:26 +00:00
Igor Sysoev
dad6ea1aaf
fix for Linix/ppc64 or FreeBSD/amd64 in 32-bit mode,
...
the same as in r934
2006-12-22 20:30:26 +00:00
Igor Sysoev
a3478c164c
fix segfault
2006-12-22 13:05:07 +00:00
Igor Sysoev
ce561be352
test Darwin 8 atomic(3)
2006-12-22 12:54:08 +00:00
Igor Sysoev
eb4e54e202
use MacOSX atomic(3) and barrier(3) operations
2006-12-21 16:33:31 +00:00
Igor Sysoev
1ba2f8c241
use the right memory barriers
2006-12-21 15:47:00 +00:00
Igor Sysoev
c8affc0e0e
larx/stcx. should cycle if the reservation was cleared
2006-12-21 15:20:15 +00:00
Igor Sysoev
11758d23e5
fix debug log
2006-12-20 19:38:06 +00:00
Igor Sysoev
ad0fdb6ccf
use light-weight sync on ppc64
2006-12-19 15:23:20 +00:00
Igor Sysoev
db74d354e3
fix atomic operations on ppc64
2006-12-19 13:41:03 +00:00
Igor Sysoev
7b57483763
ngx_sprintf() has implicit limit of 65536 bytes so on Linux/ppc64
...
in 32-bit mode the errstr is somewhere at 0xffffd680, the "last" overflows
and ngx_vsnprintf() does not print at all
2006-12-19 12:40:19 +00:00
Igor Sysoev
ffb08beb49
the initial slot is out of array
2006-12-19 12:38:20 +00:00
Igor Sysoev
3580e64b5f
fix segfault in "out of memory" situation
2006-12-18 20:46:49 +00:00
Igor Sysoev
07654eee3b
allocate aligned ngx_crc32_table_short globally
2006-12-15 21:31:03 +00:00
Igor Sysoev
d22c810671
fix typo
2006-12-15 21:18:44 +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
07f00f0275
workaround for Eudora for Mac: it sends
...
AUTH PLAIN [base64 encoded]
2006-12-11 08:27:29 +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
c06c920284
unix socket upstreams always used the first unix upstream
2006-12-06 15:39:08 +00:00
Igor Sysoev
c887bd6f86
slot number must be incremented once per second only,
...
ngx_time_update() set msec in an wrong slot
2006-12-06 14:25:20 +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
57e35529a5
Auth-Status: WAIT
2006-12-03 13:48:49 +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
d2f0d829b0
fix building on 64-bit platforms
2006-11-27 20:47:55 +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
fca26b0415
fix segfault
2006-11-23 20:22:24 +00:00
Igor Sysoev
ef4b13c803
use host part in URL
2006-11-23 20:20:23 +00:00
Igor Sysoev
d0cfec10b0
fix segfault when connect() failed
2006-11-22 16:00:14 +00:00
Igor Sysoev
76b72e74b9
ngx_rbtree_insert_value()
2006-11-20 17:13:21 +00:00
Igor Sysoev
ab03650916
slab allocator in shared memory
2006-11-20 08:51:45 +00:00
Igor Sysoev
6d26c085be
fix the previous commit
2006-11-19 07:27:10 +00:00
Igor Sysoev
d277928547
fix endless loop when too many FastCGI sent too many to stderr
2006-11-18 21:46:16 +00:00
Igor Sysoev
04e9fd6dbf
proxy_pass_error_message
2006-11-17 14:22:51 +00:00
Igor Sysoev
b4913b456a
use correct auth method length
2006-11-17 09:30:46 +00:00
Igor Sysoev
0ebbff7094
count s->login_attempt for POP3, minimize code
2006-11-17 09:00:43 +00:00
Igor Sysoev
dbb2203dc5
fix segfault when many auth failures occurred
2006-11-17 08:46:34 +00:00
Igor Sysoev
7f3800cc8d
rbtree insert procedure
2006-11-16 15:34:52 +00:00
Igor Sysoev
fb1c2492f2
change variable name
2006-11-16 15:15:16 +00:00
Igor Sysoev
0d0d918f9d
reset pop3 parsing state
2006-11-16 14:51:07 +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
610e81f36a
fix FastCGI "zero size buf" alert
2006-11-06 18:46:00 +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
4908dceace
fix format
2006-10-30 20:03:49 +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
be52508f7a
fix log message
2006-10-25 15:38:02 +00:00
Igor Sysoev
32049cf056
fix alias without trailing slash
2006-10-25 15:36:11 +00:00
Igor Sysoev
99c4f7ea7e
axe unused code
2006-10-25 14:13:27 +00:00
Igor Sysoev
ade0afecfc
$r->allow_ranges
2006-10-25 13:56:32 +00:00
Igor Sysoev
4240f94ef2
bugfixes
2006-10-25 13:07:11 +00:00
Igor Sysoev
f20fc2ce8a
AUTH PLAIN LOGIN CRAM-MD5
2006-10-24 18:38:31 +00:00
Igor Sysoev
e54e448b01
axe ngx_inet_upstream_parse() and ngx_inet_parse_host_port()
2006-10-24 14:18:35 +00:00
Igor Sysoev
16cc04abd4
now the "memcached_pass" directive uses ngx_parse_url()
2006-10-24 13:50:35 +00:00
Igor Sysoev
4bc2224633
axe src/core/ngx_unix_domain.*
2006-10-24 13:43:19 +00:00
Igor Sysoev
a3cc42b4e9
now the "auth_http" directive uses ngx_parse_url()
2006-10-24 13:22:59 +00:00
Igor Sysoev
ee524b7a9f
now the "listen" directives use ngx_parse_url()
2006-10-24 13:06:55 +00:00
Igor Sysoev
affb5b7fb1
bump version
2006-10-23 13:50:51 +00:00
Igor Sysoev
0ef60bfa88
APOP
2006-10-23 13:10:10 +00:00
Igor Sysoev
5eed9aed6b
disable write level event while waiting auth server response
2006-10-20 20:43:01 +00:00
Igor Sysoev
95905bd8b9
NULL is short way
2006-10-20 19:10:16 +00:00
Igor Sysoev
6f259f2882
fix segfault if $server_addr failed
2006-10-20 19:07:50 +00:00
Igor Sysoev
bdae0bec39
aligned ngx_crc32_table_short was allocated from wrong pool
2006-10-20 12:22:39 +00:00
Igor Sysoev
e49cc6e36a
split ngx_crc32() to short and long version
2006-10-19 09:57:49 +00:00
Igor Sysoev
43e8ff1418
add includes
2006-10-19 08:16:29 +00:00
Igor Sysoev
6a616f65d4
spelling
2006-10-18 19:05:30 +00:00
Igor Sysoev
977a0f8c3f
ngx_crc32()
2006-10-18 19:00:21 +00:00
Igor Sysoev
682c6031f5
char* > u_char*
2006-10-18 18:43:11 +00:00
Igor Sysoev
cac6960d1e
downgrade gravity of getsockname() errors
2006-10-18 14:27:16 +00:00
Igor Sysoev
f510d8da61
style fix: remove trailing spaces
2006-10-17 16:13:49 +00:00
Igor Sysoev
d084fb13b2
backout r783 and add comment
2006-10-17 12:47:14 +00:00
Igor Sysoev
78ea95e55d
win32 uint16_t definition
2006-10-16 13:59:37 +00:00
Igor Sysoev
26ae243b04
fix building by Debian gcc-4.1.2 amd64
2006-10-16 13:29:52 +00:00
Igor Sysoev
f2a8e1a497
decrease number of branches
2006-10-16 12:21:17 +00:00
Igor Sysoev
1d99203fc2
add 255th array element
2006-10-16 11:28:33 +00:00
Igor Sysoev
837825f987
allow ranges for full flv files
2006-10-16 07:47:00 +00:00
Igor Sysoev
4453ed780c
bump version
2006-10-13 15:47:56 +00:00
Igor Sysoev
2951035076
<!--#include virtual=... set=... -->
2006-10-13 15:20:10 +00:00
Igor Sysoev
dbf28f77df
style fix
2006-10-13 15:09:25 +00:00
Igor Sysoev
2224029000
check nginx.pm version
2006-10-12 19:55:15 +00:00
Igor Sysoev
dc44c53272
previous commit broke two modules
2006-10-12 13:56:16 +00:00
Igor Sysoev
888f0963a3
remove r->root_length
2006-10-12 13:36:54 +00:00
Igor Sysoev
ae8b56c96e
compact r->http_minor and r->http_major
2006-10-12 13:08:26 +00:00
Igor Sysoev
37843ee8b0
bump version
2006-10-11 19:07:34 +00:00
Igor Sysoev
1588bea234
fix <!--#include virtual=... wait="yes" -->
...
r766 did not fix the bug too
2006-10-11 14:33:38 +00:00
Igor Sysoev
a47374ac42
ngx_list_create()
2006-10-11 12:47:11 +00:00
Igor Sysoev
0ceca90243
fix <!--#include virtual=... wait="yes" -->
...
r759 did not fix the bug
2006-10-11 09:12:01 +00:00
Igor Sysoev
446703e78b
do not send flv header for full file
2006-10-11 05:33:15 +00:00
Igor Sysoev
ade46108fc
variable should not be found if no request body file
2006-10-11 05:32:39 +00:00
Igor Sysoev
1d9d694358
bump version
2006-10-10 16:15:27 +00:00
Igor Sysoev
5f40394edf
$request_body_file
2006-10-10 15:50:08 +00:00
Igor Sysoev
6668133b27
fix <!--#include virtual=... wait="yes" -->
2006-10-10 14:30:39 +00:00
Igor Sysoev
c2110f4203
not do ngx_http_upstream_finalize_request() twice
2006-10-10 13:17:58 +00:00
Igor Sysoev
e099531426
fix building introduced by previous commit
2006-10-10 13:12:13 +00:00
Igor Sysoev
db4ad44852
finalize nonbuffered request on timeout
2006-10-10 13:11:06 +00:00
Igor Sysoev
9193c0de97
style fix: remove trailing spaces
2006-10-09 15:38:59 +00:00
Igor Sysoev
45895792ad
ngx_http_flv_module
2006-10-09 14:17:36 +00:00
Igor Sysoev
21eda6c3d9
ngx_http_charset_module supports the variables
2006-10-09 14:16:36 +00:00
Igor Sysoev
82811fd36d
align hash bucket size to cache line
2006-10-09 14:03:16 +00:00
Igor Sysoev
73fbb2012a
fix hash building on unknown 64-bit platform
2006-10-06 15:06:02 +00:00
Igor Sysoev
9003f906e7
bump version
2006-10-06 14:27:28 +00:00
Igor Sysoev
272440e177
fix SIGFPE on alpha
2006-10-06 13:28:19 +00:00
Igor Sysoev
fd15ac644e
add sun4v,
...
style fix
2006-10-06 13:02:23 +00:00
Igor Sysoev
c95b04928a
nonexistent $sent_http_content has value of $sent_http_content_length or so
2006-10-05 15:09:26 +00:00
Igor Sysoev
93851e386f
$r->headers_out("Content-Length", "NNN") did not work
2006-10-05 15:05:47 +00:00
Igor Sysoev
157f2db907
after redirecting by error_page any rewrite directive will return this code,
...
bug introduced in r727
2006-10-03 18:06:44 +00:00
Igor Sysoev
1829960551
bump version
2006-10-02 15:40:28 +00:00
Igor Sysoev
483c0d6a53
fix building on Linux and Solaris
2006-10-02 14:50:19 +00:00
Igor Sysoev
20aed754d7
bump version
2006-10-02 14:21:47 +00:00
Igor Sysoev
a8c52c9fe0
nginx-0.4.4-RELEASE
...
fix msvc build failure introduced by previous commit
2006-10-02 11:44:21 +00:00
Igor Sysoev
a897f30416
$scheme variable
2006-10-02 11:07:36 +00:00
Igor Sysoev
85e48a977d
set "Content-Length: 0" for errors handled by "return 204"
2006-10-02 10:22:51 +00:00
Igor Sysoev
537a359d58
expires max
2006-10-02 08:53:30 +00:00
Igor Sysoev
cac9790487
turn off startup debug logging introduced by previous commit
2006-10-02 08:50:03 +00:00
Igor Sysoev
45b6186a39
glob support in include
2006-10-02 08:46:45 +00:00
Igor Sysoev
df8bceb909
fix: "return" always overrode "error_page" response code
2006-10-02 08:37:11 +00:00
Igor Sysoev
bb7344dd79
fix segfault when zero length file is PUT
2006-10-01 07:17:01 +00:00
Igor Sysoev
1344636837
fix proxy_redirect with variable
2006-09-26 21:15:52 +00:00
Igor Sysoev
969fe16ef5
bump version
2006-09-26 12:43:45 +00:00
Igor Sysoev
db988cca31
Solaris 10 event ports support
2006-09-26 12:20:12 +00:00
Igor Sysoev
157ee76652
ancient browsers support in ngx_http_browser_module
2006-09-26 12:19:34 +00:00
Igor Sysoev
985ea28c91
fix msvc build failure introduced by previous commit
2006-09-25 20:04:54 +00:00
Igor Sysoev
7ecec111f4
allowing handling 400 errors via proxy_pass
2006-09-25 17:49:49 +00:00
Igor Sysoev
ea933c783f
disable "error_page 499 ..."
2006-09-25 17:48:34 +00:00
Igor Sysoev
41737436a5
rename variable
2006-09-25 14:34:29 +00:00
Igor Sysoev
8de7b43358
long user-agent bugfix
2006-09-25 08:56:52 +00:00
Igor Sysoev
f9c1e60806
fix uri part in "proxy_pass http://unix :...", the bug appeared in nginx-0.3.47
2006-09-24 14:45:37 +00:00
Igor Sysoev
f947f2b9a5
fix segfault in "proxy_pass http://unix :...", the bug appeared in nginx-0.3.47
2006-09-24 07:35:56 +00:00
Igor Sysoev
ee79b26107
ssi did work with memcached and nonbuffered responses
2006-09-23 15:55:54 +00:00
Igor Sysoev
9cf3ea8c01
delete blank line
2006-09-23 13:02:57 +00:00
Igor Sysoev
8485ce0fc4
remove unused oneshot flag
2006-09-22 14:46:03 +00:00
Igor Sysoev
e28d09ade0
fix comment
2006-09-22 12:19:02 +00:00
Igor Sysoev
bf4fededf5
remove startup debug logging
2006-09-18 14:36:19 +00:00
Igor Sysoev
8f56b8d4f4
ngx_http_browser_module
2006-09-18 12:25:07 +00:00
Igor Sysoev
31bec20421
fix typo
2006-09-16 07:12:13 +00:00
Igor Sysoev
fe926fd3f5
disable [ PAUSE ] hwcap for Sun Studio 11
2006-09-15 19:33:55 +00:00
Igor Sysoev
fec3babf6b
fix header name change
2006-09-15 10:25:32 +00:00
Igor Sysoev
07c6bdad3b
bump version
2006-09-14 15:56:52 +00:00
Igor Sysoev
fa43b2cced
bump version
2006-09-14 15:08:48 +00:00
Igor Sysoev
4093054706
backout O_NOATIME support, it requires CAP_FOWNER capability
2006-09-14 15:05:48 +00:00
Igor Sysoev
8ce000a6b9
workaround of 2G+ file bug in 64-bit Linux sendfile()
2006-09-07 18:56:45 +00:00
Igor Sysoev
eb29c3c8fc
Linux O_NOATIME support
2006-09-01 05:15:56 +00:00
Igor Sysoev
ee7c6d3fbe
fix typo
2006-08-31 10:40:45 +00:00
Igor Sysoev
4014db671d
bump version
2006-08-30 10:40:05 +00:00
Igor Sysoev
a5719ead3e
nginx-0.4.0-RELEASE import
...
*) Change in internal API: the HTTP modules initialization was moved
from the init module phase to the HTTP postconfiguration phase.
*) Change: now the request body is not read beforehand for the
ngx_http_perl_module: it's required to start the reading using the
$r->has_request_body method.
*) Feature: the ngx_http_perl_module supports the DECLINED return code.
*) Feature: the ngx_http_dav_module supports the incoming "Date" header
line for the PUT method.
*) Feature: the "ssi" directive is available inside the "if" block.
*) Bugfix: a segmentation fault occurred if there was an "index"
directive with variables and the first index name was without
variables; the bug had appeared in 0.1.29.
2006-08-30 10:39:17 +00:00
Igor Sysoev
227af605d4
nginx-0.3.61-RELEASE import
...
*) Change: now the "tcp_nodelay" directive is turned on by default.
*) Feature: the "msie_refresh" directive.
*) Feature: the "recursive_error_pages" directive.
*) Bugfix: the "rewrite" directive returned incorrect redirect, if the
redirect had the captured escaped symbols from original URI.
2006-08-28 16:57:48 +00:00
Igor Sysoev
c82c0937ce
nginx-0.3.60-RELEASE import
...
*) Bugfix: a worker process may got caught in an endless loop while an
error redirection; the bug had appeared in 0.3.59.
2006-08-18 14:17:54 +00:00
Igor Sysoev
fd09392ca9
nginx-0.3.59-RELEASE import
...
*) Feature: now is possible to do several redirection using the
"error_page" directive.
*) Bugfix: the "dav_access" directive did not support three parameters.
*) Bugfix: the "error_page" directive did not changes the
"Content-Type" header line after the "X-Accel-Redirect" was used;
the bug had appeared in 0.3.58.
2006-08-16 13:09:33 +00:00
Igor Sysoev
fb2d2aadb0
nginx-0.3.58-RELEASE import
...
*) Feature: the "error_page" directive supports the variables.
*) Change: now the procfs interface instead of sysctl is used on Linux.
*) Change: now the "Content-Type" header line is inherited from first
response when the "X-Accel-Redirect" was used.
*) Bugfix: the "error_page" directive did not redirect the 413 error.
*) Bugfix: the trailing "?" did not remove old arguments if no new
arguments were added to a rewritten URI.
*) Bugfix: nginx could not run on 64-bit FreeBSD 7.0-CURRENT.
2006-08-14 15:09:38 +00:00
Igor Sysoev
6d3f4f310f
nginx-0.3.57-RELEASE import
...
*) Feature: the $ssl_client_serial variable.
*) Bugfix: in the "!-e" operator of the "if" directive.
Thanks to Andrian Budanstov.
*) Bugfix: while a client certificate verification nginx did not send
to a client the required certificates information.
*) Bugfix: the $document_root variable did not support the variables in
the "root" directive.
2006-08-09 19:59:45 +00:00
Igor Sysoev
f08b1910d9
nginx-0.3.56-RELEASE import
...
*) Feature: the "dav_access" directive.
*) Feature: the "if" directive supports the "-d", "!-d", "-e", "!-e",
"-x", and "!-x" operators.
*) Bugfix: a segmentation fault occurred if a request returned a
redirect and some sent to client header lines were logged in the
access log.
2006-08-04 16:04:04 +00:00
Igor Sysoev
4c8a3ba101
nginx-0.3.55-RELEASE import
...
*) Feature: the "stub" parameter in the "include" SSI command.
*) Feature: the "block" SSI command.
*) Feature: the unicode2nginx script was added to contrib.
*) Bugfix: if a "root" was specified by variable only, then the root
was relative to a server prefix.
*) Bugfix: if the request contained "//" or "/./" and escaped symbols
after them, then the proxied request was sent unescaped.
*) Bugfix: the $r->headers_in("Cookie") of the ngx_http_perl_module now
returns all "Cookie" header lines.
*) Bugfix: a segmentation fault occurred if
"client_body_in_file_only on" was used and nginx switched to a next
upstream.
*) Bugfix: on some condition while reconfiguration character codes
inside the "charset_map" may be treated invalid; the bug had
appeared in 0.3.50.
2006-07-28 15:16:17 +00:00
Igor Sysoev
10a8d1d59b
nginx-0.3.54-RELEASE import
...
*) Feature: nginx now logs the subrequest information to the error log.
*) Feature: the "proxy_next_upstream", "fastcgi_next_upstream", and
"memcached_next_upstream" directives support the "off" parameter.
*) Feature: the "debug_connection" directive supports the CIDR address
form.
*) Bugfix: if a response of proxied server or FastCGI server was
converted from UTF-8 or back, then it may be transferred incomplete.
*) Bugfix: the $upstream_response_time variable had the time of the
first request to a backend only.
*) Bugfix: nginx could not be built on amd64 platform; the bug had
appeared in 0.3.53.
2006-07-11 13:20:19 +00:00
Igor Sysoev
cf1e69ba43
nginx-0.3.53-RELEASE import
...
*) Change: the "add_header" directive adds the string to 204, 301, and
302 responses.
*) Feature: the "server" directive in the "upstream" context supports
the "weight" parameter.
*) Feature: the "server_name" directive supports the "*" wildcard.
*) Feature: nginx supports the request body size more than 2G.
*) Bugfix: if a client was successfully authorized using "satisfy_any
on", then anyway the message "access forbidden by rule" was written
in the log.
*) Bugfix: the "PUT" method may erroneously not create a file and
return the 409 code.
*) Bugfix: if the IMAP/POP3 backend returned an error, then nginx
continued proxying anyway.
2006-07-07 16:33:19 +00:00
Igor Sysoev
bc679fc732
nginx-0.3.52-RELEASE import
...
*) Change: the ngx_http_index_module behavior for the "POST /" requests
is reverted to the 0.3.40 version state: the module now does not
return the 405 error.
*) Bugfix: the worker process may got caught in an endless loop if the
limit rate was used; the bug had appeared in 0.3.37.
*) Bugfix: ngx_http_charset_module logged "unknown charset" alert, even
if the recoding was not needed; the bug had appeared in 0.3.50.
*) Bugfix: if a code response of the PUT request was 409, then a
temporary file was not removed.
2006-07-03 16:49:20 +00:00
Igor Sysoev
33a1fca2cc
nginx-0.3.51-RELEASE import
...
*) Bugfix: the "<" symbols might disappeared some conditions in the
SSI; the bug had appeared in 0.3.50.
2006-06-30 12:19:32 +00:00
Igor Sysoev
946811c6b2
nginx-0.3.50-RELEASE import
...
*) Change: the "proxy_redirect_errors" and "fastcgi_redirect_errors"
directives was renamed to the "proxy_intercept_errors" and
"fastcgi_intercept_errors" directives.
*) Feature: the ngx_http_charset_module supports the recoding from the
single byte encodings to the UTF-8 encoding and back.
*) Feature: the "X-Accel-Charset" response header line is supported in
proxy and FastCGI mode.
*) Bugfix: the "\" escape symbol in the "\"" and "\'" pairs in the SSI
command was removed only if the command also has the "$" symbol.
*) Bugfix: the "<!--" string might be added on some conditions in the
SSI after inclusion.
*) Bugfix: if the "Content-Length: 0" header line was in response, then
in nonbuffered proxying mode the client connection was not closed.
2006-06-28 16:00:26 +00:00
Igor Sysoev
52e4a6f835
nginx-0.3.49-RELEASE import
...
*) Bugfix: in the "set" directive.
*) Bugfix: if two or more FastCGI subrequests was in SSI, then first
subrequest output was included instead of second and following
subrequests.
2006-05-31 14:11:45 +00:00
Igor Sysoev
5bb8719d12
nginx-0.3.48-RELEASE import
...
*) Change: now the ngx_http_charset_module works for subrequests, if
the response has no "Content-Type" header line.
*) Bugfix: if the "proxy_pass" directive has no URI part, then the
"proxy_redirect default" directive add the unnecessary slash in
start of the rewritten redirect.
*) Bugfix: the internal redirect always transform client's HTTP method
to GET, now the transformation is made for the "X-Accel-Redirect"
redirects only and if the method is not HEAD; the bug had appeared
in 0.3.42.
*) Bugfix: the ngx_http_perl_module could not be built, if the perl was
built with the threads support; the bug had appeared in 0.3.46.
2006-05-29 17:28:12 +00:00
Igor Sysoev
0dd08e0442
nginx-0.3.47-RELEASE import
...
*) Feature: the "upstream" directive.
*) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the
SSI command is always removed.
2006-05-23 14:54:58 +00:00
Igor Sysoev
4b172a64e1
nginx-0.3.46-RELEASE import
...
*) Feature: the "proxy_hide_header", "proxy_pass_header",
"fastcgi_hide_header", and "fastcgi_pass_header" directives.
*) Change: the "proxy_pass_x_powered_by", "fastcgi_x_powered_by", and
"proxy_pass_server" directives were canceled.
*) Feature: the "X-Accel-Buffering" response header line is supported
in proxy mode.
*) Bugfix: the reconfiguration bug and memory leaks in the
ngx_http_perl_module.
2006-05-11 14:43:47 +00:00
Igor Sysoev
8bbd64c5a6
nginx-0.3.45-RELEASE import
...
*) Feature: the "ssl_verify_client", "ssl_verify_depth", and
"ssl_client_certificate" directives.
*) Change: the $request_method variable now returns the main request
method.
*) Change: the ° symbol codes were changed in koi-win conversion
table.
*) Feature: the euro and N symbols were added to koi-win conversion
table.
*) Bugfix: if nginx distributed the requests among several backends and
some backend failed, then requests intended for this backend was
directed to one live backend only instead of being distributed among
the rest.
2006-05-06 16:28:56 +00:00
Igor Sysoev
074cac4d6d
nginx-0.3.44-RELEASE import
...
*) Feature: the "wait" parameter in the "include" SSI command.
*) Feature: the Ukrainian and Byelorussian characters were added to
koi-win conversion table.
*) Bugfix: in the SSI.
2006-05-04 15:32:46 +00:00
Igor Sysoev
e578a1aeba
nginx-0.3.43-RELEASE import
...
*) Bugfix: in the SSI.
2006-04-26 15:21:08 +00:00
Igor Sysoev
8ebceb103a
nginx-0.3.42-RELEASE import
...
*) Feature: the "bind" option of the "listen" directive in IMAP/POP3
proxy.
*) Bugfix: if the same capture in the "rewrite" directive was used more
then once.
*) Bugfix: the $sent_http_content_type, $sent_http_content_length,
$sent_http_last_modified, $sent_http_connection,
$sent_http_keep_alive, and $sent_http_transfer_encoding variables
were not written to access log.
*) Bugfix: the $sent_http_cache_control returned value of the single
"Cache-Control" response header line.
2006-04-26 09:52:47 +00:00
Igor Sysoev
fe40b6455c
nginx-0.3.41-RELEASE import
...
*) Feature: the -v switch.
*) Bugfix: the segmentation fault may occurred if the SSI page has
remote subrequests.
*) Bugfix: in FastCGI handling.
*) Bugfix: if the perl modules path was not set using
--with-perl_modules_path=PATH or the "perl_modules", then the
segmentation fault was occurred.
2006-04-21 12:06:44 +00:00
Igor Sysoev
c2af150027
nginx-0.3.40-RELEASE import
...
*) Feature: the ngx_http_dav_module supports the MKCOL method.
*) Feature: the "create_full_put_path" directive.
*) Feature: the "$limit_rate" variable.
2006-04-19 15:30:56 +00:00