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