Igor Sysoev
1a70105b21
fix compression pointer for big (>255) DNS responses
2008-11-17 08:04:41 +00:00
Igor Sysoev
08d310387d
use integer instead of float
2008-11-14 13:25:44 +00:00
Igor Sysoev
896dcfa400
change rate to an excess
2008-11-14 11:32:03 +00:00
Igor Sysoev
64ef84df90
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
6035577742
remove unused field
2008-11-13 13:30:34 +00:00
Igor Sysoev
91e1deb99d
smtp_auth none
...
patch by Maxim Dounin
2008-11-13 13:25:34 +00:00
Igor Sysoev
8fcf6bbce6
memcached response was stored in variable with END
2008-11-12 21:01:01 +00:00
Igor Sysoev
dbea16d385
$cookie_... variable
2008-11-12 11:12:02 +00:00
Igor Sysoev
daef2021e4
bump version
2008-11-12 10:48:27 +00:00
Igor Sysoev
80eb85f4be
the sysctl "kern.ostype" and "kern.osrelease" had appeared in MacOSX 10.5 only
2008-11-11 19:44:30 +00:00
Igor Sysoev
96dfdc49a6
compatibility with glibc 2.3, warn_unused_result attribute for write()
2008-11-11 16:17:45 +00:00
Igor Sysoev
dfaf3823d7
style fix: remove trailing spaces
2008-11-11 16:04:05 +00:00
Igor Sysoev
5dd3ec54de
*) 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
fea52523b7
exslt support
2008-11-11 15:22:24 +00:00
Igor Sysoev
0bcb5c5e59
bump version
2008-11-10 18:34:24 +00:00
Igor Sysoev
cd0e6e18e1
fix r2067
2008-11-10 15:25:11 +00:00
Igor Sysoev
539cd0dad6
ngx_http_limit_req_module
2008-11-10 15:22:33 +00:00
Igor Sysoev
6df4eaaf88
%f format
2008-11-10 15:20:59 +00:00
Igor Sysoev
644029fa74
fix the previous commit
2008-11-06 19:54:54 +00:00
Igor Sysoev
08743f897c
*) 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
bfb4833f35
change int to size_t
2008-11-06 19:11:19 +00:00
Igor Sysoev
476eddc439
align first allocation from additional pool block, this fixes bus error on sun4v
2008-11-06 16:14:24 +00:00
Igor Sysoev
2959de23f8
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
1894b45be8
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
ebf25e6fa4
fix r1913
2008-10-30 15:59:10 +00:00
Igor Sysoev
39c8f46741
fix case proxy_pass URL is evaluted to http://host?args
2008-10-24 19:34:24 +00:00
Igor Sysoev
f8ec8752a6
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
d7354d3695
show name for a FORMERR DNS response
2008-10-24 14:38:09 +00:00
Igor Sysoev
ee1be262b3
FORMERR DNS response may be equal to mininal query size
2008-10-24 14:34:10 +00:00
Igor Sysoev
f67453d7d1
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
8106a74d7c
allow short secure links
2008-10-21 12:33:23 +00:00
Igor Sysoev
2f353eb47c
fix server_addr value known from configuration, bug introduced in r2199
2008-10-17 12:36:48 +00:00
Igor Sysoev
c021c4315d
NGX_OPEN_FILE_DIRECTIO_OFF
2008-10-16 13:31:00 +00:00
Igor Sysoev
ed4d05926a
bump version
2008-10-16 13:20:47 +00:00
Igor Sysoev
8bcd5ce3d5
bump version
2008-10-13 13:23:18 +00:00
Igor Sysoev
f07fa18f25
do not set "Transfer-Encoding: chunked" for HEAD requests
2008-10-02 15:40:01 +00:00
Igor Sysoev
517ae5d12e
fix r2122:
...
*) update file buf pointers,
*) avoid "zero buf" alert
2008-10-02 15:38:26 +00:00
Igor Sysoev
c2646477f2
*) 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
625381a2c1
ngx_http_upstream_intercept_errors()
2008-09-30 14:57:09 +00:00
Igor Sysoev
21f6b381fc
back out $random_index variable
2008-09-30 13:17:14 +00:00
Igor Sysoev
2a7898e6a6
refactor log_subrequest
2008-09-29 13:18:41 +00:00
Igor Sysoev
a06848d177
update log_subrequest
2008-09-29 07:12:04 +00:00
Igor Sysoev
fe26464ceb
disable $realpath_root variable in a "root" directive
2008-09-29 04:47:22 +00:00
Igor Sysoev
f78f3f7b14
fix the previous commit
2008-09-29 04:46:21 +00:00
Igor Sysoev
91f4425234
*) log_subrequest
...
*) flush variables in access log
2008-09-27 15:08:02 +00:00
Igor Sysoev
0f602f0f3a
ngx_http_secure_link_module
2008-09-27 13:22:10 +00:00
Igor Sysoev
7bd0e4f5ab
$realpath_root
2008-09-27 11:53:41 +00:00
Igor Sysoev
e6d048635d
$random_index variable
2008-09-27 11:48:28 +00:00
Igor Sysoev
866354a7e1
real_ip_header supports any header
2008-09-25 19:51:56 +00:00
Igor Sysoev
64cfd2ead9
underscores_in_headers
2008-09-24 14:02:50 +00:00
Igor Sysoev
0bc18748a1
dynamic accept threshold
2008-09-19 12:47:13 +00:00
Igor Sysoev
abf2c011ff
fix grammar
2008-09-17 08:03:58 +00:00
Igor Sysoev
fe6ecb318d
bump version
2008-09-15 17:10:23 +00:00
Igor Sysoev
c0507a61d3
set request handlers, this fixes complex proxied 400 handler with SSI includes
2008-09-15 16:44:37 +00:00
Igor Sysoev
d07d1a257f
$pid
2008-09-15 16:41:08 +00:00
Igor Sysoev
6b71af298f
disable directio for unaligned reads in Linux
2008-09-12 13:50:12 +00:00
Igor Sysoev
7d2930d1fa
disable directio for access_log with variables
2008-09-12 13:44:10 +00:00
Igor Sysoev
7fe348df8f
cache directio flag in open file cache
2008-09-12 13:39:51 +00:00
Igor Sysoev
6a38a40700
add filename to the log message
2008-09-11 15:52:11 +00:00
Igor Sysoev
066c84ada7
strip charset name quotes
2008-09-09 11:58:45 +00:00
Igor Sysoev
b8e08f06e7
bump version
2008-09-08 09:49:22 +00:00
Igor Sysoev
a6f85e84d4
fix building on 64-bit platforms, introduced in r2232
2008-09-08 09:33:37 +00:00
Igor Sysoev
e13db0c3ee
bump version
2008-09-08 08:47:00 +00:00
Igor Sysoev
259fc2cfed
allow underscores in client request header lines
2008-09-08 08:26:42 +00:00
Igor Sysoev
b99e5f6c2e
ngx_http_random_index_module
2008-09-05 15:45:55 +00:00
Igor Sysoev
4c972fac9d
*) 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
6d9843a4f1
remove unused #include's
2008-09-05 15:25:47 +00:00
Igor Sysoev
3aa7950789
style fix
2008-09-05 14:53:17 +00:00
Igor Sysoev
7e50cdf90d
*) handle unaligned file part for directio
...
*) disable sendfile in directio mode
2008-09-05 14:48:47 +00:00
Igor Sysoev
ef78cf29da
split ngx_output_chain()
2008-09-03 10:01:29 +00:00
Igor Sysoev
5507c4b070
bump version
2008-09-01 15:44:57 +00:00
Igor Sysoev
956a1735ca
fix building by msvc introduced in r2223
2008-09-01 15:17:54 +00:00
Igor Sysoev
1a3f82e132
escape a query string characters taken from URI while rewrite
2008-09-01 14:43:38 +00:00
Igor Sysoev
85951d5d72
*) listen ssl
...
*) no default ssl_cetificate and ssl_cetificate_key
2008-09-01 14:19:01 +00:00
Igor Sysoev
4bb5fe37a8
style fix: remove tabs and trailing spaces
2008-09-01 14:05:20 +00:00
Igor Sysoev
0dde4c40f7
test conf file size, this fixes OpenBSD's "nginx -c /tmp/" bug
2008-09-01 13:59:11 +00:00
Igor Sysoev
6c282650f4
use ngx_pmemalign() to allocate radix pages
2008-09-01 13:52:55 +00:00
Igor Sysoev
865600609c
ngx_timezone_update()
2008-08-30 19:52:07 +00:00
Igor Sysoev
01355945ea
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
4a5a87868b
remove unused debug log
2008-08-27 13:26:35 +00:00
Igor Sysoev
9533401ca5
quoted too long parameter error
2008-08-27 12:19:07 +00:00
Igor Sysoev
c5ae410655
too long parameter error
2008-08-26 21:10:20 +00:00
Igor Sysoev
1e9fff8c6d
remove never used macro
2008-08-26 21:05:59 +00:00
Igor Sysoev
d976439aaf
fix types
2008-08-26 21:04:06 +00:00
Igor Sysoev
0fb7f889e1
bump version
2008-08-26 17:23:27 +00:00
Igor Sysoev
0f05c9f143
fix build on Linux and Solaris introduced in r2200
2008-08-26 17:15:11 +00:00
Igor Sysoev
c9e43df8f1
bump version
2008-08-26 16:23:14 +00:00
Igor Sysoev
c6aff78786
fix bugs introduced in r2204
2008-08-26 16:11:30 +00:00
Igor Sysoev
d7d96c3c6d
gzip_disable msie6
2008-08-26 15:09:28 +00:00
Igor Sysoev
a9b2c85779
fix divide by zero if max_fails=0
2008-08-26 14:34:16 +00:00
Igor Sysoev
92a5ac81cf
*) 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
5bc7d0ead2
*) 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
06bf61981c
ngx_strlchr()
2008-08-26 14:16:36 +00:00
Igor Sysoev
6b91bca1d7
split ngx_parse_url()
2008-08-22 13:36:56 +00:00
Igor Sysoev
75fedd3812
fix building on FreeBSD prior to 4.8, it has no GLOB_NOMATCH
2008-08-22 12:54:32 +00:00
Igor Sysoev
f60b7174b1
ngx_sock_ntop() takes family from sockaddr, remove duplicate field
2008-08-21 19:24:07 +00:00
Igor Sysoev
95cf37a78f
*) 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
77d136e981
call ngx_http_xslt_filter_exit()
2008-08-21 18:21:40 +00:00
Igor Sysoev
8a825218e5
server_name "" support
2008-08-21 12:56:10 +00:00
Igor Sysoev
f2376c950d
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
646af391c9
leave HEAD method while error_page redirection
2008-08-19 18:55:46 +00:00
Igor Sysoev
c403214b13
do not discard body while error_page redirection
2008-08-19 12:23:18 +00:00
Igor Sysoev
f996fa8332
bump version
2008-08-18 14:29:57 +00:00
Igor Sysoev
88e23c207d
remove text/css from default charset_types
...
as it does not usually require recoding
2008-08-18 13:38:17 +00:00
Igor Sysoev
254b8310be
*) 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
00b8dd8287
fix noregex for inclusive locations
2008-08-17 17:58:16 +00:00
Igor Sysoev
3472513983
proxy_ssl_session_reuse
2008-08-17 17:47:52 +00:00
Igor Sysoev
2a671cd3a1
disable original URI usage in proxy_pass after X-Accel-Redirect
2008-08-17 17:44:08 +00:00
Igor Sysoev
23588587df
allow file existence test for POST requests in static module
2008-08-17 17:42:42 +00:00
Igor Sysoev
84f3bd312a
ignore NGX_EACCES error while directory test
2008-08-17 17:38:48 +00:00
Igor Sysoev
f1e566ff19
fix log message
2008-08-15 20:14:49 +00:00
Igor Sysoev
4abe8c6d51
bump version
2008-08-13 16:59:16 +00:00
Igor Sysoev
8c7975d2ad
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
2776f9114a
*) fix segfaults in types hash
...
*) fix inheritance: default hash instead of inherited one
2008-08-13 16:25:48 +00:00
Igor Sysoev
7da3929235
disable error_page loop in 500 error when recursive errors are enabled
2008-08-13 09:00:13 +00:00
Igor Sysoev
4b6d704dc5
bump version
2008-08-12 15:46:34 +00:00
Igor Sysoev
91e04b5d2c
fix the case when unset domain.tld was matched by *.domain.tld
2008-08-12 15:28:19 +00:00
Igor Sysoev
c2eec199ec
*) charset_types
...
*) change of default charset types
*) addition_types
2008-08-12 13:17:08 +00:00
Igor Sysoev
03a9d6b399
use hash in gzip_types, ssi_types, and sub_filter_types
2008-08-12 13:11:36 +00:00
Igor Sysoev
b0dc32eec3
backout both r2162 and r2128 and implement a new fix
2008-08-12 12:04:49 +00:00
Igor Sysoev
be76a05b53
check daily time range
2008-08-11 17:50:37 +00:00
Igor Sysoev
545e30b14e
expires daily time
2008-08-11 15:28:35 +00:00
Igor Sysoev
41d59b59bd
ngx_next_time()
2008-08-11 15:28:15 +00:00
Igor Sysoev
5eb3a4f909
SSL connection readiness is required for level-triggered events only,
...
broken in r2128
2008-08-11 15:25:40 +00:00
Igor Sysoev
2ec5d3dbe8
consider log_not_found while testing index files
2008-08-11 15:22:40 +00:00
Igor Sysoev
7ef4a7af61
clear Last-Modified; set content-type and length for main request only
2008-08-06 13:18:57 +00:00
Igor Sysoev
416dd28ddc
disable ranges, because xslt filter runs after range body filter
2008-08-06 09:38:34 +00:00
Igor Sysoev
b9b9499840
ngx_cpp_test_module
2008-08-05 19:32:50 +00:00
Igor Sysoev
b467cb72b2
reuse compiled DTD hash in different locations, add DTD cleanup
2008-08-05 19:05:15 +00:00
Igor Sysoev
a8c8cfd097
update debug logging
2008-08-05 15:19:21 +00:00
Igor Sysoev
94c55307bc
reuse compiled XSLT tree in different locations
2008-08-05 14:27:49 +00:00
Igor Sysoev
ce6a5a9447
xsl:output's media-type and encoding support
2008-08-05 14:24:16 +00:00
Igor Sysoev
618fc44383
we do not need dtd->name
2008-08-05 13:08:35 +00:00
Igor Sysoev
97264f520e
xslt_stylesheet should be valid for location only
2008-08-05 13:07:42 +00:00
Igor Sysoev
1490aa1577
fix xslt module context levels
2008-08-05 06:21:15 +00:00
Igor Sysoev
963e96e078
update debug logging
2008-08-04 21:51:36 +00:00
Igor Sysoev
4ec2c572cb
style fix
2008-08-04 20:25:51 +00:00
Igor Sysoev
ca64d981f8
fix building by bcc broken in r2143
2008-08-04 20:23:21 +00:00
Igor Sysoev
f239450073
bump version
2008-08-04 16:45:52 +00:00
Igor Sysoev
046c266abc
Solaris directio()
2008-08-04 15:32:10 +00:00
Igor Sysoev
8f1faed1d4
fix building by msvc8 introduced in r2127
2008-08-04 14:56:25 +00:00
Igor Sysoev
107ef081fc
if upstream sent a location header without status use 302
2008-08-04 14:53:16 +00:00
Igor Sysoev
99dbc09d5b
ngx_http_xslt_filter_module
2008-08-04 14:48:15 +00:00
Igor Sysoev
41a9c12b44
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
97562db601
$arg_... variable
2008-08-04 11:10:52 +00:00
Igor Sysoev
488629350b
ngx_hash_strlow()
2008-08-04 10:18:36 +00:00
Igor Sysoev
7648ef4763
ngx_strlow()
2008-08-04 10:07:00 +00:00
Igor Sysoev
9c32f5b9c3
fix building by bcc broken in r2130
2008-08-04 09:14:30 +00:00
Igor Sysoev
e857ecd7df
fix conflicting names "true" and "false"
2008-07-31 07:55:46 +00:00
Igor Sysoev
524a1575b1
bump version
2008-07-30 13:38:49 +00:00
Igor Sysoev
bf12c62e56
directio
2008-07-30 12:34:04 +00:00
Igor Sysoev
825b7e8039
*) move Darwin support to separate files
...
*) Darwin sendfile() support
2008-07-30 12:18:07 +00:00
Igor Sysoev
056c6b563b
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
16044c276a
case insensitive file system location support provided by locale only
2008-07-29 16:55:11 +00:00
Igor Sysoev
261287b0be
rename ngx_utf_...() to ngx_utf8_...()
2008-07-29 14:41:34 +00:00
Igor Sysoev
958a82efdd
fix typo
2008-07-29 14:31:03 +00:00
Igor Sysoev
1754fe97a7
*) 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
123a680e3b
allow range for partial flv response
2008-07-29 13:58:56 +00:00
Igor Sysoev
427cb8372c
support several buf's for single-part range
...
patch by Maxim Dounin
2008-07-29 13:58:13 +00:00
Igor Sysoev
d8db68a729
fix utf-8 names in autoindex
2008-07-25 14:29:05 +00:00
Igor Sysoev
d946ce369e
fix ranges without Content-Type
2008-07-23 16:30:42 +00:00
Igor Sysoev
93387937cf
split ngx_http_range_filter_module
2008-07-23 16:18:37 +00:00
Igor Sysoev
64e2848395
handle connect()'s EAGAIN on Linux
2008-07-09 15:42:13 +00:00
Igor Sysoev
0762a81a11
bump version
2008-07-07 12:19:57 +00:00
Igor Sysoev
c6231f4434
always test root existence for access_log with variables
2008-07-07 09:26:13 +00:00
Igor Sysoev
4c9b373d71
allow several values in query string
2008-07-04 12:59:53 +00:00
Igor Sysoev
41b91d49ec
show an error message for invalid parameter
2008-07-03 19:19:45 +00:00
Igor Sysoev
bece4041ad
bump version
2008-07-01 07:38:28 +00:00
Igor Sysoev
e102e4d09a
nginx could not be build without gzip, introduced in r2052
2008-07-01 06:31:16 +00:00
Igor Sysoev
d979cfcfc8
NULL script in default access_log
2008-07-01 06:26:48 +00:00
Igor Sysoev
435ed70b96
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
a93739b2ce
fix variable access_log merging
2008-06-30 15:51:28 +00:00
Igor Sysoev
e5f979d858
fix error message
2008-06-30 15:32:57 +00:00
Igor Sysoev
789e3f2ad8
bump version
2008-06-30 12:46:40 +00:00
Igor Sysoev
bfe44ae438
-g switch
2008-06-30 12:35:16 +00:00
Igor Sysoev
a1ef4c7622
variables in access_log
2008-06-30 12:27:24 +00:00
Igor Sysoev
24a95941e4
fix comment
2008-06-30 12:12:16 +00:00
Igor Sysoev
6986daa34c
fix the previous commit
2008-06-30 12:11:47 +00:00
Igor Sysoev
ae73eb9661
use ngx_file_info() and test uniq if file is already open
2008-06-26 16:10:13 +00:00
Igor Sysoev
c66dcda68a
ngx_memzero() ngx_open_file_info_t
2008-06-26 14:07:59 +00:00
Igor Sysoev
52429def53
the "Expect" header support
2008-06-26 13:00:39 +00:00
Igor Sysoev
4da9fcd90d
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
29dd032e46
refactor obscure code
2008-06-25 14:56:14 +00:00
Igor Sysoev
5868a5320d
initialize of.uniq in ngx_open_cached_file()
2008-06-23 13:35:34 +00:00
Igor Sysoev
3b22f65e3f
prepare to allow various number of connections in child processes
2008-06-23 13:23:29 +00:00
Igor Sysoev
3556721e2e
change useless ngx_pcalloc() to ngx_pnalloc()
2008-06-23 12:27:03 +00:00
Igor Sysoev
9187c5481f
bump version
2008-06-23 10:50:18 +00:00
Igor Sysoev
eb9d6d0b66
fix max size allocated from pool
2008-06-21 06:40:32 +00:00
Igor Sysoev
c905f0ef73
fix the previous commit
2008-06-20 21:06:53 +00:00
Igor Sysoev
e5f335d391
small optimization
2008-06-20 20:57:40 +00:00
Igor Sysoev
d47c831491
auto detect https redirect in rewrite
2008-06-20 14:48:28 +00:00
Igor Sysoev
98054926fb
fix "proxy_pass https://..." broken in r1427
2008-06-20 14:42:54 +00:00
Igor Sysoev
4f717f2ce9
"gzip_vary on" always sends "Vary: Accept-Encoding" header
2008-06-20 14:41:03 +00:00
Igor Sysoev
f87fb20c0b
disable charset if there is "Content-Encoding" header
2008-06-20 14:33:36 +00:00
Igor Sysoev
0ebc285aa0
*) 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
90b7e712ce
bump version
2008-06-16 09:11:12 +00:00
Igor Sysoev
6bf65f677d
$ssl_client_cert
2008-06-16 05:54:18 +00:00
Igor Sysoev
d512987c1e
DH parameters, ssl_dhparam
2008-06-16 05:51:32 +00:00
Igor Sysoev
1c3b27b4bd
after URI was rewritten location configuration should be to a server's null one
2008-06-15 19:07:35 +00:00
Igor Sysoev
fe8aa0c4d4
fix building without PCRE introduced in r2023
2008-06-07 12:08:38 +00:00
Igor Sysoev
e2bb451169
style fix
2008-05-28 12:27:08 +00:00
Igor Sysoev
29aacafb55
fix building by bcc/etc introduced in r2038
2008-05-28 12:26:20 +00:00
Igor Sysoev
413dfbbd79
*) 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
b3699723c6
add args in redirect to a directory
2008-05-26 18:57:43 +00:00
Igor Sysoev
25a4442187
fix debug logging
2008-05-26 18:49:36 +00:00
Igor Sysoev
1430110631
fix error log message
2008-05-26 10:54:59 +00:00
Igor Sysoev
ad12f1268f
bump version
2008-05-26 09:54:17 +00:00
Igor Sysoev
f4e540c64d
ssl_session_cache none
2008-05-26 07:14:13 +00:00
Igor Sysoev
889d7a8301
read channel until EAGAIN
2008-05-25 18:27:38 +00:00
Igor Sysoev
875f90f6d2
remove directives deprecated in 0.3.x
2008-05-24 15:48:50 +00:00
Igor Sysoev
88335cbce8
*) 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
0ffe02a0e4
move configuration phase only field to the end of structure
2008-05-24 14:46:46 +00:00
Igor Sysoev
a2eddf1bfe
locations tree
2008-05-24 14:14:13 +00:00
Igor Sysoev
7aff7dd9c0
new ngx_queue functions
2008-05-24 14:10:01 +00:00
Igor Sysoev
585631d84d
delete useless lines
2008-05-22 14:28:25 +00:00
Igor Sysoev
54fbbd0412
style fix
2008-05-22 12:09:41 +00:00
Igor Sysoev
bcd1dd7156
axe never used variables
2008-05-22 11:11:16 +00:00
Igor Sysoev
ce2ad1b855
split ngx_http_block() further
2008-05-22 11:07:08 +00:00
Igor Sysoev
705817b3f3
split ngx_http_block()
2008-05-22 09:57:47 +00:00
Igor Sysoev
0e1ec16ca3
delete outdated debug logging that only causes segfault if enabled
2008-05-22 07:10:36 +00:00
Igor Sysoev
6ac85cc51e
style fix
2008-05-21 17:39:51 +00:00
Igor Sysoev
cb47d6e8d8
fix building on modern Fedora 9 caused by IOV_MAX
2008-05-20 13:45:07 +00:00
Igor Sysoev
731adf0c13
bump version
2008-05-19 10:45:57 +00:00
Igor Sysoev
ad22d2b60a
avoid recursive loop
2008-05-19 10:24:22 +00:00
Igor Sysoev
772a5e4739
expires modified
2008-05-16 15:18:50 +00:00
Igor Sysoev
9c47cb4a4c
$uid_got and $uid_set may used at any time
2008-05-16 15:03:37 +00:00
Igor Sysoev
4b020d55bd
$hostname variable
2008-05-16 14:39:06 +00:00
Igor Sysoev
64d5c02d1f
escape 0x00-0x1f, ", and \ in access log variables
2008-05-15 15:09:39 +00:00
Igor Sysoev
ced97d1791
*) host in request line has priority
...
*) allow several Host headers
*) validate host
2008-05-15 14:44:47 +00:00
Igor Sysoev
bae2ece30b
style fix: remove tabs and trailing spaces
2008-05-14 07:54:52 +00:00
Igor Sysoev
2ef98d17f7
small fixes
2008-05-13 09:47:52 +00:00
Igor Sysoev
2d2fe700b9
test user agent in header callback
2008-05-13 09:18:58 +00:00
Igor Sysoev
e8c98494f4
bump version
2008-05-12 10:08:28 +00:00
Igor Sysoev
222792eaf1
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
f993862bf2
fix segfault when file is deleted and open_file_cache_errors is off
2008-04-29 18:15:23 +00:00
Igor Sysoev
595653cfeb
back out the previous commit
2008-04-29 18:14:45 +00:00
Igor Sysoev
21b408ec96
fix segfault when file is deleted and open_file_cache_errors is off
2008-04-29 14:39:15 +00:00
Igor Sysoev
9cfe2aecd4
bump version
2008-04-29 12:44:47 +00:00
Igor Sysoev
1c6f157993
args support in static error_page
2008-04-29 10:06:43 +00:00
Igor Sysoev
7356cf9295
reset message
2008-04-29 09:35:06 +00:00
Igor Sysoev
b630cae48d
ignore glob no match error
2008-04-29 09:28:42 +00:00
Igor Sysoev
74af3ea26c
reset looked at match
2008-04-29 06:15:56 +00:00
Igor Sysoev
297030bd24
get certificate info only for debug build
2008-04-28 08:52:32 +00:00
Igor Sysoev
4fbcbbbdef
fix memory leak when ssl_verify_client is on
2008-04-28 08:50:39 +00:00
Igor Sysoev
a4499b0924
Cygwin O_BINARY mode
2008-04-24 19:19:26 +00:00
Igor Sysoev
c2fdce089d
fix memory leak when ssl_verify_client is on
2008-04-23 18:57:25 +00:00
Igor Sysoev
991e0b912c
small fix
2008-04-17 14:32:11 +00:00
Igor Sysoev
294cf16679
allow time without spaces in ngx_parse_time()
2008-04-17 14:23:20 +00:00
Igor Sysoev
11d2c0fedc
change variable name
2008-04-16 19:33:23 +00:00
Igor Sysoev
ba0cc5e2cb
use more straightforward ngx_gmtime() implementation
2008-04-13 13:33:12 +00:00
Igor Sysoev
f68e094d7a
limit CNAME recursion
2008-04-12 07:29:20 +00:00
Igor Sysoev
aba43cdba9
fix segfault
2008-04-11 09:15:07 +00:00
Igor Sysoev
83d444c5d0
use correct ngx_sprintf() formats
2008-04-10 17:27:07 +00:00
Igor Sysoev
7005534ff5
log unexpected qtype
2008-04-10 17:26:14 +00:00
Igor Sysoev
21377c009d
take into account DNAME
2008-04-10 17:12:21 +00:00
Igor Sysoev
8ff3b99868
comment Gauss' formula
2008-04-10 09:37:12 +00:00
Igor Sysoev
1018aae845
grammar fix
2008-04-09 19:09:13 +00:00
Igor Sysoev
7d55d9dc2f
small optimization
2008-04-09 18:56:36 +00:00
Igor Sysoev
82795fd08c
return NXDOMAIN for ".." in host name
2008-04-09 14:45:39 +00:00
Igor Sysoev
ee7770ec51
fix memory leak on resolver query send failure
2008-04-09 14:26:08 +00:00
Igor Sysoev
0640828e87
quick resolving handles u->resolved->ctx by itself
2008-04-09 14:20:17 +00:00
Igor Sysoev
582c0d74d3
fix peer sendfile capability
2008-04-04 12:07:13 +00:00
Igor Sysoev
a38d9e3439
update previous commit
2008-03-24 17:17:17 +00:00
Igor Sysoev
24da7352fd
use ngx_int_t in ngx_sort() callback
2008-03-24 13:04:02 +00:00
Igor Sysoev
e3fb99f87a
use dynamically allocated buffer in ngx_sort()
2008-03-23 19:58:54 +00:00
Igor Sysoev
cc596f7559
it seems that malloc.h is required for Cygwin only
...
and breaks building on other platforms
2008-03-23 15:42:40 +00:00
Igor Sysoev
b97e607c33
axe never used macro
2008-03-20 07:31:51 +00:00
Igor Sysoev
1392f827fe
bump version
2008-03-18 14:51:09 +00:00
Igor Sysoev
e308649c82
ngx_google_perftools_module
2008-03-18 10:36:27 +00:00
Igor Sysoev
56d658736f
low some SSL handshake errors level
2008-03-18 10:35:00 +00:00
Igor Sysoev
625e47eff4
use ngx_ext_rename_file() in proxy/fastcgi_store
2008-03-17 13:07:35 +00:00
Igor Sysoev
3cfddc90e1
some perl builds require my_perl for PERL_SYS_TERM()
2008-03-17 08:58:07 +00:00
Igor Sysoev
2b1f24f6b0
fastcgi params debug logging
2008-03-16 18:03:10 +00:00
Igor Sysoev
e0283b6ece
speed up ngx_http_charset_recode() for 25%: google-perftools reported
...
that CPU usage of charset body filter has decreased from 7.5% to 5.5%
if gzipping is disabled
2008-03-16 16:52:15 +00:00
Igor Sysoev
48de2e9629
test the more likely case first
2008-03-16 16:47:16 +00:00
Igor Sysoev
83bbdf3309
use the more correct mask
2008-03-16 13:29:49 +00:00
Igor Sysoev
977d4a7972
style fix
2008-03-14 12:31:20 +00:00
Igor Sysoev
618948dc4a
fix building on 64-bit platforms broken in r1900
2008-03-13 15:48:36 +00:00
Igor Sysoev
bfb027f1a5
restore building --test-build-rtsig and --test-build-eventport on FreeBSD 6
2008-03-13 15:47:14 +00:00
Igor Sysoev
b051b72e61
fix the previous commit
2008-03-13 13:00:40 +00:00
Igor Sysoev
540cb9b3aa
fix case when errors are not cached,
...
and a file was not used often enough to keep open
and it has been removed before it was kept open
2008-03-13 12:59:25 +00:00
Igor Sysoev
229294d395
axe useless code
2008-03-13 12:34:59 +00:00
Igor Sysoev
1606b65d8e
bump version
2008-03-13 06:39:00 +00:00
Igor Sysoev
1a00c2a554
fix r1921
2008-03-12 19:34:36 +00:00
Igor Sysoev
51aff08456
bump version
2008-03-12 13:37:29 +00:00
Igor Sysoev
830a7fd652
non cacheable $proxy_host and $proxy_port
2008-03-11 14:10:11 +00:00
Igor Sysoev
6bdb1e9451
invalidate SSL session if there is no valid client certificate
2008-03-10 14:47:07 +00:00
Igor Sysoev
4d74d56fbf
fix large memory allocation in "error_page 495-497 /uri"
2008-03-10 14:45:41 +00:00
Igor Sysoev
9ea445750d
do not change method while error redirection to named location
2008-03-10 14:36:42 +00:00
Igor Sysoev
d0fb6c4044
disable rtsig automatic building in post 2.6.18 Linux kernels
2008-03-10 14:35:21 +00:00
Igor Sysoev
bda142ac94
create dummy resolver in http context to inherit it in all servers
2008-03-06 08:48:55 +00:00
Igor Sysoev
923ff42e46
check duplicate resolver
2008-03-06 08:48:25 +00:00
Igor Sysoev
7c11652b25
decrease log level of connection errors while closing socket
2008-03-05 21:21:26 +00:00
Igor Sysoev
4863093640
ngx_resolve_name() frees ctx on immediate failure
2008-03-05 07:30:44 +00:00
Igor Sysoev
fad16b3a9f
reset r->content_handler in a named location
2008-03-04 14:57:07 +00:00
Igor Sysoev
63131f46a8
fix previous commit
2008-03-04 10:47:34 +00:00
Igor Sysoev
f0590d13b0
use cf->cycle->new_log because at merge stage cf->pool->log is old log
2008-03-04 10:42:05 +00:00
Igor Sysoev
9db321bc4e
fix r1903
2008-03-03 20:04:06 +00:00
Igor Sysoev
acc951b0d9
included file name must be allocated in pool,
...
because it may be used in error message later
2008-03-03 17:12:05 +00:00
Igor Sysoev
b2bf997644
fix r1490
2008-03-03 16:44:56 +00:00
Igor Sysoev
5fc9a66ef5
C++ compatibility
2008-03-03 16:32:16 +00:00
Igor Sysoev
64c52d8378
fix memory leak in long-lived non buffered connections
2008-03-03 10:42:00 +00:00
Igor Sysoev
8e773cdc3b
cleanup resolver
2008-02-28 20:38:34 +00:00
Igor Sysoev
5372b96aba
left open sockets were not really tested
2008-02-28 20:31:33 +00:00
Igor Sysoev
20a7e32435
fix memory leaks, use unlocked ngx_resolver_free() for seldom failed cases
2008-02-28 20:09:39 +00:00
Igor Sysoev
ee7d212bdf
static ngx_resolver_calloc()
2008-02-28 15:34:53 +00:00
Igor Sysoev
bdfa98344c
check port in upstream list
2008-02-21 13:58:45 +00:00
Igor Sysoev
5a53d35f7e
use CMSG_LEN(), this fixes an alert "sendmsg() failed (9: Bad file descriptor)"
...
on some 64-bit platforms
2008-02-19 16:34:55 +00:00
Igor Sysoev
112f4b1165
avoid endless loop if epoll is used
2008-02-19 16:30:54 +00:00
Igor Sysoev
bce20ada9f
pass additional arguments in ngx_http_perl_call_handler() as SV
2008-02-16 14:29:44 +00:00
Igor Sysoev
174d85a985
fix previous commit
2008-02-16 14:24:43 +00:00
Igor Sysoev
f064fb9a23
optimize $r->sleep
2008-02-16 14:23:14 +00:00
Igor Sysoev
0301dca171
do not resolve SMTP clients by default
2008-02-16 13:46:33 +00:00
Igor Sysoev
97d4e8106c
delete unneeded dXSTARG
2008-02-15 13:57:55 +00:00
Igor Sysoev
92bff7d88a
named locations in post_action
2008-02-15 12:46:40 +00:00
Igor Sysoev
2d46d11798
fix segfault if empty stub block is used second time
2008-02-14 16:03:48 +00:00
Igor Sysoev
2209d9e17e
resolver in smtp proxy module
2008-02-13 13:50:04 +00:00
Igor Sysoev
af519c8c3b
length calculation did not take into account escaped symbols in arguments
2008-02-12 18:05:32 +00:00
Igor Sysoev
bbdef43461
bump version
2008-02-11 15:27:44 +00:00
Igor Sysoev
58a15e5a7d
set absolute weight, this fixes bogus "no live upstream" case when
...
last upstream is down while live one has negative weight
2008-02-11 14:31:38 +00:00
Igor Sysoev
ffca03813a
add X-Accel-Charset to ingored header, fix X-Accel-Buffering
2008-02-11 14:02:28 +00:00
Igor Sysoev
e881c923af
test response length in proxy/fastcgi_store
2008-02-11 13:14:56 +00:00
Igor Sysoev
3ae8899767
fix order
2008-02-07 10:45:04 +00:00
Igor Sysoev
7033238125
fix order
2008-02-07 10:43:45 +00:00
Igor Sysoev
3e0e2592c3
fix order
2008-02-07 10:38:13 +00:00
Igor Sysoev
ed17a5a76b
fix return code
2008-02-07 08:57:07 +00:00
Igor Sysoev
02a5ce8dca
fix r1879
2008-02-06 17:23:17 +00:00
Igor Sysoev
d360e73c70
do not delete failed DNS request if there are waiting clients
2008-02-06 16:08:52 +00:00
Igor Sysoev
ae671bed79
fix segfault if UDP connect() has failed
2008-02-06 16:01:35 +00:00
Igor Sysoev
5d76c1f897
low SSL handshake close notify alert error level
2008-02-04 20:46:58 +00:00
Igor Sysoev
18a1a9a9a6
low SSL handshake errors level
2008-02-01 14:05:18 +00:00
Igor Sysoev
cc76e9c91f
reset ready flag if no data is available,
...
this fixes endless loop at least in lingering close
2008-01-31 15:36:33 +00:00
Igor Sysoev
09f6e25c89
treat time_t as unsigned time
2008-01-31 15:14:31 +00:00
Igor Sysoev
4e7e486b56
backout r1757, we really need SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
2008-01-31 15:10:45 +00:00
Igor Sysoev
5cffe1052c
detect L2 cache line size for Intel Core
2008-01-29 07:06:18 +00:00
Igor Sysoev
d10ae97e18
fix cache line size for Pentium 4
2008-01-29 06:58:47 +00:00
Igor Sysoev
f092482ae7
fix building --test-build-rtsig and --test-build-eventport on FreeBSD 7
2008-01-28 16:24:01 +00:00
Igor Sysoev
db38365ab7
add NGX_ENETDOWN, NGX_ENETUNREACH, and NGX_EHOSTDOWN
2008-01-25 14:57:35 +00:00
Igor Sysoev
929d881e1d
pull all errors
2008-01-25 14:56:37 +00:00
Igor Sysoev
749922f792
limit string length
2008-01-24 15:18:58 +00:00
Igor Sysoev
7b1670f1c5
use correct type cast
2008-01-24 15:18:17 +00:00
Igor Sysoev
2257b8aea1
fix bogus crit log message "SSL_shutdown() failed" introduced in r1755
2008-01-22 16:04:35 +00:00
Igor Sysoev
ec32b25b84
fix building by msvc introduced in r1817
2008-01-22 15:16:38 +00:00
Igor Sysoev
9b813cffc8
allow zero length in %*s
2008-01-22 15:13:01 +00:00
Igor Sysoev
c2d454a9c4
fix building by bcc introduced by r1831
2008-01-22 15:09:55 +00:00
Igor Sysoev
2ebe2174bc
pull all errors
2008-01-10 08:45:00 +00:00
Igor Sysoev
c366bd9136
grammar fix
2008-01-10 08:36:14 +00:00
Igor Sysoev
6ddfa43a74
fix building by gcc42, etc. introduced in r1858
2008-01-09 15:27:27 +00:00
Igor Sysoev
e15b10b8e9
add code missed in r1856
2008-01-09 08:21:57 +00:00
Igor Sysoev
aea406bbad
update GET method text in an subrequest
2008-01-08 21:06:38 +00:00