Igor Sysoev
f993862bf2
fix segfault when file is deleted and open_file_cache_errors is off
2008-04-29 18:15:23 +00:00
Igor Sysoev
595653cfeb
back out the previous commit
2008-04-29 18:14:45 +00:00
Igor Sysoev
21b408ec96
fix segfault when file is deleted and open_file_cache_errors is off
2008-04-29 14:39:15 +00:00
Igor Sysoev
9cfe2aecd4
bump version
2008-04-29 12:44:47 +00:00
Igor Sysoev
1c6f157993
args support in static error_page
2008-04-29 10:06:43 +00:00
Igor Sysoev
7356cf9295
reset message
2008-04-29 09:35:06 +00:00
Igor Sysoev
b630cae48d
ignore glob no match error
2008-04-29 09:28:42 +00:00
Igor Sysoev
74af3ea26c
reset looked at match
2008-04-29 06:15:56 +00:00
Igor Sysoev
297030bd24
get certificate info only for debug build
2008-04-28 08:52:32 +00:00
Igor Sysoev
4fbcbbbdef
fix memory leak when ssl_verify_client is on
2008-04-28 08:50:39 +00:00
Igor Sysoev
a4499b0924
Cygwin O_BINARY mode
2008-04-24 19:19:26 +00:00
Igor Sysoev
c2fdce089d
fix memory leak when ssl_verify_client is on
2008-04-23 18:57:25 +00:00
Igor Sysoev
991e0b912c
small fix
2008-04-17 14:32:11 +00:00
Igor Sysoev
294cf16679
allow time without spaces in ngx_parse_time()
2008-04-17 14:23:20 +00:00
Igor Sysoev
11d2c0fedc
change variable name
2008-04-16 19:33:23 +00:00
Igor Sysoev
ba0cc5e2cb
use more straightforward ngx_gmtime() implementation
2008-04-13 13:33:12 +00:00
Igor Sysoev
f68e094d7a
limit CNAME recursion
2008-04-12 07:29:20 +00:00
Igor Sysoev
aba43cdba9
fix segfault
2008-04-11 09:15:07 +00:00
Igor Sysoev
83d444c5d0
use correct ngx_sprintf() formats
2008-04-10 17:27:07 +00:00
Igor Sysoev
7005534ff5
log unexpected qtype
2008-04-10 17:26:14 +00:00
Igor Sysoev
21377c009d
take into account DNAME
2008-04-10 17:12:21 +00:00
Igor Sysoev
8ff3b99868
comment Gauss' formula
2008-04-10 09:37:12 +00:00
Igor Sysoev
1018aae845
grammar fix
2008-04-09 19:09:13 +00:00
Igor Sysoev
7d55d9dc2f
small optimization
2008-04-09 18:56:36 +00:00
Igor Sysoev
82795fd08c
return NXDOMAIN for ".." in host name
2008-04-09 14:45:39 +00:00
Igor Sysoev
ee7770ec51
fix memory leak on resolver query send failure
2008-04-09 14:26:08 +00:00
Igor Sysoev
0640828e87
quick resolving handles u->resolved->ctx by itself
2008-04-09 14:20:17 +00:00
Igor Sysoev
582c0d74d3
fix peer sendfile capability
2008-04-04 12:07:13 +00:00
Igor Sysoev
a38d9e3439
update previous commit
2008-03-24 17:17:17 +00:00
Igor Sysoev
24da7352fd
use ngx_int_t in ngx_sort() callback
2008-03-24 13:04:02 +00:00
Igor Sysoev
e3fb99f87a
use dynamically allocated buffer in ngx_sort()
2008-03-23 19:58:54 +00:00
Igor Sysoev
cc596f7559
it seems that malloc.h is required for Cygwin only
...
and breaks building on other platforms
2008-03-23 15:42:40 +00:00
Igor Sysoev
b97e607c33
axe never used macro
2008-03-20 07:31:51 +00:00
Igor Sysoev
1392f827fe
bump version
2008-03-18 14:51:09 +00:00
Igor Sysoev
e308649c82
ngx_google_perftools_module
2008-03-18 10:36:27 +00:00
Igor Sysoev
56d658736f
low some SSL handshake errors level
2008-03-18 10:35:00 +00:00
Igor Sysoev
625e47eff4
use ngx_ext_rename_file() in proxy/fastcgi_store
2008-03-17 13:07:35 +00:00
Igor Sysoev
3cfddc90e1
some perl builds require my_perl for PERL_SYS_TERM()
2008-03-17 08:58:07 +00:00
Igor Sysoev
2b1f24f6b0
fastcgi params debug logging
2008-03-16 18:03:10 +00:00
Igor Sysoev
e0283b6ece
speed up ngx_http_charset_recode() for 25%: google-perftools reported
...
that CPU usage of charset body filter has decreased from 7.5% to 5.5%
if gzipping is disabled
2008-03-16 16:52:15 +00:00
Igor Sysoev
48de2e9629
test the more likely case first
2008-03-16 16:47:16 +00:00
Igor Sysoev
83bbdf3309
use the more correct mask
2008-03-16 13:29:49 +00:00
Igor Sysoev
977d4a7972
style fix
2008-03-14 12:31:20 +00:00
Igor Sysoev
618948dc4a
fix building on 64-bit platforms broken in r1900
2008-03-13 15:48:36 +00:00
Igor Sysoev
bfb027f1a5
restore building --test-build-rtsig and --test-build-eventport on FreeBSD 6
2008-03-13 15:47:14 +00:00
Igor Sysoev
b051b72e61
fix the previous commit
2008-03-13 13:00:40 +00:00
Igor Sysoev
540cb9b3aa
fix case when errors are not cached,
...
and a file was not used often enough to keep open
and it has been removed before it was kept open
2008-03-13 12:59:25 +00:00
Igor Sysoev
229294d395
axe useless code
2008-03-13 12:34:59 +00:00
Igor Sysoev
1606b65d8e
bump version
2008-03-13 06:39:00 +00:00
Igor Sysoev
1a00c2a554
fix r1921
2008-03-12 19:34:36 +00:00
Igor Sysoev
51aff08456
bump version
2008-03-12 13:37:29 +00:00
Igor Sysoev
830a7fd652
non cacheable $proxy_host and $proxy_port
2008-03-11 14:10:11 +00:00
Igor Sysoev
6bdb1e9451
invalidate SSL session if there is no valid client certificate
2008-03-10 14:47:07 +00:00
Igor Sysoev
4d74d56fbf
fix large memory allocation in "error_page 495-497 /uri"
2008-03-10 14:45:41 +00:00
Igor Sysoev
9ea445750d
do not change method while error redirection to named location
2008-03-10 14:36:42 +00:00
Igor Sysoev
d0fb6c4044
disable rtsig automatic building in post 2.6.18 Linux kernels
2008-03-10 14:35:21 +00:00
Igor Sysoev
bda142ac94
create dummy resolver in http context to inherit it in all servers
2008-03-06 08:48:55 +00:00
Igor Sysoev
923ff42e46
check duplicate resolver
2008-03-06 08:48:25 +00:00
Igor Sysoev
7c11652b25
decrease log level of connection errors while closing socket
2008-03-05 21:21:26 +00:00
Igor Sysoev
4863093640
ngx_resolve_name() frees ctx on immediate failure
2008-03-05 07:30:44 +00:00
Igor Sysoev
fad16b3a9f
reset r->content_handler in a named location
2008-03-04 14:57:07 +00:00
Igor Sysoev
63131f46a8
fix previous commit
2008-03-04 10:47:34 +00:00
Igor Sysoev
f0590d13b0
use cf->cycle->new_log because at merge stage cf->pool->log is old log
2008-03-04 10:42:05 +00:00
Igor Sysoev
9db321bc4e
fix r1903
2008-03-03 20:04:06 +00:00
Igor Sysoev
acc951b0d9
included file name must be allocated in pool,
...
because it may be used in error message later
2008-03-03 17:12:05 +00:00
Igor Sysoev
b2bf997644
fix r1490
2008-03-03 16:44:56 +00:00
Igor Sysoev
5fc9a66ef5
C++ compatibility
2008-03-03 16:32:16 +00:00
Igor Sysoev
64c52d8378
fix memory leak in long-lived non buffered connections
2008-03-03 10:42:00 +00:00
Igor Sysoev
8e773cdc3b
cleanup resolver
2008-02-28 20:38:34 +00:00
Igor Sysoev
5372b96aba
left open sockets were not really tested
2008-02-28 20:31:33 +00:00
Igor Sysoev
20a7e32435
fix memory leaks, use unlocked ngx_resolver_free() for seldom failed cases
2008-02-28 20:09:39 +00:00
Igor Sysoev
ee7d212bdf
static ngx_resolver_calloc()
2008-02-28 15:34:53 +00:00
Igor Sysoev
bdfa98344c
check port in upstream list
2008-02-21 13:58:45 +00:00
Igor Sysoev
5a53d35f7e
use CMSG_LEN(), this fixes an alert "sendmsg() failed (9: Bad file descriptor)"
...
on some 64-bit platforms
2008-02-19 16:34:55 +00:00
Igor Sysoev
112f4b1165
avoid endless loop if epoll is used
2008-02-19 16:30:54 +00:00
Igor Sysoev
bce20ada9f
pass additional arguments in ngx_http_perl_call_handler() as SV
2008-02-16 14:29:44 +00:00
Igor Sysoev
174d85a985
fix previous commit
2008-02-16 14:24:43 +00:00
Igor Sysoev
f064fb9a23
optimize $r->sleep
2008-02-16 14:23:14 +00:00
Igor Sysoev
0301dca171
do not resolve SMTP clients by default
2008-02-16 13:46:33 +00:00
Igor Sysoev
97d4e8106c
delete unneeded dXSTARG
2008-02-15 13:57:55 +00:00
Igor Sysoev
92bff7d88a
named locations in post_action
2008-02-15 12:46:40 +00:00
Igor Sysoev
2d46d11798
fix segfault if empty stub block is used second time
2008-02-14 16:03:48 +00:00
Igor Sysoev
2209d9e17e
resolver in smtp proxy module
2008-02-13 13:50:04 +00:00
Igor Sysoev
af519c8c3b
length calculation did not take into account escaped symbols in arguments
2008-02-12 18:05:32 +00:00
Igor Sysoev
bbdef43461
bump version
2008-02-11 15:27:44 +00:00
Igor Sysoev
58a15e5a7d
set absolute weight, this fixes bogus "no live upstream" case when
...
last upstream is down while live one has negative weight
2008-02-11 14:31:38 +00:00
Igor Sysoev
ffca03813a
add X-Accel-Charset to ingored header, fix X-Accel-Buffering
2008-02-11 14:02:28 +00:00
Igor Sysoev
e881c923af
test response length in proxy/fastcgi_store
2008-02-11 13:14:56 +00:00
Igor Sysoev
3ae8899767
fix order
2008-02-07 10:45:04 +00:00
Igor Sysoev
7033238125
fix order
2008-02-07 10:43:45 +00:00
Igor Sysoev
3e0e2592c3
fix order
2008-02-07 10:38:13 +00:00
Igor Sysoev
ed17a5a76b
fix return code
2008-02-07 08:57:07 +00:00
Igor Sysoev
02a5ce8dca
fix r1879
2008-02-06 17:23:17 +00:00
Igor Sysoev
d360e73c70
do not delete failed DNS request if there are waiting clients
2008-02-06 16:08:52 +00:00
Igor Sysoev
ae671bed79
fix segfault if UDP connect() has failed
2008-02-06 16:01:35 +00:00
Igor Sysoev
5d76c1f897
low SSL handshake close notify alert error level
2008-02-04 20:46:58 +00:00
Igor Sysoev
18a1a9a9a6
low SSL handshake errors level
2008-02-01 14:05:18 +00:00
Igor Sysoev
cc76e9c91f
reset ready flag if no data is available,
...
this fixes endless loop at least in lingering close
2008-01-31 15:36:33 +00:00
Igor Sysoev
09f6e25c89
treat time_t as unsigned time
2008-01-31 15:14:31 +00:00
Igor Sysoev
4e7e486b56
backout r1757, we really need SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
2008-01-31 15:10:45 +00:00
Igor Sysoev
5cffe1052c
detect L2 cache line size for Intel Core
2008-01-29 07:06:18 +00:00
Igor Sysoev
d10ae97e18
fix cache line size for Pentium 4
2008-01-29 06:58:47 +00:00
Igor Sysoev
f092482ae7
fix building --test-build-rtsig and --test-build-eventport on FreeBSD 7
2008-01-28 16:24:01 +00:00
Igor Sysoev
db38365ab7
add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN
2008-01-25 14:57:35 +00:00
Igor Sysoev
929d881e1d
pull all errors
2008-01-25 14:56:37 +00:00
Igor Sysoev
749922f792
limit string length
2008-01-24 15:18:58 +00:00
Igor Sysoev
7b1670f1c5
use correct type cast
2008-01-24 15:18:17 +00:00
Igor Sysoev
2257b8aea1
fix bogus crit log message "SSL_shutdown() failed" introduced in r1755
2008-01-22 16:04:35 +00:00
Igor Sysoev
ec32b25b84
fix building by msvc introduced in r1817
2008-01-22 15:16:38 +00:00
Igor Sysoev
9b813cffc8
allow zero length in %*s
2008-01-22 15:13:01 +00:00
Igor Sysoev
c2d454a9c4
fix building by bcc introduced by r1831
2008-01-22 15:09:55 +00:00
Igor Sysoev
2ebe2174bc
pull all errors
2008-01-10 08:45:00 +00:00
Igor Sysoev
c366bd9136
grammar fix
2008-01-10 08:36:14 +00:00
Igor Sysoev
6ddfa43a74
fix building by gcc42, etc. introduced in r1858
2008-01-09 15:27:27 +00:00
Igor Sysoev
e15b10b8e9
add code missed in r1856
2008-01-09 08:21:57 +00:00
Igor Sysoev
aea406bbad
update GET method text in an subrequest
2008-01-08 21:06:38 +00:00
Igor Sysoev
79fba80985
axe old flag remained after ancient "post_accept_timeout" directive
2008-01-08 20:55:27 +00:00
Igor Sysoev
cfd21584ef
add code missed in r1830
2008-01-08 20:51:06 +00:00
Igor Sysoev
4dda2bd7a6
bump version
2008-01-08 13:05:18 +00:00
Igor Sysoev
e559b52f2f
style fix: remove trailing space
2008-01-08 11:33:14 +00:00
Igor Sysoev
ff3410aa48
workaround for Linux 2.6 OpenVZ
2008-01-08 11:31:50 +00:00
Igor Sysoev
8a712e4a15
ngx_http_gzip_static_module should DECLINE request
2008-01-08 10:35:50 +00:00
Igor Sysoev
39de6a4033
fix comment
2008-01-05 19:07:10 +00:00
Igor Sysoev
26e737a2c8
change order
2008-01-04 11:54:55 +00:00
Igor Sysoev
912893e685
fix socket leak if deferred accept was used
2008-01-04 09:32:12 +00:00
Igor Sysoev
edd04ac52f
use ngx_ext_rename_file() in PUT
2008-01-03 22:18:21 +00:00
Igor Sysoev
e58627919e
add declaration missed in previous commit
2008-01-03 22:17:27 +00:00
Igor Sysoev
7d96521689
transform ngx_create_path_and_rename_file() to ngx_ext_rename_file()
2008-01-03 22:16:37 +00:00
Igor Sysoev
7f553e9bb6
do not delete target until all tests will be done,
...
fix single file COPY/MOVE
2008-01-03 21:44:38 +00:00
Igor Sysoev
18ccec6eb6
add log
2008-01-03 21:29:01 +00:00
Igor Sysoev
dcfcf08842
add comment
2008-01-03 20:43:12 +00:00
Igor Sysoev
8d1eeee6c6
test URI/Destination collection/non-collection and Depth
2008-01-03 20:09:51 +00:00
Igor Sysoev
d7037b6ea5
axe useless code
2008-01-03 20:06:09 +00:00
Igor Sysoev
c691a0ed26
change order
2008-01-03 19:18:25 +00:00
Igor Sysoev
cd4b71abc4
change status code, add log message, and test collection URI
2008-01-03 19:13:04 +00:00
Igor Sysoev
cde0bc81f1
style fix
2008-01-03 17:21:13 +00:00
Igor Sysoev
5ffbd97658
min_delete_depth
2007-12-30 11:46:03 +00:00
Igor Sysoev
071619f2ba
log DELETE errors
2007-12-30 10:24:43 +00:00
Igor Sysoev
7b74191d0e
axe useless code
2007-12-30 10:19:32 +00:00
Igor Sysoev
2aec60b9a3
change status code and add log message
2007-12-30 09:44:02 +00:00
Igor Sysoev
f41d322859
log right request method
2007-12-30 09:11:19 +00:00
Igor Sysoev
72a91c756c
axe useless r->server_name
2007-12-30 08:15:27 +00:00
Igor Sysoev
b9c49e59ab
log server address
2007-12-30 08:01:50 +00:00
Igor Sysoev
8991aa8f56
fix building by msvc introduced by r1807
2007-12-29 21:43:49 +00:00
Igor Sysoev
e71222b0ba
handle old "server_name *"
2007-12-29 19:05:21 +00:00
Igor Sysoev
2ed526073b
fix comment
2007-12-29 16:55:31 +00:00
Igor Sysoev
74f3ad4579
satisfy all|any
2007-12-29 16:38:23 +00:00
Igor Sysoev
baedf19d3a
use ngx_http_server_addr()
2007-12-29 16:00:34 +00:00
Igor Sysoev
9901529164
several changes in server_name:
...
*) server_name_in_redirect directive and removal of the '*' stub
*) use server address in redirect if host can not be detected
*) ngx_http_server_addr()
*) allow wildcard and regex names to be a main server_name
*) DAV Destination header is tested against Host header
2007-12-29 15:30:39 +00:00
Igor Sysoev
915063fd16
condition declarations inside blocks update missed in r1705
2007-12-29 13:55:10 +00:00
Igor Sysoev
a11e6187da
style fix: remove trailing spaces
2007-12-28 13:15:36 +00:00
Igor Sysoev
dbadfc12d0
fix building --without-pcre
2007-12-28 13:15:11 +00:00
Igor Sysoev
bc50034481
optimization
2007-12-27 20:32:43 +00:00
Igor Sysoev
4d079eba8e
bump version
2007-12-27 18:47:33 +00:00
Igor Sysoev
fdcadd6b50
fix segfault introduced in r1780
2007-12-27 18:35:52 +00:00
Igor Sysoev
26089cd999
bump version
2007-12-27 15:39:06 +00:00
Igor Sysoev
61523817d5
backout r1790
2007-12-27 14:39:05 +00:00
Igor Sysoev
f6630df22b
ngx_http_gzip_static_module and gzip_disable
2007-12-27 14:21:59 +00:00
Igor Sysoev
3d9460a202
non-active request is not done
2007-12-27 14:20:50 +00:00
Igor Sysoev
8d81be062f
allow memached_pass inside "if" block
2007-12-27 14:19:30 +00:00
Igor Sysoev
da15b77684
inherit $memached_key index and memcached_pass upstream inside "if" block
2007-12-27 14:18:34 +00:00
Igor Sysoev
4ab51d5cb3
return NGX_DECLINED if access directives are not active,
...
this fixes case when satisfy any does not test active directives at all
2007-12-27 14:15:34 +00:00
Igor Sysoev
3936145497
use ngx_regex_exec_array()
2007-12-27 13:15:43 +00:00
Igor Sysoev
25427feac6
ngx_regex_exec_array()
2007-12-27 13:15:08 +00:00
Igor Sysoev
b74ef369d0
call post_action for 499
2007-12-27 13:13:34 +00:00
Igor Sysoev
9702fd533b
regex valid_referers were not inherited
2007-12-27 12:13:11 +00:00
Igor Sysoev
74bfa8ca4a
optimization
2007-12-27 09:17:20 +00:00
Igor Sysoev
e4a67eeba6
style fix
2007-12-27 08:40:14 +00:00
Igor Sysoev
93d1079897
create ssl buffer on demand and free it before keep-alive
2007-12-26 21:07:30 +00:00
Igor Sysoev
efcf5c7468
ssl_session_cache off
2007-12-26 20:27:22 +00:00
Igor Sysoev
9a1e7464e1
optimization
2007-12-26 13:24:57 +00:00
Igor Sysoev
2590d6c241
style fix
2007-12-25 15:31:18 +00:00
Igor Sysoev
4b32db62b0
several fixes:
...
*) do not add event if file was used less than min_uses
*) do not rely upon event to avoid race conditions
*) ngx_open_file_lookup()
2007-12-25 10:46:40 +00:00
Igor Sysoev
2c27e0be14
use %*s format
2007-12-24 17:05:31 +00:00
Igor Sysoev
2729f9ede6
%*s format
2007-12-24 17:05:16 +00:00
Igor Sysoev
c9d8ac563a
open_file_cache_min_uses
2007-12-22 13:19:39 +00:00
Igor Sysoev
9b84b607d9
take MALLOC_OPTIONS=J into account in slab allocator
2007-12-22 11:06:53 +00:00
Igor Sysoev
53998a95a4
tree.init_handler is never called
2007-12-21 17:50:49 +00:00
Igor Sysoev
e75e2677c9
fix the previous commit
2007-12-21 17:23:41 +00:00
Igor Sysoev
5202af7573
open_file_cache_retest > open_file_cache_valid
2007-12-21 16:19:48 +00:00
Igor Sysoev
e35d6ba22c
fix the previous commit
2007-12-21 16:19:14 +00:00
Igor Sysoev
d514f49f08
use ngx_queue.h
2007-12-21 15:33:15 +00:00
Igor Sysoev
273ac50acd
clean rbtree node for all removals
2007-12-21 15:32:51 +00:00
Igor Sysoev
0c89e11d88
style fix
2007-12-21 15:24:59 +00:00
Igor Sysoev
d7712faae2
fix STARTTLS prompt in SMTP
2007-12-21 10:24:59 +00:00
Igor Sysoev
e02ad43419
embed sentinel
2007-12-20 21:29:52 +00:00
Igor Sysoev
dac5d9ad46
use ngx_queue.h
2007-12-20 21:01:00 +00:00
Igor Sysoev
9176fbab73
embed session_rbtree and sentinel inside ngx_ssl_session_cache_t
2007-12-20 20:35:23 +00:00
Igor Sysoev
19132f7adb
omit useless test
2007-12-20 20:30:45 +00:00
Igor Sysoev
135f78830c
use ngx_time() instead of ngx_timeofday()
2007-12-20 20:11:45 +00:00
Igor Sysoev
ad772dab83
remove SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER, we never need it,
...
the "bad write retry" error was caused by SSL_shutdown() error
2007-12-20 13:49:07 +00:00
Igor Sysoev
8425d35bc2
cleaning stale global SSL error
2007-12-20 13:04:20 +00:00
Igor Sysoev
2c227d3c34
SSL_shutdown() never returns -1, on error it returns 0.
...
This fixes incidental "bad write retry" errors.
2007-12-20 12:59:05 +00:00
Igor Sysoev
34da96a7cd
bump version
2007-12-19 16:56:01 +00:00
Igor Sysoev
17470252fd
comment ngx_walk_tree()
2007-12-18 18:04:37 +00:00
Igor Sysoev
d78a4d06fd
fix comment
2007-12-18 15:12:33 +00:00
Igor Sysoev
eeeb5c9fd4
ngx_create_hashed_filename() does not need ngx_file_t
2007-12-17 21:29:34 +00:00
Igor Sysoev
90d0e036c1
create the only cleanup
2007-12-17 21:23:05 +00:00
Igor Sysoev
663fbda196
style fix: remove trailing spaces
2007-12-17 21:20:12 +00:00
Igor Sysoev
c70e255fa0
replace ngx_md5_text() with ngx_hex_dump()
2007-12-17 21:06:17 +00:00
Igor Sysoev
c8bb8fbaaf
log run cleanups clearly
2007-12-17 17:29:36 +00:00
Igor Sysoev
c61f8cd4a8
optimize rbtree initialization and insert
2007-12-17 08:52:00 +00:00
Igor Sysoev
420323780a
no answers in DNS response should be NXDOMAIN
2007-12-16 20:47:55 +00:00
Igor Sysoev
6f49134630
fix segfault if response will have CNAME only
2007-12-16 20:00:15 +00:00
Igor Sysoev
71b8deb9d0
restore environ for perl_destruct()
2007-12-16 11:58:16 +00:00
Igor Sysoev
e338919d12
copy return values to perl's allocated memory
2007-12-16 11:57:27 +00:00
Igor Sysoev
e6de03148d
fix merge_slashes
2007-12-14 14:33:00 +00:00
Igor Sysoev
8aa97dc74d
large_client_header_buffers did not free()ed before keep-alive
2007-12-12 15:42:39 +00:00
Igor Sysoev
a0767cf8b5
$upstream_addr did not contain last address, the bug was introduced in r1659
2007-12-11 16:26:56 +00:00
Igor Sysoev
a333df9cd9
style fix: remove trailing spaces
2007-12-10 12:30:09 +00:00
Igor Sysoev
54ba36eeb3
optimize r->upstream usage
2007-12-10 12:29:43 +00:00
Igor Sysoev
1e973c6d87
move condition declarations inside blocks where they are used
2007-12-10 12:09:51 +00:00
Igor Sysoev
7a17551f8a
*) copy regex captures $1, $2, etc.
...
*) SV flags debug logging
2007-12-09 20:52:14 +00:00
Igor Sysoev
5b57cfa682
fix segfault when $r->has_request_body() is called with ready body
2007-12-09 19:30:30 +00:00
Igor Sysoev
30676327b2
*) now ngx_conf_set_str_array_slot() tests NGX_CONF_UNSET_PTR
...
this fixes fastcgi_catch_stderr segfault introduced in r1453
*) ngx_http_upstream_hide_headers_hash()
*) proxy/fastcgi pass_header/hide_header use
ngx_http_upstream_hide_headers_hash()
2007-12-09 18:03:20 +00:00
Igor Sysoev
756c0243b0
return NGX_HTTP_UPSTREAM_INVALID_HEADER instead of NGX_HTTP_BAD_GATEWAY
...
to go to a next upstream on invalid_header condition
2007-12-09 14:50:19 +00:00
Igor Sysoev
285127fbbe
return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR in u->parse_header()
2007-12-09 08:22:35 +00:00
Igor Sysoev
a04245d293
return NGX_HTTP_UPSTREAM_INVALID_HEADER for invalid status
2007-12-09 08:08:56 +00:00
Igor Sysoev
2b7c295215
fix r1695
2007-12-08 22:12:37 +00:00
Igor Sysoev
9f65245a83
delete useless variable
2007-12-07 20:57:38 +00:00
Igor Sysoev
5f21421401
ngx_create_path_and_rename_file()
2007-12-07 20:22:03 +00:00
Igor Sysoev
79ce6f8f61
rename ngx_crc32_init() to ngx_crc32_table_init()
...
ngx_crc32_init(), ngx_crc32_update(), ngx_crc32_final()
2007-12-07 20:19:41 +00:00
Igor Sysoev
28bfe377e7
use malloc() in ngx_win32_rename_file, set crit level instead of error
2007-12-07 19:57:13 +00:00
Igor Sysoev
6694df5d91
bump version
2007-12-03 17:26:28 +00:00
Igor Sysoev
23338af6e1
ngx_udp_recv()
2007-12-03 16:46:46 +00:00
Igor Sysoev
ffeb47564a
fix segfault
2007-12-03 15:47:35 +00:00
Igor Sysoev
4b011ec1f3
use ngx_rbtree_init()
2007-12-03 12:17:26 +00:00
Igor Sysoev
413cc634bf
ngx_rbtree_init()
2007-12-03 12:17:15 +00:00
Igor Sysoev
927cf70a5f
use ngx_queue_init()
2007-12-03 11:21:19 +00:00
Igor Sysoev
fcb170fbca
ngx_queue_init()
2007-12-03 11:21:07 +00:00
Igor Sysoev
ce86f12a95
allow to use IP addresses without defined resolver
2007-12-03 10:05:19 +00:00
Igor Sysoev
6887ccefd2
style fix
2007-12-01 21:05:19 +00:00
Igor Sysoev
e87de6618d
axe old unused alert message
2007-12-01 20:31:59 +00:00
Igor Sysoev
c02be5c16f
style fix
2007-12-01 20:25:32 +00:00
Igor Sysoev
1d25090146
style fix: remove trailing spaces
2007-12-01 19:57:37 +00:00
Igor Sysoev
5cdf6f5f4b
log how big fastcgi record
2007-12-01 14:23:53 +00:00
Igor Sysoev
3807c3c04e
copy protocol value when large request line is copied,
...
this fixes error "fastcgi: the request record is too big"
2007-12-01 12:22:48 +00:00
Igor Sysoev
8d6f7dbed7
do not allow plain 0.9 request to HTTPS
2007-12-01 11:46:04 +00:00
Igor Sysoev
9c6d68aa3d
zero ngx_url_t
2007-11-30 22:08:59 +00:00
Igor Sysoev
6105e092cf
style fix
2007-11-30 22:08:29 +00:00
Igor Sysoev
fe325a719e
fix typo
2007-11-30 22:07:05 +00:00
Igor Sysoev
be7424e3ae
fix comment
2007-11-30 22:06:48 +00:00
Igor Sysoev
8009a9c41d
ngx_parse_url() saves port text, this allows to use it in proxy host header
2007-11-28 19:55:31 +00:00
Igor Sysoev
7328fd5950
bump version
2007-11-28 19:17:24 +00:00
Igor Sysoev
90465507d8
fix segfault
2007-11-28 15:06:05 +00:00
Igor Sysoev
948878c194
delete unneeded declaration
2007-11-28 10:14:04 +00:00
Igor Sysoev
03730a612f
bump version
2007-11-27 16:58:41 +00:00
Igor Sysoev
c6041e61db
bump version
2007-11-27 16:25:32 +00:00
Igor Sysoev
cddb620691
proxy_pass variables support
2007-11-27 13:34:13 +00:00
Igor Sysoev
73678216ea
improve throughput with large limit_rate
2007-11-27 12:24:44 +00:00