Igor Sysoev
540ce1957f
bump version
2009-02-11 10:23:06 +00:00
Igor Sysoev
9786016076
fix /?new=arg?old=arg redirect case
2009-02-10 16:03:42 +00:00
Igor Sysoev
c43beec76f
send HELO/EHLO after XCLIENT
...
patch by Maxim Dounin
2009-02-10 15:19:45 +00:00
Igor Sysoev
2c33648e52
if_modified_since off
2009-02-10 15:05:05 +00:00
Igor Sysoev
09f6cd5fa9
compatibility with Microsoft's
...
AUTH LOGIN [base64 encoded user name ]
patch by Maxim Dounin
2009-02-09 12:03:55 +00:00
Igor Sysoev
9f751a8324
AIX has no WCOREDUMP()
2009-02-05 16:01:50 +00:00
Igor Sysoev
f3d540a022
bump version
2009-02-05 15:47:12 +00:00
Igor Sysoev
9a5f4c74cf
fix building by msvc, introduced in r2487
2009-02-02 10:17:06 +00:00
Igor Sysoev
32856e1bc8
avoid a double redirect response if
...
*) a request is going in a keep alive state,
*) the request body should be discarded,
*) epoll/rtsig reports about the response header has been sent,
*) and write event handler calls core phase handler
2009-01-31 20:44:30 +00:00
Igor Sysoev
bd5c23ee0a
avoid deep nested calls, flatten call tree
2009-01-31 20:34:26 +00:00
Igor Sysoev
8ef386e1af
fix return code, this fixes segfault when two or more
...
simultaneous connections are resolving the same address
2009-01-31 20:33:01 +00:00
Igor Sysoev
2c01fd32f2
use length of uncompressed name
2009-01-30 11:56:45 +00:00
Igor Sysoev
867d63bc1a
fix $sent_http_location for local redirects
2009-01-30 05:26:27 +00:00
Igor Sysoev
9258872c2a
store name pointer in variable allocated on stack
...
as resolver ctx may be already deallocated at this point
2009-01-29 14:35:23 +00:00
Igor Sysoev
fa748fe120
free addrs only it has been allocated before: non single address
2009-01-29 14:32:58 +00:00
Igor Sysoev
8629b9b27e
fix reverse resolving cache: it stored zero length names
...
*) free name only if it has been already allocated
*) store name length
2009-01-29 14:29:49 +00:00
Igor Sysoev
67392e8054
fix types and add comment
2009-01-27 16:22:02 +00:00
Igor Sysoev
e46f19f7c4
test allocated space as in try_files
2009-01-27 16:20:29 +00:00
Igor Sysoev
6c5c793403
bump version
2009-01-26 17:01:27 +00:00
Igor Sysoev
dd6a98f89c
style fix: remove tabs
2009-01-26 14:35:10 +00:00
Igor Sysoev
2da48d32c1
fix segfault if $fastcgi_script_name or $fastcgi_path_info were used before
...
fastcgi handler, the bug has been introduced in r2444
2009-01-26 14:33:59 +00:00
Igor Sysoev
9aa30bc51e
revert the previous commit and r2447 change in src/core/ngx_cycle.c
2009-01-26 14:31:49 +00:00
Igor Sysoev
71f729c78c
default error_log has zero level, the bug has been introduced in r2447
2009-01-26 14:11:09 +00:00
Igor Sysoev
4b2844b8a0
fix slab page or more sized allocations if nginx was build without debug
2009-01-25 10:39:59 +00:00
Igor Sysoev
7a86f07057
fix fastcgi_store
2009-01-21 20:54:40 +00:00
Igor Sysoev
7dcbfe67ef
use GetFileAttributesEx() instead of GetFileAttributes()
2009-01-21 15:56:29 +00:00
Igor Sysoev
5aa6d223a6
fix win32 ngx_is_dir(), etc
2009-01-21 15:53:09 +00:00
Igor Sysoev
467f437e27
test ngx_file_info() result, the bug has been introduced in r2070
2009-01-21 15:50:52 +00:00
Igor Sysoev
1cf4988be6
fix r1981 on win32
2009-01-21 14:17:57 +00:00
Igor Sysoev
319dc27e8a
allow directories in try_files
2009-01-21 12:11:22 +00:00
Igor Sysoev
cd55a93cce
fix segfault when geo range replaces starting part of another range
2009-01-19 16:42:14 +00:00
Igor Sysoev
f39bca4281
bump version
2009-01-19 16:37:22 +00:00
Igor Sysoev
977fd90d2b
try_files should work with files only
2009-01-19 11:24:25 +00:00
Igor Sysoev
c1a2b978de
allow insertion range if its start or end is the same as existent one
2009-01-16 16:29:23 +00:00
Igor Sysoev
53554ae54d
fix single address range
2009-01-16 16:09:58 +00:00
Igor Sysoev
6ff8cda061
fix range deletion
2009-01-16 16:02:30 +00:00
Igor Sysoev
95cff3e9d0
repeat r2448 for range deletion
2009-01-16 15:58:27 +00:00
Igor Sysoev
287c22f788
log both overrlaped ranges
2009-01-16 15:47:05 +00:00
Igor Sysoev
f8fdbcaaa2
fix range start for ranges those spread in two or more slots
2009-01-16 15:44:39 +00:00
Igor Sysoev
91cf00da17
set the error level as default http error_log level
2009-01-16 14:00:05 +00:00
Igor Sysoev
6019a7621b
proxy/fastcgi_store did not delete incomplete files
2009-01-16 13:57:00 +00:00
Igor Sysoev
f1bde24720
set r->root_tested for non-error_page response only
2009-01-16 13:53:08 +00:00
Igor Sysoev
1b8267cea2
fastcgi_split_path_info
2009-01-16 13:21:20 +00:00
Igor Sysoev
73f9bb4d01
*) fix duplicate geo ranges
...
*) split existent range and insert a new one
2009-01-16 13:17:12 +00:00
Igor Sysoev
f7204173f9
in miss case memcached module returned END instead of default 404 page body
...
the bug has been introduced in r2269
2009-01-15 13:10:45 +00:00
Igor Sysoev
77a797436d
update r2439: make clear name
2009-01-13 06:47:29 +00:00
Igor Sysoev
103fe34052
fix r2312
2009-01-12 15:40:26 +00:00
Igor Sysoev
19961d20ce
style fix
2009-01-12 15:36:30 +00:00
Igor Sysoev
303df47fcb
send "100 Continue" just before reading request body
2008-12-26 13:43:42 +00:00
Igor Sysoev
2aae701ab7
do not send "100 Continue" for subrequests
2008-12-26 06:21:23 +00:00
Igor Sysoev
97bf6c760a
set send() slot for POSIX systems
2008-12-25 20:07:12 +00:00
Igor Sysoev
07fc16cf31
bump version
2008-12-25 20:06:26 +00:00
Igor Sysoev
9b753d2eea
fix segfault, introduced in r2423
2008-12-24 16:18:35 +00:00
Igor Sysoev
503c075122
bump version
2008-12-24 15:54:21 +00:00
Igor Sysoev
a26a70e80b
fix r2378, file inclusion should be waited
2008-12-24 12:39:41 +00:00
Igor Sysoev
9eb86c43c7
do not try to align to a page size, allocate just 8K,
...
this is fixes allocation on Cygwin, it reports 64K page size
2008-12-24 12:05:55 +00:00
Igor Sysoev
195860b74d
flush variable values in try_files
2008-12-24 07:14:01 +00:00
Igor Sysoev
d8e54adb6d
update r2422
2008-12-24 06:11:04 +00:00
Igor Sysoev
302cedceb0
variable support for unix sockets in fastcgi_pass and proxy_pass
2008-12-23 19:35:12 +00:00
Igor Sysoev
8eb5ed2e77
fix r2378, do not activate subrequest if there are already
...
postponed subrequests or data
2008-12-23 17:25:46 +00:00
Igor Sysoev
ce55952790
fix the previous commit
2008-12-23 08:10:17 +00:00
Igor Sysoev
40e2269bfb
send "100 Continue" for HTTP/1.1 only
2008-12-22 15:44:13 +00:00
Igor Sysoev
2a7ce7b878
bump version
2008-12-22 15:40:12 +00:00
Igor Sysoev
84d17bba65
ngx_http_arg()
2008-12-22 12:02:05 +00:00
Igor Sysoev
ed9b6d8962
remove never used zero copy stuff
2008-12-17 20:47:18 +00:00
Igor Sysoev
cf6c582b9a
fix segfault
2008-12-17 16:07:58 +00:00
Igor Sysoev
52b815e452
set default gzip_buffers to 32 4k or 16 8k
2008-12-16 16:15:52 +00:00
Igor Sysoev
7505928d9f
bump version
2008-12-16 16:12:31 +00:00
Igor Sysoev
9aa7e66911
postpone zlib memory allocation
2008-12-16 16:09:39 +00:00
Igor Sysoev
d8e3d0b5a5
try_files
2008-12-15 10:56:48 +00:00
Igor Sysoev
2194e75bb3
do not add header if add_header ""
2008-12-15 10:50:57 +00:00
Igor Sysoev
4f395dec87
remove seldom used variable
2008-12-12 16:40:12 +00:00
Igor Sysoev
3dde93ba6c
fix segfault if no named location are defined, but are used
2008-12-11 17:32:52 +00:00
Igor Sysoev
ac662fbe1b
fix zero length static response, the bug was introduced in r2378
2008-12-11 15:57:14 +00:00
Igor Sysoev
371766c0a5
$upstream_response_length
2008-12-11 15:30:52 +00:00
Igor Sysoev
2d83ed000f
style fix: remove tabs
2008-12-11 10:22:25 +00:00
Igor Sysoev
22f6d86cba
allow "~", "~*", "^~", and "=" before location name without space
2008-12-11 10:21:08 +00:00
Igor Sysoev
9a1d46684c
$geo variable support
2008-12-11 09:46:45 +00:00
Igor Sysoev
976603a646
remove before nginx-0.1.25 compatibility code
2008-12-11 07:48:48 +00:00
Igor Sysoev
0e17953679
fix r2394
2008-12-11 06:38:14 +00:00
Igor Sysoev
0c54fef3e0
test port in fastcgi_pass variable
2008-12-10 16:25:14 +00:00
Igor Sysoev
1e2d6aa0e8
clear fastcgi ctx for internal redirection via named location
2008-12-10 16:16:10 +00:00
Igor Sysoev
524f54f56d
use ngx_ext_rename_file() for single file MOVE
2008-12-10 14:53:45 +00:00
Igor Sysoev
45656b4051
fix debug logging
2008-12-10 14:48:04 +00:00
Igor Sysoev
ebc050dbba
change variable name
2008-12-10 14:46:34 +00:00
Igor Sysoev
73c3121e6a
delete surplus upstream.schema field
2008-12-10 14:44:48 +00:00
Igor Sysoev
d56088f4da
fastcgi_pass variables support
2008-12-10 14:22:07 +00:00
Igor Sysoev
a70d3962bb
compact win32 errno logging
2008-12-09 17:41:17 +00:00
Igor Sysoev
c9aae14a7e
use "!= NGX_OK" instead of "== NGX_ERROR"
2008-12-09 17:27:48 +00:00
Igor Sysoev
04f7dbb9cd
remove stale pragma
2008-12-09 17:26:42 +00:00
Igor Sysoev
b9409a8e25
use already available r and u instead of ev
2008-12-09 17:25:03 +00:00
Igor Sysoev
f8ffc2eb59
delete unneeded call
2008-12-09 16:49:52 +00:00
Igor Sysoev
d30d8a3931
bump version
2008-12-09 11:13:12 +00:00
Igor Sysoev
3e15a9712a
fix r2378, run posted requests after upstream event handling
2008-12-08 18:28:06 +00:00
Igor Sysoev
17b5953e71
bump version
2008-12-08 17:59:43 +00:00
Igor Sysoev
851cd73f1d
*) refactor subrequest handling, now they run as separate posted requests
...
*) now $upstream_addr, $upstream_status, $upstream_response_time can be used
with log_subrequest
2008-12-08 14:23:20 +00:00
Igor Sysoev
ba206e147c
*) add zone name while logging 503 error reason
...
*) log allocation error as 503 error reason
2008-12-08 14:18:06 +00:00
Igor Sysoev
54fd0bb613
update comment
2008-12-08 14:15:19 +00:00
Igor Sysoev
61591d111f
rename "lz" to "lr" in variable names
2008-12-08 14:13:36 +00:00
Igor Sysoev
38a2933b67
log 503 error reason
2008-12-08 14:12:29 +00:00
Igor Sysoev
4bc0dcf701
test duplicate limit_conn
2008-12-08 14:08:44 +00:00
Igor Sysoev
51fad316cd
skip protected symlinks in autoindex
2008-12-08 14:05:21 +00:00
Igor Sysoev
5bf2087462
allow POST without Content-Length
2008-12-08 14:04:31 +00:00
Igor Sysoev
0e32306bab
fix comment
2008-12-02 16:50:56 +00:00
Igor Sysoev
84b7651ac2
fix "delete CIDR"
2008-12-02 15:02:36 +00:00
Igor Sysoev
14ecd8ab01
bump version
2008-12-02 14:59:14 +00:00
Igor Sysoev
863325fe98
if_modified_since
2008-12-01 14:22:51 +00:00
Igor Sysoev
15fbaa6612
read and process upstream header in cycle,
...
this fixes the case when local FastCGI server sends many warnings in stderr
2008-12-01 14:08:00 +00:00
Igor Sysoev
c6016b25cf
$cookie_... variable did not for SSI and perl
2008-12-01 13:59:35 +00:00
Igor Sysoev
69b5a6ddfb
create empty radix tree for "geo $geo { }" case
2008-11-28 17:22:35 +00:00
Igor Sysoev
5a214b96e2
bump version
2008-11-28 17:22:06 +00:00
Igor Sysoev
1c6c63332c
*) descrease geo configuration memory usage
...
*) geo delete
*) geo ranges
2008-11-25 15:59:06 +00:00
Igor Sysoev
8ab0867644
allocate cf->conf_file and cf->conf_file->buffer on stack
2008-11-25 15:55:10 +00:00
Igor Sysoev
2a523f1c71
fix segfault on close error
2008-11-25 14:45:44 +00:00
Igor Sysoev
65eba4b692
ngx_reset_pool()
2008-11-25 14:25:20 +00:00
Igor Sysoev
ecbb69ad7f
*) increase ngx_conf_log_error() buffer
...
*) always log an error code
2008-11-25 13:00:53 +00:00
Igor Sysoev
33930d82ce
ngx_strerror_r() style and size == 0 bug fix
2008-11-25 11:26:32 +00:00
Igor Sysoev
de2f8c4ca5
use value rbtree instead of array in geo configuration
2008-11-22 20:42:51 +00:00
Igor Sysoev
9857082f09
variable value rbtree support
2008-11-22 20:42:01 +00:00
Igor Sysoev
1575d12bd7
bump version
2008-11-22 20:38:45 +00:00
Igor Sysoev
7f3c048e21
allow directio on XFS
2008-11-20 16:21:39 +00:00
Igor Sysoev
1bf7dc1884
low some SSL handshake errors level
2008-11-18 16:05:00 +00:00
Igor Sysoev
b3ac4fb27c
fix compression pointer for big (>255) DNS responses
2008-11-17 08:04:41 +00:00
Igor Sysoev
b4407c27cb
use integer instead of float
2008-11-14 13:25:44 +00:00
Igor Sysoev
c3d5410c77
change rate to an excess
2008-11-14 11:32:03 +00:00
Igor Sysoev
2ab644895e
do not close session if SMTP backend returned an error on RCPT TO
...
patch by Maxim Dounin
2008-11-13 14:20:54 +00:00
Igor Sysoev
d67d8478a6
remove unused field
2008-11-13 13:30:34 +00:00
Igor Sysoev
d0e8e5456c
smtp_auth none
...
patch by Maxim Dounin
2008-11-13 13:25:34 +00:00
Igor Sysoev
a485909174
memcached response was stored in variable with END
2008-11-12 21:01:01 +00:00
Igor Sysoev
c8b40a2401
$cookie_... variable
2008-11-12 11:12:02 +00:00
Igor Sysoev
038a9201e6
bump version
2008-11-12 10:48:27 +00:00
Igor Sysoev
a25d29ff6f
the sysctl "kern.ostype" and "kern.osrelease" had appeared in MacOSX 10.5 only
2008-11-11 19:44:30 +00:00
Igor Sysoev
f2884e194a
compatibility with glibc 2.3, warn_unused_result attribute for write()
2008-11-11 16:17:45 +00:00
Igor Sysoev
ead8091746
style fix: remove trailing spaces
2008-11-11 16:04:05 +00:00
Igor Sysoev
40cc949c7b
*) correct leaky bucket implementation
...
*) now burst is not per second
*) remove delay= parameter
*) add nodelay parameter
2008-11-11 15:38:16 +00:00
Igor Sysoev
05215534e7
exslt support
2008-11-11 15:22:24 +00:00
Igor Sysoev
bc70b323d3
bump version
2008-11-10 18:34:24 +00:00
Igor Sysoev
de2652c176
fix r2067
2008-11-10 15:25:11 +00:00
Igor Sysoev
abe378e820
ngx_http_limit_req_module
2008-11-10 15:22:33 +00:00
Igor Sysoev
74b7e5fadd
%f format
2008-11-10 15:20:59 +00:00
Igor Sysoev
698b8cb038
fix the previous commit
2008-11-06 19:54:54 +00:00
Igor Sysoev
3e8c2f7811
*) split ngx_http_gzip_body_filter()
...
*) send gzheader together with the filter's first output
2008-11-06 19:13:47 +00:00
Igor Sysoev
051d85f6b0
change int to size_t
2008-11-06 19:11:19 +00:00
Igor Sysoev
8329a5bc34
align first allocation from additional pool block, this fixes bus error on sun4v
2008-11-06 16:14:24 +00:00
Igor Sysoev
e4c10b25d4
do not pass gzheader separately as due to the previous commit
...
we do not use ctx->busy as flush condition
2008-11-05 16:27:45 +00:00
Igor Sysoev
4f79acbdd8
use nomem flag to flush busy bufs,
...
thus gzip filter does not depend on NGX_AGAIN return code
2008-11-05 15:46:41 +00:00
Igor Sysoev
694c84975d
fix r1913
2008-10-30 15:59:10 +00:00
Igor Sysoev
164abfb26f
fix case proxy_pass URL is evaluted to http://host?args
2008-10-24 19:34:24 +00:00
Igor Sysoev
c239da5055
fix case when URL has no port, but has ":" in URI part,
...
the bug has been introduced in r2204
2008-10-24 15:12:11 +00:00
Igor Sysoev
571a5e1512
show name for a FORMERR DNS response
2008-10-24 14:38:09 +00:00
Igor Sysoev
1c2bb210c1
FORMERR DNS response may be equal to mininal query size
2008-10-24 14:34:10 +00:00
Igor Sysoev
a862c46ffa
always use buffer, if connection is buffered,
...
this fixes OpenSSL "bad write retry" error, when
*) nginx passed a single buf greater than our buffer (say 32K) to OpenSSL,
*) OpenSSL returns SSL_ERROR_WANT_WRITE,
*) after some time nginx has to send a new data,
*) so there are at least two bufs nginx does pass them directly to OpenSSL,
*) but copies the first buf part to buffer, and sends the buffer to OpenSSL.
*) because the data length is lesser than it was in previous SSL_write():
16K < 32K, OpenSSL returns SSL_R_BAD_WRITE_RETRY.
2008-10-23 05:58:10 +00:00
Igor Sysoev
0c689b7498
allow short secure links
2008-10-21 12:33:23 +00:00
Igor Sysoev
6645e76e38
fix server_addr value known from configuration, bug introduced in r2199
2008-10-17 12:36:48 +00:00
Igor Sysoev
ad1e123bfa
NGX_OPEN_FILE_DIRECTIO_OFF
2008-10-16 13:31:00 +00:00
Igor Sysoev
84ab8f2bc8
bump version
2008-10-16 13:20:47 +00:00
Igor Sysoev
df2e1a56d0
bump version
2008-10-13 13:23:18 +00:00
Igor Sysoev
bc72beb71a
do not set "Transfer-Encoding: chunked" for HEAD requests
2008-10-02 15:40:01 +00:00
Igor Sysoev
674371499c
fix r2122:
...
*) update file buf pointers,
*) avoid "zero buf" alert
2008-10-02 15:38:26 +00:00
Igor Sysoev
797c6ef394
*) ngx_http_upstream_test_next()
...
*) add proxy_next_upstream http_502 and http_504
*) fix http_503
2008-09-30 15:39:02 +00:00
Igor Sysoev
d01eea1e18
ngx_http_upstream_intercept_errors()
2008-09-30 14:57:09 +00:00
Igor Sysoev
eb7cfa0a2f
back out $random_index variable
2008-09-30 13:17:14 +00:00
Igor Sysoev
eb62fa0e73
refactor log_subrequest
2008-09-29 13:18:41 +00:00
Igor Sysoev
5d1dcce2c5
update log_subrequest
2008-09-29 07:12:04 +00:00
Igor Sysoev
4ca2acfce0
disable $realpath_root variable in a "root" directive
2008-09-29 04:47:22 +00:00
Igor Sysoev
9059ecae83
fix the previous commit
2008-09-29 04:46:21 +00:00
Igor Sysoev
2eec1e1ff2
*) log_subrequest
...
*) flush variables in access log
2008-09-27 15:08:02 +00:00
Igor Sysoev
e52991ecbe
ngx_http_secure_link_module
2008-09-27 13:22:10 +00:00
Igor Sysoev
6736614275
$realpath_root
2008-09-27 11:53:41 +00:00
Igor Sysoev
0100cbc5f3
$random_index variable
2008-09-27 11:48:28 +00:00
Igor Sysoev
e5a30cb6a9
real_ip_header supports any header
2008-09-25 19:51:56 +00:00
Igor Sysoev
753792e108
underscores_in_headers
2008-09-24 14:02:50 +00:00
Igor Sysoev
e17cc987d3
dynamic accept threshold
2008-09-19 12:47:13 +00:00
Igor Sysoev
c9ff5b6dff
fix grammar
2008-09-17 08:03:58 +00:00
Igor Sysoev
f8403702ba
bump version
2008-09-15 17:10:23 +00:00
Igor Sysoev
05a7656d2c
set request handlers, this fixes complex proxied 400 handler with SSI includes
2008-09-15 16:44:37 +00:00
Igor Sysoev
ea1c7c7f16
$pid
2008-09-15 16:41:08 +00:00
Igor Sysoev
fae2c00d02
disable directio for unaligned reads in Linux
2008-09-12 13:50:12 +00:00
Igor Sysoev
0f8ea4de46
disable directio for access_log with variables
2008-09-12 13:44:10 +00:00
Igor Sysoev
77cdae1814
cache directio flag in open file cache
2008-09-12 13:39:51 +00:00
Igor Sysoev
d0df295655
add filename to the log message
2008-09-11 15:52:11 +00:00
Igor Sysoev
316542508b
strip charset name quotes
2008-09-09 11:58:45 +00:00
Igor Sysoev
44b1a12750
bump version
2008-09-08 09:49:22 +00:00
Igor Sysoev
a19c7b5ad6
fix building on 64-bit platforms, introduced in r2232
2008-09-08 09:33:37 +00:00
Igor Sysoev
196f952551
bump version
2008-09-08 08:47:00 +00:00
Igor Sysoev
f8c4ae3151
allow underscores in client request header lines
2008-09-08 08:26:42 +00:00
Igor Sysoev
2e2b81d213
ngx_http_random_index_module
2008-09-05 15:45:55 +00:00
Igor Sysoev
dfc8dadd04
*) autoconfigure struct dirent capabilities
...
*) move src/os/.../ngx_types.h's content into src/os/.../ngx_files.h and
delete src/os/.../ngx_types.h
2008-09-05 15:43:34 +00:00
Igor Sysoev
5d4e80b8fb
remove unused #include's
2008-09-05 15:25:47 +00:00
Igor Sysoev
c3995ff670
style fix
2008-09-05 14:53:17 +00:00
Igor Sysoev
8633e1fa06
*) handle unaligned file part for directio
...
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
98007c1761
split ngx_output_chain()
2008-09-03 10:01:29 +00:00
Igor Sysoev
3b63d7cbb3
bump version
2008-09-01 15:44:57 +00:00
Igor Sysoev
cf0c445a14
fix building by msvc introduced in r2223
2008-09-01 15:17:54 +00:00
Igor Sysoev
4084b12041
escape a query string characters taken from URI while rewrite
2008-09-01 14:43:38 +00:00
Igor Sysoev
f100c7816d
*) listen ssl
...
*) no default ssl_cetificate and ssl_cetificate_key
2008-09-01 14:19:01 +00:00
Igor Sysoev
0c16f73b4e
style fix: remove tabs and trailing spaces
2008-09-01 14:05:20 +00:00
Igor Sysoev
63c78f3c34
test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bug
2008-09-01 13:59:11 +00:00
Igor Sysoev
f4423eb7b5
use ngx_pmemalign() to allocate radix pages
2008-09-01 13:52:55 +00:00
Igor Sysoev
fcb5a705dd
ngx_timezone_update()
2008-08-30 19:52:07 +00:00
Igor Sysoev
d76eb9a8c8
set listen configuration to default server,
...
this fixes the case, when default server is not the first one
2008-08-29 13:43:38 +00:00
Igor Sysoev
e04b4204a8
remove unused debug log
2008-08-27 13:26:35 +00:00
Igor Sysoev
c48f49f837
quoted too long parameter error
2008-08-27 12:19:07 +00:00
Igor Sysoev
6d09950cd8
too long parameter error
2008-08-26 21:10:20 +00:00
Igor Sysoev
a1bccd199e
remove never used macro
2008-08-26 21:05:59 +00:00
Igor Sysoev
a6e337fdef
fix types
2008-08-26 21:04:06 +00:00
Igor Sysoev
b0f1db1010
bump version
2008-08-26 17:23:27 +00:00
Igor Sysoev
316eafb88d
fix build on Linux and Solaris introduced in r2200
2008-08-26 17:15:11 +00:00
Igor Sysoev
e56cc8e503
bump version
2008-08-26 16:23:14 +00:00
Igor Sysoev
d3bf7c1cd5
fix bugs introduced in r2204
2008-08-26 16:11:30 +00:00
Igor Sysoev
54477e417a
gzip_disable msie6
2008-08-26 15:09:28 +00:00
Igor Sysoev
333723e001
fix divide by zero if max_fails=0
2008-08-26 14:34:16 +00:00
Igor Sysoev
c9491d113c
*) refactor ngx_parse_inet_url()
...
*) refactor ngx_parse_unix_domain_url()
*) delete unused ngx_url_t fields
2008-08-26 14:24:14 +00:00
Igor Sysoev
9c388c0a7f
*) refactor ngx_ptocidr()
...
*) allow address without bitmask
*) thus now ngx_http_geo_module accepts addresses without bitmask
2008-08-26 14:19:37 +00:00
Igor Sysoev
caa4a45c0f
ngx_strlchr()
2008-08-26 14:16:36 +00:00
Igor Sysoev
154013c5f3
split ngx_parse_url()
2008-08-22 13:36:56 +00:00
Igor Sysoev
843ad94e81
fix building on FreeBSD prior to 4.8, it has no GLOB_NOMATCH
2008-08-22 12:54:32 +00:00
Igor Sysoev
c5849a6381
ngx_sock_ntop() takes family from sockaddr, remove duplicate field
2008-08-21 19:24:07 +00:00
Igor Sysoev
6a75019ad6
*) remove zero termination in ngx_inet_ntop() and ngx_sock_ntop()
...
*) use ngx_snprintf() in ngx_inet_ntop() and ngx_sock_ntop()
as they are called just once per connection
*) NGX_INET_ADDRSTRLEN
2008-08-21 18:47:23 +00:00
Igor Sysoev
bbe42c41e8
call ngx_http_xslt_filter_exit()
2008-08-21 18:21:40 +00:00
Igor Sysoev
b29426deb8
server_name "" support
2008-08-21 12:56:10 +00:00
Igor Sysoev
cbc7c6177c
fix $r->header_in() for "User-Agent", "Connection", and "Host"
...
broken in r2005, r2006, and r2008.
2008-08-19 19:40:45 +00:00
Igor Sysoev
1a8cbb8663
leave HEAD method while error_page redirection
2008-08-19 18:55:46 +00:00
Igor Sysoev
c9482c6ead
do not discard body while error_page redirection
2008-08-19 12:23:18 +00:00
Igor Sysoev
1de8bb5bd6
bump version
2008-08-18 14:29:57 +00:00
Igor Sysoev
fa92df4bd4
remove text/css from default charset_types
...
as it does not usually require recoding
2008-08-18 13:38:17 +00:00
Igor Sysoev
dc911287e8
*) regex match must return NGX_OK to stop regex searching,
...
this fixes inclusive regex location
*) change NGX_HTTP_INTERNAL_SERVER_ERROR to NGX_ERROR
2008-08-17 18:02:55 +00:00
Igor Sysoev
9a70242f07
fix noregex for inclusive locations
2008-08-17 17:58:16 +00:00
Igor Sysoev
916ee8ecea
proxy_ssl_session_reuse
2008-08-17 17:47:52 +00:00
Igor Sysoev
f60dde9767
disable original URI usage in proxy_pass after X-Accel-Redirect
2008-08-17 17:44:08 +00:00
Igor Sysoev
d3cbd87f50
allow file existence test for POST requests in static module
2008-08-17 17:42:42 +00:00
Igor Sysoev
a03bb0bc77
ignore NGX_EACCES error while directory test
2008-08-17 17:38:48 +00:00
Igor Sysoev
b17e33293a
fix log message
2008-08-15 20:14:49 +00:00
Igor Sysoev
6f39513828
bump version
2008-08-13 16:59:16 +00:00
Igor Sysoev
cf1735e458
restore connection address on request closure,
...
this fixes the issue when a frontend before nginx sends various client
connections via keepalive connection to nginx
2008-08-13 16:31:01 +00:00
Igor Sysoev
c71e3d8f81
*) fix segfaults in types hash
...
*) fix inheritance: default hash instead of inherited one
2008-08-13 16:25:48 +00:00
Igor Sysoev
d1853490da
disable error_page loop in 500 error when recursive errors are enabled
2008-08-13 09:00:13 +00:00
Igor Sysoev
85aebb0077
bump version
2008-08-12 15:46:34 +00:00
Igor Sysoev
1c7d449fa8
fix the case when unset domain.tld was matched by *.domain.tld
2008-08-12 15:28:19 +00:00
Igor Sysoev
d1b615815a
*) charset_types
...
*) change of default charset types
*) addition_types
2008-08-12 13:17:08 +00:00
Igor Sysoev
390abe0772
use hash in gzip_types, ssi_types, and sub_filter_types
2008-08-12 13:11:36 +00:00
Igor Sysoev
a408b2ba2d
backout both r2162 and r2128 and implement a new fix
2008-08-12 12:04:49 +00:00
Igor Sysoev
af9bb9a14e
check daily time range
2008-08-11 17:50:37 +00:00
Igor Sysoev
88c295c009
expires daily time
2008-08-11 15:28:35 +00:00
Igor Sysoev
c271775902
ngx_next_time()
2008-08-11 15:28:15 +00:00
Igor Sysoev
2ff9a4b334
SSL connection readiness is required for level-triggered events only,
...
broken in r2128
2008-08-11 15:25:40 +00:00
Igor Sysoev
6e99c76c71
consider log_not_found while testing index files
2008-08-11 15:22:40 +00:00
Igor Sysoev
f98f98610e
clear Last-Modified; set content-type and length for main request only
2008-08-06 13:18:57 +00:00
Igor Sysoev
f36ae41e36
disable ranges, because xslt filter runs after range body filter
2008-08-06 09:38:34 +00:00
Igor Sysoev
e24b57ad9f
ngx_cpp_test_module
2008-08-05 19:32:50 +00:00
Igor Sysoev
36876c3d6c
reuse compiled DTD hash in different locations, add DTD cleanup
2008-08-05 19:05:15 +00:00
Igor Sysoev
2278ea09b6
update debug logging
2008-08-05 15:19:21 +00:00
Igor Sysoev
4ea51081b3
reuse compiled XSLT tree in different locations
2008-08-05 14:27:49 +00:00
Igor Sysoev
993aeefc54
xsl:output's media-type and encoding support
2008-08-05 14:24:16 +00:00
Igor Sysoev
1dcebd8dcb
we do not need dtd->name
2008-08-05 13:08:35 +00:00
Igor Sysoev
f8c0d8ade9
xslt_stylesheet should be valid for location only
2008-08-05 13:07:42 +00:00
Igor Sysoev
c097e83881
fix xslt module context levels
2008-08-05 06:21:15 +00:00
Igor Sysoev
ca824f3cfa
update debug logging
2008-08-04 21:51:36 +00:00
Igor Sysoev
b47aed9005
style fix
2008-08-04 20:25:51 +00:00
Igor Sysoev
2b29a703bb
fix building by bcc broken in r2143
2008-08-04 20:23:21 +00:00
Igor Sysoev
40db7a19b1
bump version
2008-08-04 16:45:52 +00:00
Igor Sysoev
b83f893c75
Solaris directio()
2008-08-04 15:32:10 +00:00
Igor Sysoev
90815b49af
fix building by msvc8 introduced in r2127
2008-08-04 14:56:25 +00:00
Igor Sysoev
ac721d0647
if upstream sent a location header without status use 302
2008-08-04 14:53:16 +00:00
Igor Sysoev
1ae389d2f7
ngx_http_xslt_filter_module
2008-08-04 14:48:15 +00:00
Igor Sysoev
b5bc3f989f
test Content-Type via hash:
...
*) ngx_http_test_content_type()
*) ngx_http_types_slot()
*) ngx_http_merge_types()
2008-08-04 11:29:09 +00:00
Igor Sysoev
42511c05c7
$arg_... variable
2008-08-04 11:10:52 +00:00
Igor Sysoev
6a07833d47
ngx_hash_strlow()
2008-08-04 10:18:36 +00:00
Igor Sysoev
777b019c73
ngx_strlow()
2008-08-04 10:07:00 +00:00
Igor Sysoev
eb3e4c8be0
fix building by bcc broken in r2130
2008-08-04 09:14:30 +00:00
Igor Sysoev
a3e9f7d306
fix conflicting names "true" and "false"
2008-07-31 07:55:46 +00:00
Igor Sysoev
e513a89220
bump version
2008-07-30 13:38:49 +00:00
Igor Sysoev
385af28642
directio
2008-07-30 12:34:04 +00:00
Igor Sysoev
7494490978
*) move Darwin support to separate files
...
*) Darwin sendfile() support
2008-07-30 12:18:07 +00:00
Igor Sysoev
ec0b579f75
update connection readiness after SSL handshake,
...
this fixes mail proxy SSL connection hanging if level-triggered event is used
2008-07-30 06:12:30 +00:00
Igor Sysoev
0f17f6ce9f
case insensitive file system location support provided by locale only
2008-07-29 16:55:11 +00:00
Igor Sysoev
a089857143
rename ngx_utf_...() to ngx_utf8_...()
2008-07-29 14:41:34 +00:00
Igor Sysoev
4c756c46cd
fix typo
2008-07-29 14:31:03 +00:00
Igor Sysoev
49ed6f3eec
*) ssl_verify_client ask
...
*) test ssl_client_certificate for ssl_verify_client
*) $ssl_client_cert adds TAB before each line except first one
*) $ssl_client_raw_cert contains certificate as is
2008-07-29 14:29:02 +00:00
Igor Sysoev
88634bf06b
allow range for partial flv response
2008-07-29 13:58:56 +00:00
Igor Sysoev
4a1b032901
support several buf's for single-part range
...
patch by Maxim Dounin
2008-07-29 13:58:13 +00:00
Igor Sysoev
96eaa05fd2
fix utf-8 names in autoindex
2008-07-25 14:29:05 +00:00
Igor Sysoev
6df67879a0
fix ranges without Content-Type
2008-07-23 16:30:42 +00:00
Igor Sysoev
c6742cff8e
split ngx_http_range_filter_module
2008-07-23 16:18:37 +00:00
Igor Sysoev
58e9f22bfd
handle connect()'s EAGAIN on Linux
2008-07-09 15:42:13 +00:00
Igor Sysoev
82911ceb0c
bump version
2008-07-07 12:19:57 +00:00
Igor Sysoev
edf1c8c1b8
always test root existence for access_log with variables
2008-07-07 09:26:13 +00:00
Igor Sysoev
4f677fd203
allow several values in query string
2008-07-04 12:59:53 +00:00
Igor Sysoev
8d9c63f677
show an error message for invalid parameter
2008-07-03 19:19:45 +00:00
Igor Sysoev
0ac3516a02
bump version
2008-07-01 07:38:28 +00:00
Igor Sysoev
ba6fc40c4c
nginx could not be build without gzip, introduced in r2052
2008-07-01 06:31:16 +00:00
Igor Sysoev
06d2147139
NULL script in default access_log
2008-07-01 06:26:48 +00:00
Igor Sysoev
098ac90bc8
fix error when response parsed by sub filter, then by SSI filter
...
and some response parts are output as file buffers
2008-06-30 19:10:06 +00:00
Igor Sysoev
0da6d2f675
fix variable access_log merging
2008-06-30 15:51:28 +00:00
Igor Sysoev
504efffca8
fix error message
2008-06-30 15:32:57 +00:00
Igor Sysoev
4cb276ae21
bump version
2008-06-30 12:46:40 +00:00
Igor Sysoev
b4fbdcf5d4
-g switch
2008-06-30 12:35:16 +00:00
Igor Sysoev
b882154636
variables in access_log
2008-06-30 12:27:24 +00:00
Igor Sysoev
c3584fec61
fix comment
2008-06-30 12:12:16 +00:00
Igor Sysoev
bf93476272
fix the previous commit
2008-06-30 12:11:47 +00:00
Igor Sysoev
d6711d37c3
use ngx_file_info() and test uniq if file is already open
2008-06-26 16:10:13 +00:00
Igor Sysoev
5a0eac8692
ngx_memzero() ngx_open_file_info_t
2008-06-26 14:07:59 +00:00
Igor Sysoev
1e1f4c8a04
the "Expect" header support
2008-06-26 13:00:39 +00:00
Igor Sysoev
24329bf299
fix bug when inactive subrequest is truncated,
...
if output_buffers are less than subrequest size
2008-06-26 12:45:37 +00:00
Igor Sysoev
eb03ea7458
refactor obscure code
2008-06-25 14:56:14 +00:00
Igor Sysoev
3e6f74da05
initialize of.uniq in ngx_open_cached_file()
2008-06-23 13:35:34 +00:00
Igor Sysoev
ce1e64f404
prepare to allow various number of connections in child processes
2008-06-23 13:23:29 +00:00
Igor Sysoev
f2a1484347
change useless ngx_pcalloc() to ngx_pnalloc()
2008-06-23 12:27:03 +00:00
Igor Sysoev
96a1ea9d22
bump version
2008-06-23 10:50:18 +00:00
Igor Sysoev
3cc03616e9
fix max size allocated from pool
2008-06-21 06:40:32 +00:00
Igor Sysoev
11864a706a
fix the previous commit
2008-06-20 21:06:53 +00:00
Igor Sysoev
5a4c61658b
small optimization
2008-06-20 20:57:40 +00:00
Igor Sysoev
0b5e77f416
auto detect https redirect in rewrite
2008-06-20 14:48:28 +00:00
Igor Sysoev
da02ddc6fd
fix "proxy_pass https://..." broken in r1427
2008-06-20 14:42:54 +00:00
Igor Sysoev
c49ed61376
"gzip_vary on" always sends "Vary: Accept-Encoding" header
2008-06-20 14:41:03 +00:00
Igor Sysoev
77c287f35d
disable charset if there is "Content-Encoding" header
2008-06-20 14:33:36 +00:00
Igor Sysoev
7f6b2ffc60
*) back out r2040
...
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
2008-06-17 15:00:30 +00:00
Igor Sysoev
c2eb2cf4cb
bump version
2008-06-16 09:11:12 +00:00
Igor Sysoev
81f9c9dc72
$ssl_client_cert
2008-06-16 05:54:18 +00:00
Igor Sysoev
df83e6f81a
DH parameters, ssl_dhparam
2008-06-16 05:51:32 +00:00
Igor Sysoev
b0780752b0
after URI was rewritten location configuration should be to a server's null one
2008-06-15 19:07:35 +00:00
Igor Sysoev
a3a792b1ee
fix building without PCRE introduced in r2023
2008-06-07 12:08:38 +00:00
Igor Sysoev
a5bf33601b
style fix
2008-05-28 12:27:08 +00:00
Igor Sysoev
9709aaa2f4
fix building by bcc/etc introduced in r2038
2008-05-28 12:26:20 +00:00
Igor Sysoev
2d951bfa41
*) add ngx_palloc_aligned() to allocate explicitlty aligned memory
...
*) allows non-aligned memory blocks for small allocations and for odd
length strings on all platforms
*) use ngx_palloc_aligned()
2008-05-27 09:37:40 +00:00
Igor Sysoev
626cd7e7be
add args in redirect to a directory
2008-05-26 18:57:43 +00:00
Igor Sysoev
d412ece2fc
fix debug logging
2008-05-26 18:49:36 +00:00
Igor Sysoev
2ae6727da7
fix error log message
2008-05-26 10:54:59 +00:00
Igor Sysoev
9b1fe56148
bump version
2008-05-26 09:54:17 +00:00
Igor Sysoev
d6548faf64
ssl_session_cache none
2008-05-26 07:14:13 +00:00
Igor Sysoev
4c8eb4263f
read channel until EAGAIN
2008-05-25 18:27:38 +00:00
Igor Sysoev
7a0e5d97b6
remove directives deprecated in 0.3.x
2008-05-24 15:48:50 +00:00
Igor Sysoev
5cdb2ce66e
*) remove optimize_host_names
...
*) deprecate optimize_server_names: it is not needed since
server_name_in_redirect introduction
2008-05-24 15:43:48 +00:00
Igor Sysoev
7e2c4eef9c
move configuration phase only field to the end of structure
2008-05-24 14:46:46 +00:00
Igor Sysoev
e55988c069
locations tree
2008-05-24 14:14:13 +00:00
Igor Sysoev
5cdc511fcd
new ngx_queue functions
2008-05-24 14:10:01 +00:00
Igor Sysoev
89e0aad840
delete useless lines
2008-05-22 14:28:25 +00:00
Igor Sysoev
3b30476068
style fix
2008-05-22 12:09:41 +00:00
Igor Sysoev
61e991c70a
axe never used variables
2008-05-22 11:11:16 +00:00
Igor Sysoev
6d14e65056
split ngx_http_block() further
2008-05-22 11:07:08 +00:00
Igor Sysoev
87ac67fbd1
split ngx_http_block()
2008-05-22 09:57:47 +00:00
Igor Sysoev
f3be0b33c2
delete outdated debug logging that only causes segfault if enabled
2008-05-22 07:10:36 +00:00
Igor Sysoev
cdd4354b49
style fix
2008-05-21 17:39:51 +00:00
Igor Sysoev
ccd55fc2ca
fix building on modern Fedora 9 caused by IOV_MAX
2008-05-20 13:45:07 +00:00
Igor Sysoev
f9d923e5fe
bump version
2008-05-19 10:45:57 +00:00
Igor Sysoev
48242f4b08
avoid recursive loop
2008-05-19 10:24:22 +00:00
Igor Sysoev
f1e58930c8
expires modified
2008-05-16 15:18:50 +00:00
Igor Sysoev
69988d1162
$uid_got and $uid_set may used at any time
2008-05-16 15:03:37 +00:00
Igor Sysoev
3be5257a4f
$hostname variable
2008-05-16 14:39:06 +00:00
Igor Sysoev
5f3521cf4f
escape 0x00-0x1f, ", and \ in access log variables
2008-05-15 15:09:39 +00:00
Igor Sysoev
5fd0931a61
*) host in request line has priority
...
*) allow several Host headers
*) validate host
2008-05-15 14:44:47 +00:00
Igor Sysoev
433608c180
style fix: remove tabs and trailing spaces
2008-05-14 07:54:52 +00:00
Igor Sysoev
7a06fbdcca
small fixes
2008-05-13 09:47:52 +00:00
Igor Sysoev
bc5fb294af
test user agent in header callback
2008-05-13 09:18:58 +00:00
Igor Sysoev
c11582a983
bump version
2008-05-12 10:08:28 +00:00
Igor Sysoev
ca1bed390d
fix error introduced in r1273 and r1275:
...
nginx did not process FastCGI response if header was at end of FastCGI record
2008-05-08 09:53:22 +00:00
Igor Sysoev
a327841bff
fix segfault when file is deleted and open_file_cache_errors is off
2008-04-29 18:15:23 +00:00
Igor Sysoev
ada9190ed8
back out the previous commit
2008-04-29 18:14:45 +00:00
Igor Sysoev
4de5124191
fix segfault when file is deleted and open_file_cache_errors is off
2008-04-29 14:39:15 +00:00
Igor Sysoev
1cd3b0c3db
bump version
2008-04-29 12:44:47 +00:00
Igor Sysoev
615fe7f4be
args support in static error_page
2008-04-29 10:06:43 +00:00
Igor Sysoev
49db9d4602
reset message
2008-04-29 09:35:06 +00:00
Igor Sysoev
a13b3b97ea
ignore glob no match error
2008-04-29 09:28:42 +00:00
Igor Sysoev
175d9a277e
reset looked at match
2008-04-29 06:15:56 +00:00
Igor Sysoev
396abff226
get certificate info only for debug build
2008-04-28 08:52:32 +00:00
Igor Sysoev
58d3821cf0
fix memory leak when ssl_verify_client is on
2008-04-28 08:50:39 +00:00
Igor Sysoev
b39b9aa59a
Cygwin O_BINARY mode
2008-04-24 19:19:26 +00:00
Igor Sysoev
439e288a1b
fix memory leak when ssl_verify_client is on
2008-04-23 18:57:25 +00:00
Igor Sysoev
6a2ea3f544
small fix
2008-04-17 14:32:11 +00:00
Igor Sysoev
f57b24e70f
allow time without spaces in ngx_parse_time()
2008-04-17 14:23:20 +00:00
Igor Sysoev
2e39e289e1
change variable name
2008-04-16 19:33:23 +00:00
Igor Sysoev
4611ad3dea
use more straightforward ngx_gmtime() implementation
2008-04-13 13:33:12 +00:00
Igor Sysoev
a8372d8a84
limit CNAME recursion
2008-04-12 07:29:20 +00:00
Igor Sysoev
523e09ee1a
fix segfault
2008-04-11 09:15:07 +00:00
Igor Sysoev
7c5c1dccd6
use correct ngx_sprintf() formats
2008-04-10 17:27:07 +00:00
Igor Sysoev
4ad5be6f93
log unexpected qtype
2008-04-10 17:26:14 +00:00
Igor Sysoev
19540cd83e
take into account DNAME
2008-04-10 17:12:21 +00:00
Igor Sysoev
b8a71b6c1b
comment Gauss' formula
2008-04-10 09:37:12 +00:00
Igor Sysoev
d52c878692
grammar fix
2008-04-09 19:09:13 +00:00
Igor Sysoev
693bf6db1e
small optimization
2008-04-09 18:56:36 +00:00
Igor Sysoev
09b199cf77
return NXDOMAIN for ".." in host name
2008-04-09 14:45:39 +00:00
Igor Sysoev
949aea4dfe
fix memory leak on resolver query send failure
2008-04-09 14:26:08 +00:00
Igor Sysoev
f576f0d2bc
quick resolving handles u->resolved->ctx by itself
2008-04-09 14:20:17 +00:00
Igor Sysoev
a4ec6869fc
fix peer sendfile capability
2008-04-04 12:07:13 +00:00
Igor Sysoev
f1c8f4471a
update previous commit
2008-03-24 17:17:17 +00:00
Igor Sysoev
de8ec1efc8
use ngx_int_t in ngx_sort() callback
2008-03-24 13:04:02 +00:00
Igor Sysoev
8634118bc8
use dynamically allocated buffer in ngx_sort()
2008-03-23 19:58:54 +00:00
Igor Sysoev
f84ad941dc
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
37e0e6d863
axe never used macro
2008-03-20 07:31:51 +00:00
Igor Sysoev
51e966cedc
bump version
2008-03-18 14:51:09 +00:00
Igor Sysoev
85dd8fc5b6
ngx_google_perftools_module
2008-03-18 10:36:27 +00:00
Igor Sysoev
8da1fa935f
low some SSL handshake errors level
2008-03-18 10:35:00 +00:00
Igor Sysoev
9ff26ce124
use ngx_ext_rename_file() in proxy/fastcgi_store
2008-03-17 13:07:35 +00:00
Igor Sysoev
37cc29a405
some perl builds require my_perl for PERL_SYS_TERM()
2008-03-17 08:58:07 +00:00
Igor Sysoev
d8623fc535
fastcgi params debug logging
2008-03-16 18:03:10 +00:00
Igor Sysoev
430db103f6
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
70d0961658
test the more likely case first
2008-03-16 16:47:16 +00:00
Igor Sysoev
8c8a6e5f2f
use the more correct mask
2008-03-16 13:29:49 +00:00
Igor Sysoev
a616ef77e2
style fix
2008-03-14 12:31:20 +00:00
Igor Sysoev
cbed526049
fix building on 64-bit platforms broken in r1900
2008-03-13 15:48:36 +00:00
Igor Sysoev
b9186ad856
restore building --test-build-rtsig and --test-build-eventport on FreeBSD 6
2008-03-13 15:47:14 +00:00
Igor Sysoev
c732d8d1fe
fix the previous commit
2008-03-13 13:00:40 +00:00
Igor Sysoev
3799f5cb41
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
732a34a137
axe useless code
2008-03-13 12:34:59 +00:00
Igor Sysoev
8227959668
bump version
2008-03-13 06:39:00 +00:00
Igor Sysoev
5d6ca1e3e4
fix r1921
2008-03-12 19:34:36 +00:00
Igor Sysoev
8ce6b25201
bump version
2008-03-12 13:37:29 +00:00
Igor Sysoev
2061259612
non cacheable $proxy_host and $proxy_port
2008-03-11 14:10:11 +00:00
Igor Sysoev
472233d0a3
invalidate SSL session if there is no valid client certificate
2008-03-10 14:47:07 +00:00
Igor Sysoev
fb14092fdc
fix large memory allocation in "error_page 495-497 /uri"
2008-03-10 14:45:41 +00:00
Igor Sysoev
15a20079a5
do not change method while error redirection to named location
2008-03-10 14:36:42 +00:00
Igor Sysoev
001a9cfa37
disable rtsig automatic building in post 2.6.18 Linux kernels
2008-03-10 14:35:21 +00:00
Igor Sysoev
f39876c24b
create dummy resolver in http context to inherit it in all servers
2008-03-06 08:48:55 +00:00
Igor Sysoev
73eb97f500
check duplicate resolver
2008-03-06 08:48:25 +00:00
Igor Sysoev
a4d00f1c97
decrease log level of connection errors while closing socket
2008-03-05 21:21:26 +00:00
Igor Sysoev
cca6000247
ngx_resolve_name() frees ctx on immediate failure
2008-03-05 07:30:44 +00:00
Igor Sysoev
887dd4e5d5
reset r->content_handler in a named location
2008-03-04 14:57:07 +00:00
Igor Sysoev
be02468c6d
fix previous commit
2008-03-04 10:47:34 +00:00
Igor Sysoev
dfd5511f7a
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
8efe926dc5
fix r1903
2008-03-03 20:04:06 +00:00
Igor Sysoev
85d6a3e3db
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
5461caf920
fix r1490
2008-03-03 16:44:56 +00:00
Igor Sysoev
34cec29e0c
C++ compatibility
2008-03-03 16:32:16 +00:00
Igor Sysoev
7c15b75cc7
fix memory leak in long-lived non buffered connections
2008-03-03 10:42:00 +00:00
Igor Sysoev
4491daef30
cleanup resolver
2008-02-28 20:38:34 +00:00
Igor Sysoev
02aa53be83
left open sockets were not really tested
2008-02-28 20:31:33 +00:00
Igor Sysoev
7c4cf27aff
fix memory leaks, use unlocked ngx_resolver_free() for seldom failed cases
2008-02-28 20:09:39 +00:00
Igor Sysoev
8ee01f5cb8
static ngx_resolver_calloc()
2008-02-28 15:34:53 +00:00
Igor Sysoev
d3434dfa63
check port in upstream list
2008-02-21 13:58:45 +00:00
Igor Sysoev
09248b7a55
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
bb7c84159f
avoid endless loop if epoll is used
2008-02-19 16:30:54 +00:00
Igor Sysoev
5fe93ee95f
pass additional arguments in ngx_http_perl_call_handler() as SV
2008-02-16 14:29:44 +00:00
Igor Sysoev
85a5281be9
fix previous commit
2008-02-16 14:24:43 +00:00
Igor Sysoev
0a0c02f58b
optimize $r->sleep
2008-02-16 14:23:14 +00:00
Igor Sysoev
5fa1146dd5
do not resolve SMTP clients by default
2008-02-16 13:46:33 +00:00
Igor Sysoev
0f2e924428
delete unneeded dXSTARG
2008-02-15 13:57:55 +00:00
Igor Sysoev
ce30765975
named locations in post_action
2008-02-15 12:46:40 +00:00
Igor Sysoev
ca876e1a7f
fix segfault if empty stub block is used second time
2008-02-14 16:03:48 +00:00
Igor Sysoev
45450461b6
resolver in smtp proxy module
2008-02-13 13:50:04 +00:00
Igor Sysoev
04610ead82
length calculation did not take into account escaped symbols in arguments
2008-02-12 18:05:32 +00:00
Igor Sysoev
2a6c4466ee
bump version
2008-02-11 15:27:44 +00:00
Igor Sysoev
665b9fd2e2
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
c2e854e198
add X-Accel-Charset to ingored header, fix X-Accel-Buffering
2008-02-11 14:02:28 +00:00
Igor Sysoev
be0a61e618
test response length in proxy/fastcgi_store
2008-02-11 13:14:56 +00:00
Igor Sysoev
d173a14619
fix order
2008-02-07 10:45:04 +00:00
Igor Sysoev
f2aab81323
fix order
2008-02-07 10:43:45 +00:00
Igor Sysoev
88b2406f49
fix order
2008-02-07 10:38:13 +00:00
Igor Sysoev
d2d673a8f9
fix return code
2008-02-07 08:57:07 +00:00
Igor Sysoev
18be913cb6
fix r1879
2008-02-06 17:23:17 +00:00
Igor Sysoev
61adfb287f
do not delete failed DNS request if there are waiting clients
2008-02-06 16:08:52 +00:00
Igor Sysoev
4d856ca763
fix segfault if UDP connect() has failed
2008-02-06 16:01:35 +00:00
Igor Sysoev
704e1c1324
low SSL handshake close notify alert error level
2008-02-04 20:46:58 +00:00
Igor Sysoev
b1d4a6cc80
low SSL handshake errors level
2008-02-01 14:05:18 +00:00
Igor Sysoev
c463ece9d7
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
ac5deaa906
treat time_t as unsigned time
2008-01-31 15:14:31 +00:00
Igor Sysoev
c20d3769bc
backout r1757, we really need SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
2008-01-31 15:10:45 +00:00
Igor Sysoev
48b7b9bd0e
detect L2 cache line size for Intel Core
2008-01-29 07:06:18 +00:00
Igor Sysoev
442d1e63f2
fix cache line size for Pentium 4
2008-01-29 06:58:47 +00:00
Igor Sysoev
6e8bc2b72d
fix building --test-build-rtsig and --test-build-eventport on FreeBSD 7
2008-01-28 16:24:01 +00:00
Igor Sysoev
02d8e8e377
add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN
2008-01-25 14:57:35 +00:00
Igor Sysoev
c783c35b5f
pull all errors
2008-01-25 14:56:37 +00:00
Igor Sysoev
16315761db
limit string length
2008-01-24 15:18:58 +00:00
Igor Sysoev
fb42465646
use correct type cast
2008-01-24 15:18:17 +00:00
Igor Sysoev
efe0016a11
fix bogus crit log message "SSL_shutdown() failed" introduced in r1755
2008-01-22 16:04:35 +00:00
Igor Sysoev
fa0d3e1a10
fix building by msvc introduced in r1817
2008-01-22 15:16:38 +00:00
Igor Sysoev
0bd32b7569
allow zero length in %*s
2008-01-22 15:13:01 +00:00
Igor Sysoev
f0453c1c0c
fix building by bcc introduced by r1831
2008-01-22 15:09:55 +00:00
Igor Sysoev
8b99e3f1ea
pull all errors
2008-01-10 08:45:00 +00:00
Igor Sysoev
e965c47113
grammar fix
2008-01-10 08:36:14 +00:00
Igor Sysoev
66b8ad6b08
fix building by gcc42, etc. introduced in r1858
2008-01-09 15:27:27 +00:00
Igor Sysoev
57b088d1cc
add code missed in r1856
2008-01-09 08:21:57 +00:00
Igor Sysoev
5a45c6869f
update GET method text in an subrequest
2008-01-08 21:06:38 +00:00
Igor Sysoev
1bc3a93ddf
axe old flag remained after ancient "post_accept_timeout" directive
2008-01-08 20:55:27 +00:00
Igor Sysoev
bd68d51407
add code missed in r1830
2008-01-08 20:51:06 +00:00
Igor Sysoev
1d73cf13f0
bump version
2008-01-08 13:05:18 +00:00
Igor Sysoev
b0fcbefb5d
style fix: remove trailing space
2008-01-08 11:33:14 +00:00
Igor Sysoev
0008ebe2a3
workaround for Linux 2.6 OpenVZ
2008-01-08 11:31:50 +00:00
Igor Sysoev
f53c2a00f8
ngx_http_gzip_static_module should DECLINE request
2008-01-08 10:35:50 +00:00
Igor Sysoev
67913781fc
fix comment
2008-01-05 19:07:10 +00:00
Igor Sysoev
0272977afb
change order
2008-01-04 11:54:55 +00:00
Igor Sysoev
7b8ed4259b
fix socket leak if deferred accept was used
2008-01-04 09:32:12 +00:00
Igor Sysoev
81922511ae
use ngx_ext_rename_file() in PUT
2008-01-03 22:18:21 +00:00
Igor Sysoev
3739151f5b
add declaration missed in previous commit
2008-01-03 22:17:27 +00:00
Igor Sysoev
501fc74854
transform ngx_create_path_and_rename_file() to ngx_ext_rename_file()
2008-01-03 22:16:37 +00:00
Igor Sysoev
cea9034015
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
b98f27d67f
add log
2008-01-03 21:29:01 +00:00
Igor Sysoev
ac487bff1e
add comment
2008-01-03 20:43:12 +00:00
Igor Sysoev
58d04fe3fa
test URI/Destination collection/non-collection and Depth
2008-01-03 20:09:51 +00:00
Igor Sysoev
59781d66ce
axe useless code
2008-01-03 20:06:09 +00:00
Igor Sysoev
a27b0b7e48
change order
2008-01-03 19:18:25 +00:00
Igor Sysoev
369791a7df
change status code, add log message, and test collection URI
2008-01-03 19:13:04 +00:00
Igor Sysoev
284f0daa92
style fix
2008-01-03 17:21:13 +00:00
Igor Sysoev
8dd405319d
min_delete_depth
2007-12-30 11:46:03 +00:00
Igor Sysoev
b06db4283a
log DELETE errors
2007-12-30 10:24:43 +00:00
Igor Sysoev
0ce17d2b5b
axe useless code
2007-12-30 10:19:32 +00:00
Igor Sysoev
ab325357f9
change status code and add log message
2007-12-30 09:44:02 +00:00
Igor Sysoev
0d68f27748
log right request method
2007-12-30 09:11:19 +00:00
Igor Sysoev
feee7265b5
axe useless r->server_name
2007-12-30 08:15:27 +00:00
Igor Sysoev
cc5956772b
log server address
2007-12-30 08:01:50 +00:00
Igor Sysoev
6d7f8658ed
fix building by msvc introduced by r1807
2007-12-29 21:43:49 +00:00
Igor Sysoev
c24de1e853
handle old "server_name *"
2007-12-29 19:05:21 +00:00
Igor Sysoev
b548e13cdf
fix comment
2007-12-29 16:55:31 +00:00
Igor Sysoev
2d028f8910
satisfy all|any
2007-12-29 16:38:23 +00:00
Igor Sysoev
c7a9b7a990
use ngx_http_server_addr()
2007-12-29 16:00:34 +00:00
Igor Sysoev
3f24ae2be2
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
5dff77ad7f
condition declarations inside blocks update missed in r1705
2007-12-29 13:55:10 +00:00
Igor Sysoev
d5fe818f06
style fix: remove trailing spaces
2007-12-28 13:15:36 +00:00
Igor Sysoev
8eac726195
fix building --without-pcre
2007-12-28 13:15:11 +00:00
Igor Sysoev
86b915901a
optimization
2007-12-27 20:32:43 +00:00
Igor Sysoev
ce5d6e3237
bump version
2007-12-27 18:47:33 +00:00
Igor Sysoev
f25abef8dc
fix segfault introduced in r1780
2007-12-27 18:35:52 +00:00
Igor Sysoev
938d4993db
bump version
2007-12-27 15:39:06 +00:00
Igor Sysoev
a936b27236
backout r1790
2007-12-27 14:39:05 +00:00
Igor Sysoev
c16b005f30
ngx_http_gzip_static_module and gzip_disable
2007-12-27 14:21:59 +00:00
Igor Sysoev
3d70581d45
non-active request is not done
2007-12-27 14:20:50 +00:00
Igor Sysoev
5a40e9518e
allow memached_pass inside "if" block
2007-12-27 14:19:30 +00:00
Igor Sysoev
9b1d4c15a6
inherit $memached_key index and memcached_pass upstream inside "if" block
2007-12-27 14:18:34 +00:00
Igor Sysoev
fe8a327eff
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
11fbf47374
use ngx_regex_exec_array()
2007-12-27 13:15:43 +00:00
Igor Sysoev
6b8a04ef44
ngx_regex_exec_array()
2007-12-27 13:15:08 +00:00
Igor Sysoev
e87afbad35
call post_action for 499
2007-12-27 13:13:34 +00:00
Igor Sysoev
57c4b0a83b
regex valid_referers were not inherited
2007-12-27 12:13:11 +00:00
Igor Sysoev
99c3ab964f
optimization
2007-12-27 09:17:20 +00:00
Igor Sysoev
513fec7eda
style fix
2007-12-27 08:40:14 +00:00
Igor Sysoev
cd2aa8e172
create ssl buffer on demand and free it before keep-alive
2007-12-26 21:07:30 +00:00
Igor Sysoev
6ff850baf8
ssl_session_cache off
2007-12-26 20:27:22 +00:00
Igor Sysoev
0123ee3adf
optimization
2007-12-26 13:24:57 +00:00
Igor Sysoev
12dcb354e9
style fix
2007-12-25 15:31:18 +00:00
Igor Sysoev
421a3b800f
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
d02661a96b
use %*s format
2007-12-24 17:05:31 +00:00
Igor Sysoev
79d9a042a2
%*s format
2007-12-24 17:05:16 +00:00
Igor Sysoev
f3b0e49069
open_file_cache_min_uses
2007-12-22 13:19:39 +00:00
Igor Sysoev
5e593aa34e
take MALLOC_OPTIONS=J into account in slab allocator
2007-12-22 11:06:53 +00:00
Igor Sysoev
465a5ff18b
tree.init_handler is never called
2007-12-21 17:50:49 +00:00
Igor Sysoev
b28f5cc3cb
fix the previous commit
2007-12-21 17:23:41 +00:00
Igor Sysoev
9b9616e5ac
open_file_cache_retest > open_file_cache_valid
2007-12-21 16:19:48 +00:00
Igor Sysoev
f2d60afc7c
fix the previous commit
2007-12-21 16:19:14 +00:00
Igor Sysoev
ff71b948b3
use ngx_queue.h
2007-12-21 15:33:15 +00:00
Igor Sysoev
374d224672
clean rbtree node for all removals
2007-12-21 15:32:51 +00:00
Igor Sysoev
2204d9f09d
style fix
2007-12-21 15:24:59 +00:00
Igor Sysoev
09085e3b38
fix STARTTLS prompt in SMTP
2007-12-21 10:24:59 +00:00
Igor Sysoev
ddc8cbd1ac
embed sentinel
2007-12-20 21:29:52 +00:00
Igor Sysoev
01a129d823
use ngx_queue.h
2007-12-20 21:01:00 +00:00
Igor Sysoev
181abe549f
embed session_rbtree and sentinel inside ngx_ssl_session_cache_t
2007-12-20 20:35:23 +00:00
Igor Sysoev
0a0024bdb5
omit useless test
2007-12-20 20:30:45 +00:00
Igor Sysoev
711e9031fe
use ngx_time() instead of ngx_timeofday()
2007-12-20 20:11:45 +00:00
Igor Sysoev
6675abe3b4
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
fc28270ac2
cleaning stale global SSL error
2007-12-20 13:04:20 +00:00
Igor Sysoev
94b3ea319b
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
afc57e0e5c
bump version
2007-12-19 16:56:01 +00:00
Igor Sysoev
9461d6e09e
comment ngx_walk_tree()
2007-12-18 18:04:37 +00:00
Igor Sysoev
b3ea970288
fix comment
2007-12-18 15:12:33 +00:00
Igor Sysoev
00cbb8a16e
ngx_create_hashed_filename() does not need ngx_file_t
2007-12-17 21:29:34 +00:00
Igor Sysoev
3b112b8c21
create the only cleanup
2007-12-17 21:23:05 +00:00
Igor Sysoev
719688a10d
style fix: remove trailing spaces
2007-12-17 21:20:12 +00:00
Igor Sysoev
a03fa3666f
replace ngx_md5_text() with ngx_hex_dump()
2007-12-17 21:06:17 +00:00
Igor Sysoev
249cbe75b4
log run cleanups clearly
2007-12-17 17:29:36 +00:00
Igor Sysoev
7912e4ba5d
optimize rbtree initialization and insert
2007-12-17 08:52:00 +00:00
Igor Sysoev
c0cadf1f34
no answers in DNS response should be NXDOMAIN
2007-12-16 20:47:55 +00:00
Igor Sysoev
28bca1b6e9
fix segfault if response will have CNAME only
2007-12-16 20:00:15 +00:00
Igor Sysoev
7f35ae6ea6
restore environ for perl_destruct()
2007-12-16 11:58:16 +00:00
Igor Sysoev
078dc8bc49
copy return values to perl's allocated memory
2007-12-16 11:57:27 +00:00
Igor Sysoev
b862cf4076
fix merge_slashes
2007-12-14 14:33:00 +00:00
Igor Sysoev
acb2f5d8c8
large_client_header_buffers did not free()ed before keep-alive
2007-12-12 15:42:39 +00:00
Igor Sysoev
6d4b5a1f86
$upstream_addr did not contain last address, the bug was introduced in r1659
2007-12-11 16:26:56 +00:00
Igor Sysoev
3fc85af2fc
style fix: remove trailing spaces
2007-12-10 12:30:09 +00:00
Igor Sysoev
f2932dcbe5
optimize r->upstream usage
2007-12-10 12:29:43 +00:00
Igor Sysoev
86ef6aaa6b
move condition declarations inside blocks where they are used
2007-12-10 12:09:51 +00:00
Igor Sysoev
e600494185
*) copy regex captures $1, $2, etc.
...
*) SV flags debug logging
2007-12-09 20:52:14 +00:00
Igor Sysoev
16623e0b9c
fix segfault when $r->has_request_body() is called with ready body
2007-12-09 19:30:30 +00:00
Igor Sysoev
cb54061885
*) 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
d8c43746a5
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
5a55d7104b
return NGX_ERROR instead of NGX_HTTP_INTERNAL_SERVER_ERROR in u->parse_header()
2007-12-09 08:22:35 +00:00
Igor Sysoev
a114911332
return NGX_HTTP_UPSTREAM_INVALID_HEADER for invalid status
2007-12-09 08:08:56 +00:00
Igor Sysoev
8cdfc515c3
fix r1695
2007-12-08 22:12:37 +00:00
Igor Sysoev
f4f2efa54c
delete useless variable
2007-12-07 20:57:38 +00:00
Igor Sysoev
e9af690e61
ngx_create_path_and_rename_file()
2007-12-07 20:22:03 +00:00
Igor Sysoev
ac7586e952
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
27dd6a62bd
use malloc() in ngx_win32_rename_file, set crit level instead of error
2007-12-07 19:57:13 +00:00
Igor Sysoev
03df86a541
bump version
2007-12-03 17:26:28 +00:00
Igor Sysoev
e67d46189c
ngx_udp_recv()
2007-12-03 16:46:46 +00:00
Igor Sysoev
7b35de92a9
fix segfault
2007-12-03 15:47:35 +00:00
Igor Sysoev
826c02ebda
use ngx_rbtree_init()
2007-12-03 12:17:26 +00:00
Igor Sysoev
653a206afe
ngx_rbtree_init()
2007-12-03 12:17:15 +00:00
Igor Sysoev
a9d3a0d37a
use ngx_queue_init()
2007-12-03 11:21:19 +00:00
Igor Sysoev
0134d6b622
ngx_queue_init()
2007-12-03 11:21:07 +00:00
Igor Sysoev
6b2fce430b
allow to use IP addresses without defined resolver
2007-12-03 10:05:19 +00:00
Igor Sysoev
26aae392f9
style fix
2007-12-01 21:05:19 +00:00
Igor Sysoev
f49491236f
axe old unused alert message
2007-12-01 20:31:59 +00:00
Igor Sysoev
06187cec1e
style fix
2007-12-01 20:25:32 +00:00
Igor Sysoev
b4e5b4c884
style fix: remove trailing spaces
2007-12-01 19:57:37 +00:00
Igor Sysoev
0827c83dfb
log how big fastcgi record
2007-12-01 14:23:53 +00:00
Igor Sysoev
58ea0c1aad
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
1d4e9b31cc
do not allow plain 0.9 request to HTTPS
2007-12-01 11:46:04 +00:00
Igor Sysoev
4d65f6501a
zero ngx_url_t
2007-11-30 22:08:59 +00:00
Igor Sysoev
14c8422148
style fix
2007-11-30 22:08:29 +00:00
Igor Sysoev
7e924427ac
fix typo
2007-11-30 22:07:05 +00:00
Igor Sysoev
77e8b0c59f
fix comment
2007-11-30 22:06:48 +00:00
Igor Sysoev
00e0377488
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
57bb349844
bump version
2007-11-28 19:17:24 +00:00
Igor Sysoev
fa62656b31
fix segfault
2007-11-28 15:06:05 +00:00
Igor Sysoev
a427e12619
delete unneeded declaration
2007-11-28 10:14:04 +00:00
Igor Sysoev
743760ea35
bump version
2007-11-27 16:58:41 +00:00
Igor Sysoev
6e0a7bfaaa
bump version
2007-11-27 16:25:32 +00:00
Igor Sysoev
96dd8af8e6
proxy_pass variables support
2007-11-27 13:34:13 +00:00
Igor Sysoev
9683528550
improve throughput with large limit_rate
2007-11-27 12:24:44 +00:00
Igor Sysoev
a6b5957f92
log entire request line instead of URI only
2007-11-27 12:22:01 +00:00
Igor Sysoev
98b5a3b15b
add_header last-modified ""
2007-11-27 12:02:58 +00:00
Igor Sysoev
32717eb60c
r->headers_out.refresh
2007-11-27 11:56:18 +00:00
Igor Sysoev
685fd08753
set r->headers_out.location for non-local redirects
2007-11-27 11:52:37 +00:00
Igor Sysoev
13f5ff9d7e
http resolver and resolver_timeout
2007-11-27 11:33:52 +00:00
Igor Sysoev
b50b32e255
use usec and pid as start value
2007-11-24 10:43:15 +00:00
Igor Sysoev
53fcff1efe
fix previous commit
2007-11-23 17:27:01 +00:00
Igor Sysoev
cb4d53861c
resolver
2007-11-23 17:13:26 +00:00
Igor Sysoev
2e8f0d0b30
update ngx_memcmp()
2007-11-23 17:00:11 +00:00
Igor Sysoev
36b634cdbc
ngx_inet_addr()
2007-11-23 16:59:24 +00:00
Igor Sysoev
48bf997e10
ngx_queue.h
2007-11-23 16:32:50 +00:00
Igor Sysoev
499c05a87b
the simple expression has the same precision without overflow
2007-11-16 18:15:04 +00:00
Igor Sysoev
5589bcf969
bump version
2007-11-15 15:42:39 +00:00
Igor Sysoev
a8c1332720
enable getenv() and gmtime() in msvc8
2007-11-15 14:34:10 +00:00
Igor Sysoev
1d04b14c09
64-bit time_t compatibility
2007-11-15 14:26:36 +00:00
Igor Sysoev
66dbcc8d38
fix typo
2007-11-14 14:58:27 +00:00
Igor Sysoev
a0951d5494
fix win32 ngx_read_fd() and ngx_write_fd()
2007-11-11 19:56:46 +00:00
Igor Sysoev
479c786e0d
TransmitPackets(), ConnectEx(), and DisconnectEx()
2007-11-11 18:56:50 +00:00
Igor Sysoev
2afdfdcadb
fix win32 glob
2007-11-11 17:50:47 +00:00
Igor Sysoev
d7a7bedeb6
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
6c2f052744
If-Range support
2007-11-09 15:41:35 +00:00
Igor Sysoev
cc5484fab1
do not encode already encoded characters in msie_refresh
2007-11-09 13:17:58 +00:00
Igor Sysoev
8152d0aeed
style and grammar fix
2007-11-09 13:12:25 +00:00
Igor Sysoev
4c89c09ad8
fix autoindex for "alias /"
2007-11-08 15:21:54 +00:00
Igor Sysoev
d47063bd90
fix gzip and SSL
2007-11-08 15:21:22 +00:00
Igor Sysoev
408dfc1714
fix segfaults
2007-11-08 15:20:56 +00:00
Igor Sysoev
d7cf1a6c1f
set status in correct place
2007-11-06 15:01:13 +00:00
Igor Sysoev
a2208091df
bump version
2007-10-29 14:09:12 +00:00
Igor Sysoev
4724f2b17c
use uname(2) instead of /proc/, this allows to run nginx in chroot
2007-10-26 16:38:53 +00:00
Igor Sysoev
e430ab4d55
divide special response handling into several functions
...
fix "?" escaping introduced in r1467
2007-10-26 16:17:17 +00:00
Igor Sysoev
81924e8e16
compatibility with mget: space after HTTP/1.1
2007-10-26 11:34:10 +00:00
Igor Sysoev
31fd642c5c
refactor index module: remove context
2007-10-23 14:16:00 +00:00
Igor Sysoev
747bb06d62
change emerg to a warn for absolute index
2007-10-23 14:15:06 +00:00
Igor Sysoev
704bafb5c2
fix mime type for absolute index
2007-10-23 14:10:38 +00:00
Igor Sysoev
3bb547dfdf
64-bit update lost in r1355
2007-10-23 14:09:12 +00:00
Igor Sysoev
e261091d67
style fix
2007-10-22 15:22:08 +00:00
Igor Sysoev
6684e58739
bump version
2007-10-22 11:24:05 +00:00
Igor Sysoev
80c397c53b
fix building broken in r1593
2007-10-22 10:28:03 +00:00
Igor Sysoev
f0a51cfa09
unescape SSI include
2007-10-22 10:19:17 +00:00
Igor Sysoev
070cf22ab4
server_tokens
2007-10-22 10:17:34 +00:00
Igor Sysoev
9e039cfc9e
fix typo
2007-10-22 10:15:48 +00:00
Igor Sysoev
a40caa172c
fix segfault
2007-10-22 10:15:27 +00:00
Igor Sysoev
11ab73e538
style fix
2007-10-18 16:20:21 +00:00
Igor Sysoev
775fd53f2d
style fix
2007-10-18 16:12:55 +00:00
Igor Sysoev
7b34e5f001
style fix
2007-10-18 16:05:48 +00:00
Igor Sysoev
e345d26d20
fix typo
2007-10-18 15:53:38 +00:00
Igor Sysoev
8decab3dd9
merge_slashes
2007-10-18 11:36:58 +00:00
Igor Sysoev
4c5207fd56
allow full URL without URI part: "GET http://host HTTP/1.0"
2007-10-18 11:33:31 +00:00
Igor Sysoev
b2f5a4a971
gzip_vary
2007-10-18 11:29:34 +00:00
Igor Sysoev
cc4078f470
do not discard body if it has been already read
2007-10-18 11:29:15 +00:00
Igor Sysoev
31d6f9590a
Cygwin can not pass SCM_RIGHTS via unix socket, use signals
2007-10-18 11:28:21 +00:00
Igor Sysoev
12446d8249
fix segfault if no server_name was defined
2007-10-17 13:22:26 +00:00
Igor Sysoev
5cb097c5b0
style fix
2007-10-17 13:21:20 +00:00
Igor Sysoev
35ab2cb373
fix building broken in r1578
2007-10-16 19:22:27 +00:00
Igor Sysoev
ac03c9c303
delete code that should be deleted in r1576
2007-10-16 17:51:47 +00:00
Igor Sysoev
80c94f260e
Cygwin support
2007-10-16 14:14:30 +00:00
Igor Sysoev
dde2abde39
avoid segfault if poll is used and endless loop if select is used
2007-10-16 14:12:52 +00:00
Igor Sysoev
336943dd7e
use ngx_sha1.h
2007-10-16 12:17:11 +00:00
Igor Sysoev
7b4d0266c6
ngx_sha1.h
2007-10-16 12:16:58 +00:00
Igor Sysoev
d883df2444
ngx_md5.h
2007-10-16 11:59:47 +00:00
Igor Sysoev
6d5d61c8a3
bump version
2007-10-15 11:32:09 +00:00
Igor Sysoev
ab18bf2f02
use real weight, do not downground to one
2007-10-15 10:15:54 +00:00
Igor Sysoev
2517eef67b
memcached did not set $upstream_response_time
2007-10-15 09:46:36 +00:00
Igor Sysoev
8de766328f
fix segfault when $date_local or $date_gmt are used outside ssi module
2007-10-14 19:04:23 +00:00
Igor Sysoev
2d3f3f6eb6
fix English grammar
2007-10-14 18:56:15 +00:00
Igor Sysoev
47a1ebb050
optimization
2007-10-10 13:58:47 +00:00
Igor Sysoev
bfb23bf604
style fix: remove double semicolons
2007-10-09 20:11:03 +00:00
Igor Sysoev
3fc6ee4501
allow access_log inside limit_except
2007-10-09 18:45:49 +00:00
Igor Sysoev
5ba67396f5
%v fix lost in r1407
2007-10-09 18:44:59 +00:00
Igor Sysoev
d3db9ea51e
style fix: remove trailing spaces
2007-10-09 18:42:00 +00:00
Igor Sysoev
7ed63ee75f
use pool instead of ngx_conf_t
2007-10-08 08:55:12 +00:00
Igor Sysoev
7973964b3f
optimization
2007-10-08 04:59:26 +00:00
Igor Sysoev
d2582b9619
*) 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
a103646402
fix r1552 and r1464: test max fails in correct peer
2007-10-02 12:34:16 +00:00
Igor Sysoev
d13045f16c
fix empty string replacement in sub_filter
2007-10-01 16:24:15 +00:00
Igor Sysoev
fa928a6c66
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
a8afe406ce
use ngx_strnstr()
2007-10-01 14:48:45 +00:00
Igor Sysoev
35fe5fd06d
ngx_strnstr()
2007-10-01 14:48:33 +00:00
Igor Sysoev
834e447234
fix r1464: test max fails in correct peer
2007-10-01 14:45:31 +00:00
Igor Sysoev
6669702b00
add comment
2007-10-01 13:00:30 +00:00
Igor Sysoev
f53294103b
pass length clearly
2007-10-01 12:57:47 +00:00
Igor Sysoev
06af5df77f
style fix
2007-09-29 11:45:46 +00:00
Igor Sysoev
07ee0039b2
add time and length to a HEAD request
2007-09-28 09:48:25 +00:00
Igor Sysoev
9d2811b28b
omit trailing zero in directory name
2007-09-27 09:39:29 +00:00
Igor Sysoev
333649648c
SSI echo encoding
2007-09-27 09:37:09 +00:00
Igor Sysoev
1730c758a1
ngx_escape_html()
2007-09-27 09:36:50 +00:00
Igor Sysoev
0659720dc8
use ngx_strstrn() and ngx_strcasestrn()
2007-09-26 19:26:14 +00:00
Igor Sysoev
1bd987019d
ngx_strstrn() and ngx_strcasestrn()
2007-09-26 19:25:52 +00:00
Igor Sysoev
066e6323c5
fix comment
2007-09-26 12:23:34 +00:00
Igor Sysoev
ddc9297a4f
bump version
2007-09-24 04:18:22 +00:00
Igor Sysoev
34ebeb60eb
fix file leak for HEAD requests
2007-09-22 17:56:05 +00:00
Igor Sysoev
60739f7842
bump version
2007-09-21 14:41:05 +00:00
Igor Sysoev
e3f6cb85a0
fix "AUTH PLAIN [initial-response]" bug introduced in r1477
2007-09-21 14:08:50 +00:00
Igor Sysoev
964c4a8c9a
use "_" instead of " " as new line substitute, do not delete trailing new line
2007-09-21 13:47:33 +00:00
Igor Sysoev
425b0afd7c
fix r1416
2007-09-21 13:43:53 +00:00
Igor Sysoev
c4b3b5ae5f
log starttls
2007-09-20 11:08:14 +00:00
Igor Sysoev
4b96baa417
u_char* is enough to keep file name
2007-09-15 17:11:06 +00:00
Igor Sysoev
254353e40e
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
48714085dd
ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_module
2007-09-15 16:51:16 +00:00
Igor Sysoev
05a75d0d94
style fix: remove trailing spaces
2007-09-14 15:04:45 +00:00
Igor Sysoev
945af2aac9
create salt just before it will be used
2007-09-14 15:00:19 +00:00
Igor Sysoev
c95d44bb73
fix r1482
2007-09-14 14:56:46 +00:00
Igor Sysoev
dac63a2f28
ngx_mail_smtp_create_buffer()
2007-09-14 14:13:25 +00:00
Igor Sysoev
2422950571
optimizations
2007-09-14 14:04:24 +00:00
Igor Sysoev
711c36b825
smtp_client_buffer and smtp_greeting_delay
2007-09-14 13:58:49 +00:00
Igor Sysoev
706ab65f54
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
5fbe12146e
optimizations
2007-09-13 21:24:27 +00:00
Igor Sysoev
05d1de757f
small optimizations
2007-09-13 20:32:52 +00:00
Igor Sysoev
c4cb0c7cf1
style fix and optimizations
2007-09-13 20:27:28 +00:00
Igor Sysoev
6cc54cc3be
split pop3, imap, and smtp handlers
2007-09-13 20:13:18 +00:00
Igor Sysoev
f78e8dd033
bump version
2007-09-11 13:21:30 +00:00
Igor Sysoev
b0fef0eaf6
decrement active connection counter in mail proxy
2007-09-11 10:22:12 +00:00
Igor Sysoev
a72822df36
response to the HEAD request should be a header only
2007-09-11 06:34:18 +00:00
Igor Sysoev
708fe2e526
64-bit update lost in r1355
2007-09-10 09:08:12 +00:00
Igor Sysoev
9e4b7276f9
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
3dea919675
read EOF of header only responses in non-buffered proxying
2007-09-09 18:32:53 +00:00
Igor Sysoev
ec67b19ea0
there may be several "Connection" header lines and each may have several tokens
2007-09-09 18:28:49 +00:00
Igor Sysoev
51082f7f1d
escape internal request URI in proxy_pass
2007-09-09 18:25:03 +00:00
Igor Sysoev
fcd9dda633
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
589fc748ed
style fix
2007-09-07 09:29:08 +00:00
Igor Sysoev
7a69774721
fix case when server was marked as down after one failure
2007-09-05 15:30:19 +00:00
Igor Sysoev
4efa705cc0
backout r1426: return dynamic weights
2007-09-05 15:28:19 +00:00
Igor Sysoev
586aa3899d
bump version
2007-09-03 10:35:02 +00:00
Igor Sysoev
a250a521d3
test the most relevant condition first
2007-09-03 09:06:26 +00:00
Igor Sysoev
9afd58ffe5
open_file_cache_events
2007-09-03 08:41:42 +00:00
Igor Sysoev
1b982e1c00
fix unlikely socket leak
2007-09-01 16:41:52 +00:00
Igor Sysoev
2253064361
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
140c7556a2
open_file_cache in HTTP
2007-09-01 12:12:48 +00:00
Igor Sysoev
d92bee51ea
open file cache
2007-09-01 12:11:21 +00:00
Igor Sysoev
ca0bdd3e95
change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr
2007-09-01 12:05:55 +00:00
Igor Sysoev
a2883a66df
NGX_USE_VNODE_EVENT and NGX_FLUSH_EVENT
2007-09-01 11:59:36 +00:00
Igor Sysoev
954e7e0739
add comment
2007-09-01 11:21:00 +00:00
Igor Sysoev
d1eedde904
update comments
2007-09-01 09:33:25 +00:00
Igor Sysoev
2cc3ad8bea
allow to append charset to the "Content-Type" header
2007-08-31 18:47:25 +00:00
Igor Sysoev
b3dd3fd359
style fix
2007-08-31 12:13:12 +00:00
Igor Sysoev
54a553b721
update comment
2007-08-31 09:50:23 +00:00
Igor Sysoev
31d6785397
style fix
2007-08-31 09:41:45 +00:00
Igor Sysoev
6f8030e339
use ev->log, because ev->data may be connection stub only
2007-08-31 09:40:38 +00:00
Igor Sysoev
181a7141f9
style fix
2007-08-31 09:22:53 +00:00
Igor Sysoev
e7e7dedfb3
fix typo
2007-08-31 06:15:50 +00:00
Igor Sysoev
1356622e55
destroy ngx_cycle->pool on exit
2007-08-30 18:59:44 +00:00
Igor Sysoev
b53e86a195
win32 ngx_is_exec() stub
2007-08-30 18:57:38 +00:00
Igor Sysoev
d8d0e0b809
log socket number
2007-08-29 15:33:59 +00:00
Igor Sysoev
4f62b73898
If-Modified-Since should be unique header line
2007-08-29 15:32:49 +00:00
Igor Sysoev
7f789168ef
add guard code
2007-08-29 11:26:42 +00:00
Igor Sysoev
bb3799d89f
fix comment
2007-08-29 07:19:22 +00:00
Igor Sysoev
89884a0a84
disable pair event on POLLREMOVE
2007-08-29 07:18:54 +00:00
Igor Sysoev
2b5edcc3e6
bump version
2007-08-28 16:44:29 +00:00
Igor Sysoev
543a6ae513
return 400 response
2007-08-27 20:52:40 +00:00
Igor Sysoev
6fe1303fb5
do not set read->eof, ready, and error prematurely
2007-08-27 19:44:35 +00:00
Igor Sysoev
121bf2f955
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
ae0347afc8
optimize r->connection in ngx_http_finalize_request()
2007-08-27 15:53:00 +00:00
Igor Sysoev
db7b126db2
cancel keep-alive and lingering close on EOF
2007-08-27 15:40:19 +00:00
Igor Sysoev
fe8137af4b
cancel discarding body on EOF
2007-08-27 15:38:46 +00:00
Igor Sysoev
da69848428
mark connection as not ready, this fixes endless loop introduced in r1368
2007-08-27 15:01:08 +00:00
Igor Sysoev
012f231bbc
add guard code to prevent endless loop
2007-08-24 15:58:13 +00:00
Igor Sysoev
97e9336753
update ip_hash to "backup" option
2007-08-24 15:30:35 +00:00
Igor Sysoev
9fdca0a117
set current peer to use it in ngx_http_upstream_free_round_robin_peer()
2007-08-24 15:29:50 +00:00
Igor Sysoev
27db2b1900
fix ip_hash on 64-bit platform
2007-08-24 15:28:06 +00:00
Igor Sysoev
43f3aead14
fix trailing wildcard when two or more listen used in one server
2007-08-24 11:05:47 +00:00
Igor Sysoev
45d056a788
fix build on amd64
2007-08-21 11:05:11 +00:00
Igor Sysoev
93c3755e26
bump version
2007-08-20 13:10:25 +00:00
Igor Sysoev
7896c39fe8
set delay only when almost whole sendfile_max_chunk was transferred
2007-08-20 10:35:41 +00:00
Igor Sysoev
3854a1e195
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
0d4b372e44
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
d4ff561681
escape " ", "%", and %00-%1F in login and password
2007-08-20 09:50:53 +00:00
Igor Sysoev
4edb1d61e9
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
966e2a5736
auto redirect lost arguments
2007-08-15 15:57:26 +00:00
Igor Sysoev
d6477e6c78
bump version
2007-08-15 12:58:35 +00:00
Igor Sysoev
e101338634
upstream sendfile bit was overridden by r->connection->sendfile
2007-08-14 20:44:09 +00:00
Igor Sysoev
ed2c623987
test http_auth absence
2007-08-14 15:21:20 +00:00
Igor Sysoev
0349656786
allow "http://" in auth_http URL
2007-08-14 15:00:38 +00:00
Igor Sysoev
824bcf333f
stop configuration on error
2007-08-14 14:57:51 +00:00
Igor Sysoev
cc07609d11
fix long loop
2007-08-14 13:35:52 +00:00
Igor Sysoev
0b72c93a69
regex in valid_referers
2007-08-12 20:06:43 +00:00
Igor Sysoev
43c3bf42db
regex in server_name
2007-08-12 19:48:12 +00:00
Igor Sysoev
307ab0ded6
fix building by bcc without PCRE
2007-08-12 15:25:09 +00:00
Igor Sysoev
242d1de5d0
style fix
2007-08-12 09:00:56 +00:00
Igor Sysoev
845f6d553a
ignore meaningless bits in CIDR and warn about them
2007-08-10 13:13:28 +00:00
Igor Sysoev
7a8e33993a
sort upstream weights
2007-08-09 15:28:17 +00:00
Igor Sysoev
6876bcdad6
backup upstream servers
2007-08-09 13:54:33 +00:00
Igor Sysoev
031a6e2906
set default listen() backlog to 511 on all platforms except FreeBSD
2007-08-09 13:32:21 +00:00
Igor Sysoev
3625a458d9
"down" server caused endless loop
2007-08-07 12:34:20 +00:00
Igor Sysoev
fda6a08f71
omit unnecessary conditions
2007-08-07 10:56:09 +00:00
Igor Sysoev
4fbd86829b
discard request body before going to keep-alive state and use lingering timeouts
2007-08-07 10:53:27 +00:00
Igor Sysoev
5aca0e4678
omit unnecessary XSRETURN_EMPTY
2007-08-06 15:40:26 +00:00
Igor Sysoev
03afa34c96
$r->discard_request_body
2007-08-06 15:38:08 +00:00
Igor Sysoev
832571f0fc
rename ngx_http_discard_body() to ngx_http_discard_request_body()
2007-08-06 15:37:22 +00:00
Igor Sysoev
ce6bcc0795
block reading for level events
2007-08-06 15:31:00 +00:00
Igor Sysoev
7ab4d9cb55
rename ngx_http_block_read() and ngx_http_test_read() to ..._reading()
2007-08-06 15:22:40 +00:00
Igor Sysoev
e5d4020612
discard request body in cycle
2007-08-06 15:18:24 +00:00
Igor Sysoev
b2d3a541ea
move "Expires" header code to a separate function
2007-08-01 19:32:58 +00:00
Igor Sysoev
dbc02c324b
move "Cache-Control" header code to specific handler
2007-08-01 15:24:06 +00:00
Igor Sysoev
c24bed89cd
style fix
2007-08-01 14:22:12 +00:00
Igor Sysoev
82b5a31e2d
use header specific handler in add_handler,
...
"Last-Modified" header handler
2007-08-01 14:01:30 +00:00
Igor Sysoev
329a23639f
bump version
2007-07-30 09:23:26 +00:00
Igor Sysoev
83a6851b28
make 64-bit ngx_int_t on 64-bit platforms
2007-07-29 18:24:53 +00:00
Igor Sysoev
8889b65711
named location
2007-07-29 18:11:39 +00:00
Igor Sysoev
a1df416d65
--sysconfdir=DIR
2007-07-29 18:05:45 +00:00
Igor Sysoev
0051242013
$is_args
2007-07-29 17:56:56 +00:00
Igor Sysoev
33fa6e30bc
allow to set $args
2007-07-29 17:55:37 +00:00
Igor Sysoev
d12a5718d8
fair upstream weight balancer
2007-07-28 16:04:01 +00:00
Igor Sysoev
1931d87cca
fix case when client has closed connection but upstream buffer is not empty
2007-07-24 18:08:04 +00:00
Igor Sysoev
32b787560a
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
5bb2112c27
style fix
2007-07-23 12:32:34 +00:00
Igor Sysoev
7dbb7c881d
bump version
2007-07-23 08:12:24 +00:00
Igor Sysoev
3f70782404
escape space, etc in $memcached_key
2007-07-22 19:18:59 +00:00
Igor Sysoev
37ae8ca0e1
omit unnecessary code
2007-07-22 19:11:52 +00:00
Igor Sysoev
f36ed5991a
$nginx_version
2007-07-22 13:12:16 +00:00
Igor Sysoev
f4283a91f1
IMAP AUTHENTICATE
...
patch by Maxim Dounin
2007-07-20 19:38:08 +00:00
Igor Sysoev
810dc1652d
SMTP STARTTLS
...
patch by Maxim Dounin
2007-07-20 18:36:04 +00:00
Igor Sysoev
8e1c997ba0
exit cycle early,
...
found by Coverity's Scan
2007-07-19 19:12:36 +00:00
Igor Sysoev
b1ccbdad7b
fix potential double free(),
...
found by Coverity's Scan
2007-07-19 19:11:57 +00:00
Igor Sysoev
43ae46f401
fix potential segfault,
...
found by Coverity's Scan
2007-07-19 19:08:22 +00:00
Igor Sysoev
cbf72c1e61
fix memory leak,
...
found by Coverity's Scan
2007-07-19 19:07:13 +00:00
Igor Sysoev
66a874beb2
bump version
2007-07-17 10:15:07 +00:00
Igor Sysoev
f42ed05e9c
Sun Studio on sparc uses different bit order
2007-07-17 09:23:23 +00:00
Igor Sysoev
d3cdbc85e8
Sun Studio 12 compatibility
2007-07-16 08:54:04 +00:00
Igor Sysoev
de27bce24e
--with-cpu-opt=sparc32 and --with-cpu-opt=sparc64
2007-07-15 20:09:14 +00:00
Igor Sysoev
8662b6bec5
msie_refresh should escape at least '"' to prevent XSS
2007-07-13 09:37:01 +00:00
Igor Sysoev
049ae00031
"?" should not be escaped
2007-07-13 09:35:51 +00:00
Igor Sysoev
471b92e58f
dav_access uses ngx_conf_set_access_slot()
2007-07-13 08:32:12 +00:00
Igor Sysoev
fbd9b4399f
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
852e458014
bump version
2007-07-12 11:35:57 +00:00
Igor Sysoev
58feb53eb4
proxy_store and fastcgi_store
2007-07-12 11:19:05 +00:00
Igor Sysoev
ef6e362d4e
style fix
2007-07-11 20:12:26 +00:00
Igor Sysoev
19b093f23b
style fix
2007-07-11 13:06:54 +00:00
Igor Sysoev
d2d6bd5af6
reset errno
2007-07-11 10:46:21 +00:00
Igor Sysoev
d2c996a57c
fix segfault when event port returns POLLERR without POLLIN or POLLOUT
2007-07-11 10:45:55 +00:00
Igor Sysoev
a9af7bfada
fix segfault when CRAM-MD5 is not enabled but client tries it
2007-07-11 07:47:57 +00:00
Igor Sysoev
fa808bbc04
fix memory allocation for auth_http_header
2007-07-10 21:26:51 +00:00
Igor Sysoev
8b0a3d2810
fix segfault when session was freed twice
2007-07-10 21:04:37 +00:00
Igor Sysoev
f53d0f3177
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
13cf4b82c5
bump version
2007-07-09 07:09:38 +00:00
Igor Sysoev
793e08317f
fix headers split in FastCGI records
2007-07-09 06:30:53 +00:00
Igor Sysoev
7797887b1d
omit unnecessary conditions
2007-07-08 09:38:37 +00:00
Igor Sysoev
4d2e0f0198
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
28eafa574e
add comment
2007-07-06 11:28:20 +00:00
Igor Sysoev
28bb279593
bump version
2007-06-17 19:27:34 +00:00
Igor Sysoev
414e94f0e9
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
de278125c1
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
def1e7439f
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
b5f30a87c5
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
2756b42db2
set worker's perl $$
2007-06-15 12:20:23 +00:00
Igor Sysoev
89aa3079bb
bump version
2007-06-14 05:48:47 +00:00
Igor Sysoev
9d8a75c525
the "www.example.*" wildcard hash support
2007-06-11 19:49:22 +00:00
Igor Sysoev
ad39e5c746
bump version
2007-06-11 19:32:29 +00:00
Igor Sysoev
8ec084b9dc
bump version
2007-06-08 05:43:05 +00:00
Igor Sysoev
6d9a66078a
fix building --without-http_rewrite_module, the bug was introduced in r1236
2007-06-08 05:40:59 +00:00
Igor Sysoev
84cc2cca53
style fix
2007-06-07 14:33:02 +00:00
Igor Sysoev
6c8e74bcd4
style fix
2007-06-07 12:20:34 +00:00
Igor Sysoev
35e5db1c6b
namespace may be set via $memcached_key
2007-06-07 12:15:27 +00:00
Igor Sysoev
8e3151dce5
strstr() -> strchr()
2007-06-06 12:24:10 +00:00
Igor Sysoev
1fddbb85e1
eliminate old unused typedef
2007-06-06 08:11:33 +00:00
Igor Sysoev
52a93439bc
fix bug introduced in r1228
2007-06-06 05:56:51 +00:00
Igor Sysoev
1849ba824e
change wording
2007-06-05 11:55:39 +00:00
Igor Sysoev
6633572f31
use pointer to an array instead of array for inclusive locations inside location
2007-06-05 11:42:59 +00:00
Igor Sysoev
c915106f20
optimize regex location search
2007-06-05 06:44:08 +00:00
Igor Sysoev
bf15d70e10
forbid alias inside location given by regular expression
2007-06-04 20:45:45 +00:00
Igor Sysoev
62864d1e1e
fix ssl_verify_client for HTTP/0.9
2007-06-04 20:40:03 +00:00
Igor Sysoev
55a42ca586
style fix
2007-06-04 20:00:06 +00:00
Igor Sysoev
1c0e3e0dd0
bump version
2007-06-04 16:14:33 +00:00
Igor Sysoev
813296e5bb
fastcgi_catch_stderr
2007-06-04 13:52:47 +00:00
Igor Sysoev
b2c5db58dc
inherit flush flag, this fixes https proxying
2007-06-03 19:58:30 +00:00
Igor Sysoev
70c1d0f160
add debug logging
2007-06-03 19:56:27 +00:00
Igor Sysoev
b1c6c4323e
add comment
2007-05-30 13:24:50 +00:00
Igor Sysoev
d4aa572c8d
do listen() just after bind() to exit early
2007-05-30 13:23:48 +00:00
Igor Sysoev
9dd99aac66
style fix
2007-05-30 12:28:37 +00:00
Igor Sysoev
c141793cf9
change wording
2007-05-29 19:43:18 +00:00
Igor Sysoev
8f0c87f384
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
78c5893412
fix segfault
2007-05-29 16:33:34 +00:00
Igor Sysoev
e60303cdca
SNI support
2007-05-29 15:21:09 +00:00
Igor Sysoev
f44ea0bbf6
bump version
2007-05-29 12:15:04 +00:00
Igor Sysoev
acac00332e
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
a9a4672b9f
bump version
2007-05-28 19:03:06 +00:00
Igor Sysoev
b8ddf754f9
fix "proxy_pass https://"
2007-05-28 11:09:18 +00:00
Igor Sysoev
da8c05a5fd
style fix
2007-05-23 18:28:54 +00:00
Igor Sysoev
c02ed54c4f
use stable search where it is required
2007-05-21 14:09:12 +00:00
Igor Sysoev
35921283df
ngx_sort
2007-05-21 14:05:23 +00:00
Igor Sysoev
2517fbf2b8
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
0687cb9d99
fix worker endless loop on 64-bit platform if 33+ backend has fall
2007-05-21 13:48:14 +00:00
Igor Sysoev
3378750e2d
style fix
2007-05-19 17:39:44 +00:00
Igor Sysoev
5f6989e953
style fix
2007-05-17 18:07:28 +00:00
Igor Sysoev
932b32628e
bump version
2007-05-07 14:39:11 +00:00
Igor Sysoev
08d068f943
limit minimal pool size
2007-05-07 09:20:42 +00:00
Igor Sysoev
5a8bc36118
style fix
2007-05-07 08:49:15 +00:00
Igor Sysoev
c5a60bb4a0
add debug log
2007-05-07 07:04:00 +00:00
Igor Sysoev
c9b57dc081
sendfile_max_chunk
2007-05-07 06:33:39 +00:00
Igor Sysoev
544e9f1fd7
optimize HTTP method parsing for i386 and amd64
2007-05-07 06:27:14 +00:00
Igor Sysoev
5b1cf0d91f
fix multipart ranges trailing
2007-05-06 18:15:32 +00:00
Igor Sysoev
b09c269386
style fix: change variable name
2007-05-05 06:07:11 +00:00
Igor Sysoev
875893b846
fix building by owc12
2007-05-05 05:50:41 +00:00
Igor Sysoev
d1e38e8788
fix building by msvc
2007-05-05 05:40:29 +00:00
Igor Sysoev
75c3272a1c
fix segfault introduced in r1190
2007-05-02 09:02:23 +00:00
Igor Sysoev
dbdeafe6a0
fix segfault or parsing error in '<!--# if expr="$var = /" -->'
2007-05-02 08:07:37 +00:00
Igor Sysoev
9c710c0569
allow to "set" $http_, $sent_http_, and $upstream_http_ variables
2007-05-01 19:58:45 +00:00
Igor Sysoev
dc566e4bd6
fix atomic operations on sparc64 built by SunPro C
2007-04-27 14:36:28 +00:00
Igor Sysoev
359561d6cc
bump version
2007-04-24 06:26:56 +00:00
Igor Sysoev
57a713c67c
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
29f5912635
$upstream_addr
2007-04-23 16:56:17 +00:00
Igor Sysoev
8a19bff2a5
proxy_headers_hash_max_size and proxy_headers_hash_bucket_size
2007-04-22 20:21:59 +00:00
Igor Sysoev
b4ccb9f5bd
$request_time has millisecond precision
2007-04-21 07:50:19 +00:00
Igor Sysoev
6047281208
rename $r->rflush to $r->flush
2007-04-21 07:43:23 +00:00
Igor Sysoev
e548a510c4
bump version
2007-04-19 18:23:54 +00:00
Igor Sysoev
6d939760c6
style fix: remove trailing spaces
2007-04-19 18:07:39 +00:00
Igor Sysoev
4c39648150
$upstream_http_... should be uncacheable
2007-04-19 17:55:19 +00:00
Igor Sysoev
d9bb8e3894
ngx_http_sub_filter_module
2007-04-19 17:54:23 +00:00
Igor Sysoev
16eab66314
style fix: rename functions
2007-04-19 06:27:10 +00:00
Igor Sysoev
e0f866273f
store the upstream states before X-Accel-Redirect to a next upstream
2007-04-18 20:23:19 +00:00
Igor Sysoev
eb21763fa1
style fix
2007-04-18 19:43:22 +00:00
Igor Sysoev
fb958946b5
style fix: remove tabs
2007-04-18 15:21:28 +00:00
Igor Sysoev
e5e4c0000d
fix segfault when
...
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
de92bcccee
set nginx_stash after reconfiguration in single interpreter perl
2007-04-18 09:23:35 +00:00
Igor Sysoev
2723361e76
$upstream_http_... variables
2007-04-10 07:08:06 +00:00
Igor Sysoev
da4b660274
use 60 seconds interval but not 61 seconds
2007-04-03 21:54:13 +00:00
Igor Sysoev
52a282d04b
bump version
2007-04-02 10:50:18 +00:00
Igor Sysoev
7a5886052f
*) introduce ngx_strchr()
...
*) test server_name for '/': it's common configuration error when
trailing ';' is omitted and a next directive is treated as server_name
2007-04-02 06:27:30 +00:00
Igor Sysoev
10b9894bee
style fix
2007-04-02 05:43:21 +00:00
Igor Sysoev
ceab369f44
disable $document_root variable in the "root/alias" directive
2007-04-01 09:03:14 +00:00
Igor Sysoev
70f65c4948
ngx_ssl_recv_chain() must not update buf->last,
...
it fixes proxy_pass https://...
2007-03-31 19:48:48 +00:00
Igor Sysoev
24a95944a7
separate ngx_http_upstream_test_connect() and
...
use it in ngx_http_upstream_process_header() path too
2007-03-31 15:37:09 +00:00
Igor Sysoev
2c8f05737a
flush nocachable variables before ngx_http_script_run()
2007-03-30 19:00:34 +00:00
Igor Sysoev
3e933d2919
disable TRACE method
2007-03-30 18:59:26 +00:00
Igor Sysoev
9b6548f4e4
style fix
2007-03-29 18:53:34 +00:00
Igor Sysoev
eba03e6bea
the "include" support inside the "types" directive
2007-03-29 10:27:24 +00:00
Igor Sysoev
4ca98f65a5
style fix
2007-03-28 14:38:33 +00:00
Igor Sysoev
035b9c5d24
bump version
2007-03-26 14:52:52 +00:00
Igor Sysoev
7755b904ce
ip_hash used wrong byte order
2007-03-23 12:52:33 +00:00
Igor Sysoev
77d7f80285
fix segfault if upstream sends trailing ";" in "charset="
2007-03-23 11:33:47 +00:00
Igor Sysoev
e47cad4140
fix "zero size buf" if request body file is multiple of 32K and FastCGI is used
2007-03-21 13:30:24 +00:00
Igor Sysoev
e7f83eefa2
fix building without --with-debug on Solaris
2007-03-21 11:16:14 +00:00
Igor Sysoev
65560f40c0
bump version
2007-03-19 14:58:30 +00:00
Igor Sysoev
02c8d181a4
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
4ddeff4956
close keep-alive connections in the shuting down processes
2007-03-19 13:20:15 +00:00
Igor Sysoev
e1f43ce292
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
b69d913c6f
style fix
2007-03-06 20:29:08 +00:00
Igor Sysoev
11d86a4457
style fix
2007-03-06 20:17:50 +00:00
Igor Sysoev
6c7f369010
bump version
2007-03-06 12:59:58 +00:00
Igor Sysoev
7746dc7897
style fix
2007-03-06 12:18:45 +00:00
Igor Sysoev
bd99c49794
avoid endless loop
2007-03-06 11:02:35 +00:00
Igor Sysoev
b32d04f07c
decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL
2007-03-06 11:01:50 +00:00
Igor Sysoev
f259a3f910
use the contemporary directives
2007-02-21 11:50:39 +00:00
Igor Sysoev
40460bab8d
ngx_log_error() > ngx_conf_log_error()
2007-02-20 15:47:54 +00:00
Igor Sysoev
bb4c112fe5
use "goto" instead of indistinct "break"
2007-02-20 14:36:48 +00:00
Igor Sysoev
83fe66212f
stop on superfluous closing "}"
2007-02-20 14:33:26 +00:00
Igor Sysoev
b59f369077
bump version
2007-02-19 13:42:48 +00:00
Igor Sysoev
cf72935bc3
a client address must be allocated from a connection pool
...
to live through the keep-alive requests
2007-02-17 21:06:47 +00:00
Igor Sysoev
b4123b94ff
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
5473662c94
COPY and MOVE
...
fix PUT and DELETE to conform to WebDAV specification
2007-02-16 12:16:25 +00:00
Igor Sysoev
d74b66c82c
finalize request to allow post_action
2007-02-15 18:53:48 +00:00
Igor Sysoev
37a6905cb1
fix broken values, debug logging, and style fix
2007-02-15 15:05:26 +00:00
Igor Sysoev
e8722b8b98
optimize $http_x_forwarded_for
2007-02-15 15:04:36 +00:00
Igor Sysoev
cf815023fc
fix format
2007-02-15 14:13:24 +00:00
Igor Sysoev
bb19bcd867
close connection for too long commands
2007-02-15 13:30:19 +00:00
Igor Sysoev
9d58e4bed3
if client closes a connection prematurely, then epoll (at least
...
in Linux 2.6.16) sends EPOLLERR|EPOLLHUP|EPOLLIN only and writer
does not know about the error
2007-02-15 10:02:34 +00:00
Igor Sysoev
7b2d87ffa0
add debug logging
2007-02-15 10:00:59 +00:00
Igor Sysoev
65a7b8f988
return error for too long commands
2007-02-14 20:45:19 +00:00
Igor Sysoev
722231f407
ngx_strcasecmp()/ngx_strncasecmp()
2007-02-14 18:51:19 +00:00
Igor Sysoev
0ddd9d6e5e
fix building on platforms with non-supported atomic operations
2007-02-14 13:52:47 +00:00
Igor Sysoev
e5234d3e05
bump version
2007-02-12 15:37:36 +00:00
Igor Sysoev
7cc1ea31e9
correct r1100
2007-02-12 14:58:45 +00:00
Igor Sysoev
1131d87684
fix building with ngx_http_perl_module
2007-02-12 13:19:12 +00:00
Igor Sysoev
8e750112f6
fix building on platforms with non-supported atomic operations
2007-02-11 07:49:12 +00:00
Igor Sysoev
915ef4f7c8
fix segfault when a large FastCGI response was written to a temporary file
2007-02-09 14:02:42 +00:00
Igor Sysoev
f15b839a88
log a right subrequest
2007-02-09 13:49:14 +00:00
Igor Sysoev
f0b150faf8
fix segfault when $fastcgi_script_name is used in access_log
...
and there was bad request (400)
2007-02-09 11:56:23 +00:00
Igor Sysoev
e980185ee0
bump version
2007-02-05 14:49:52 +00:00
Igor Sysoev
0762f4e749
fix several ranges
2007-02-04 18:40:47 +00:00
Igor Sysoev
1e428098fb
style fix
2007-01-31 07:31:50 +00:00
Igor Sysoev
d1a0ee7fc7
allocate less memory on 64-bit platforms
2007-01-29 20:33:51 +00:00
Igor Sysoev
b8bfa20c91
shorten temporary names on 64-bit platforms
2007-01-29 20:28:00 +00:00
Igor Sysoev
e31625b60e
use ngx_dir_access() to enable search bits for directory
2007-01-29 12:25:44 +00:00
Igor Sysoev
e99305be7a
eliminate the useless space symbol
2007-01-29 11:54:36 +00:00
Igor Sysoev
8b57df9480
log a real response error code instead of "0"
2007-01-29 11:53:23 +00:00
Igor Sysoev
f51d4fea57
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
92929b9799
bump version
2007-01-25 22:19:34 +00:00
Igor Sysoev
80a2901374
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
95ec258be3
fix online upgrade
2007-01-25 21:48:28 +00:00
Igor Sysoev
5f8e7365a1
bump version
2007-01-25 21:45:22 +00:00
Igor Sysoev
3dc4fdf4e0
$memcached_key
2007-01-25 08:45:41 +00:00
Igor Sysoev
cd5b99a045
undo "client_body_in_file_only any"
...
and introduce "client_body_in_file_only clean"
introduce ngx_pool_delete_file() to not break a possible third-party
ngx_pool_cleanup_file() usage that may lead to an removal of the useful files
delete unnecessary ngx_http_finalize_request_body()
2007-01-25 08:45:04 +00:00
Igor Sysoev
3a58cc90b5
fix "access_log off"
2007-01-24 09:15:25 +00:00
Igor Sysoev
64304df431
client_body_in_file_only any
2007-01-24 09:14:08 +00:00
Igor Sysoev
604a7d1da4
delete temporary file for incomplete small request body
2007-01-23 12:55:23 +00:00
Igor Sysoev
d0863c106d
log a failure of the writing to access_log once per minute
2007-01-21 19:01:01 +00:00
Igor Sysoev
300de4fb61
allow "sendfile" in "if" context
2007-01-21 17:42:28 +00:00
Igor Sysoev
8885f8736c
env
2007-01-20 19:26:48 +00:00
Igor Sysoev
354a4ef4e5
bump version
2007-01-19 19:48:48 +00:00
Igor Sysoev
36588962aa
fix segfault when a request body fits in r->header_in and
...
the body will be written to file
2007-01-19 16:13:15 +00:00
Igor Sysoev
8ff1e3251c
fix segfault when client_body_in_file_only is on, the body is not passed
...
to upstream, and nginx tries next upstream
2007-01-19 12:57:02 +00:00
Igor Sysoev
ae2006b2fe
a non-active client connection must not closed after send timeout
2007-01-19 12:22:32 +00:00
Igor Sysoev
66f76d2f72
style and comment fix
2007-01-19 11:35:26 +00:00
Igor Sysoev
8d6de94f5b
if client closes a connection prematurely, then epoll (at least
...
in Linux 2.6.18) sends EPOLLERR|EPOLLHUP|EPOLLIN only and writer
does not know about the error
2007-01-19 08:10:06 +00:00
Igor Sysoev
e95ea5b878
the PUTing to collection must return NGX_HTTP_BAD_REQUEST
2007-01-18 21:14:46 +00:00
Igor Sysoev
56331ba499
the "Overwrite" header line
2007-01-18 21:11:23 +00:00
Igor Sysoev
f5a359bdec
add size, access, and mtime to ngx_walk_tree()
2007-01-18 21:04:31 +00:00
Igor Sysoev
da7281a6da
NGX_HTTP_PRECONDITION_FAILED
2007-01-18 20:51:51 +00:00
Igor Sysoev
5fdb179a60
update nginx.xs to ngx_open_file(name, mode, create, access)
2007-01-18 20:48:03 +00:00
Igor Sysoev
83ff0cdc4b
ngx_read_fd()
2007-01-18 20:39:30 +00:00
Igor Sysoev
a3eef70783
NGX_FILE_WRONLY
2007-01-18 20:37:19 +00:00
Igor Sysoev
4a27d0f3f8
ngx_file_access() and ngx_de_access()
2007-01-18 20:31:22 +00:00
Igor Sysoev
8be5d8025a
style fix
2007-01-18 20:25:11 +00:00
Igor Sysoev
8820a9bcb3
axe Win9X code
2007-01-18 20:24:30 +00:00
Igor Sysoev
872025fc51
add comment
2007-01-18 20:23:16 +00:00
Igor Sysoev
cbb5578c52
axe unused code
2007-01-18 20:22:40 +00:00
Igor Sysoev
50034b856c
ngx_open_file(name, access, create) > ngx_open_file(name, mode, create, access)
2007-01-18 20:15:09 +00:00
Igor Sysoev
12fcfab8be
style fix
2007-01-18 20:05:39 +00:00
Igor Sysoev
fe1cb8c3ac
rename mode to access
2007-01-18 19:52:18 +00:00
Igor Sysoev
6ed365fa8b
unused value
2007-01-18 19:49:00 +00:00
Igor Sysoev
8c5edab7d3
style fix: remove trailing spaces
2007-01-18 19:40:31 +00:00
Igor Sysoev
adb410f9ae
fix log message
2007-01-18 14:28:34 +00:00
Igor Sysoev
97c0d35037
fix FastCGI "zero size buf" alert,
...
the previous commit did not fix too
2007-01-18 07:07:55 +00:00
Igor Sysoev
aafa2004d7
fix FastCGI "zero size buf" alert,
...
r841 did not fix it
2007-01-17 16:10:40 +00:00
Igor Sysoev
ecef14e307
style fix
2007-01-17 10:50:52 +00:00
Igor Sysoev
66af04752f
fix debug logging
2007-01-16 20:43:36 +00:00
Igor Sysoev
03c9cb7afc
fix comparison
2007-01-16 19:01:10 +00:00
Igor Sysoev
c326529feb
bump version
2007-01-16 11:04:51 +00:00
Igor Sysoev
f83e627473
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
8488a1ce11
allow the upstream modules to send a header only
2007-01-15 17:12:43 +00:00
Igor Sysoev
4502bf57b3
add debug logging for FastCGI zero size buf alert
2007-01-15 16:00:51 +00:00
Igor Sysoev
ec3cabdcd9
ngx_strn2cmp() > ngx_memn2cmp()
2007-01-12 21:58:02 +00:00
Igor Sysoev
a1e82cca22
style fix
2007-01-12 21:57:20 +00:00
Igor Sysoev
8785136a92
fix duplicate rbtree keys case
2007-01-12 20:57:34 +00:00
Igor Sysoev
805706a20f
fix duplicate rbtree keys case
2007-01-12 20:38:17 +00:00
Igor Sysoev
6043c80639
style fix: remove tabs
2007-01-12 20:26:39 +00:00
Igor Sysoev
37cc165064
ngx_strn2cmp()
2007-01-12 20:15:59 +00:00
Igor Sysoev
618dc75c2d
make global the rbtree color handling macros
2007-01-12 19:48:30 +00:00
Igor Sysoev
6a23cf06e8
add comment
2007-01-12 19:26:38 +00:00
Igor Sysoev
8f6a00c3ef
fix comment
2007-01-12 18:05:41 +00:00
Igor Sysoev
b1d65e50d6
axe aio drafts
2007-01-11 22:08:50 +00:00
Igor Sysoev
aa50359569
axe long ago unnecessary file
2007-01-11 22:05:15 +00:00
Igor Sysoev
295b94de9a
fix slab allocator on 64-bit platfroms
2007-01-11 19:13:46 +00:00
Igor Sysoev
927666265d
optimize the SSL session cache allocations on 64-bit platforms
2007-01-11 18:59:17 +00:00
Igor Sysoev
7431938b90
fix slab allocator on 64-bit platfroms
2007-01-11 18:58:40 +00:00
Igor Sysoev
7fe33a9f58
ssl_session_timeout was set only if builtin cache was used
2007-01-11 18:57:09 +00:00
Igor Sysoev
b317945089
optimize the SSL session cache allocations
2007-01-11 17:39:02 +00:00
Igor Sysoev
e532b0194c
stop rbtree search early if equal hash was found
2007-01-11 17:05:18 +00:00
Igor Sysoev
1279b049b4
stop rbtree search early if equal hash was found
2007-01-11 16:57:30 +00:00
Igor Sysoev
ec582de2dd
test length of variable and number of connections
2007-01-11 16:50:06 +00:00
Igor Sysoev
43bb0077d1
optimization
2007-01-11 16:07:38 +00:00
Igor Sysoev
896b5e4a4f
optimize inlined code for gcc
2007-01-11 16:07:03 +00:00
Igor Sysoev
2ffaa986e2
use "r" instead of "q"
2007-01-11 16:00:02 +00:00
Igor Sysoev
2c32b5a1d2
fix segfault
2007-01-09 22:04:40 +00:00
Igor Sysoev
fe9a066d69
fix connection counter in subrequests
2007-01-09 20:58:41 +00:00