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
Igor Sysoev
75d58f0295
log entire request line instead of URI only
2007-11-27 12:22:01 +00:00
Igor Sysoev
11992c39f2
add_header last-modified ""
2007-11-27 12:02:58 +00:00
Igor Sysoev
2a61e9f620
r->headers_out.refresh
2007-11-27 11:56:18 +00:00
Igor Sysoev
5ba863c9b0
set r->headers_out.location for non-local redirects
2007-11-27 11:52:37 +00:00
Igor Sysoev
f30ab3ccb5
http resolver and resolver_timeout
2007-11-27 11:33:52 +00:00
Igor Sysoev
0c3195b9d6
use usec and pid as start value
2007-11-24 10:43:15 +00:00
Igor Sysoev
79d54be696
fix previous commit
2007-11-23 17:27:01 +00:00
Igor Sysoev
b8b26eaf4b
resolver
2007-11-23 17:13:26 +00:00
Igor Sysoev
859f375a06
update ngx_memcmp()
2007-11-23 17:00:11 +00:00
Igor Sysoev
b0035d246d
ngx_inet_addr()
2007-11-23 16:59:24 +00:00
Igor Sysoev
1884fd1343
ngx_queue.h
2007-11-23 16:32:50 +00:00
Igor Sysoev
f8d3ec16b5
the simple expression has the same precision without overflow
2007-11-16 18:15:04 +00:00
Igor Sysoev
315fa5b74d
bump version
2007-11-15 15:42:39 +00:00
Igor Sysoev
64b3e3f88e
enable getenv() and gmtime() in msvc8
2007-11-15 14:34:10 +00:00
Igor Sysoev
f1dfba6181
64-bit time_t compatibility
2007-11-15 14:26:36 +00:00
Igor Sysoev
23bf191614
fix typo
2007-11-14 14:58:27 +00:00
Igor Sysoev
e2035917ad
fix win32 ngx_read_fd() and ngx_write_fd()
2007-11-11 19:56:46 +00:00
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