Igor Sysoev
e743193c2d
fix long loop
2007-08-14 13:35:52 +00:00
Igor Sysoev
98f422bd09
regex in valid_referers
2007-08-12 20:06:43 +00:00
Igor Sysoev
8a7b4af8b5
regex in server_name
2007-08-12 19:48:12 +00:00
Igor Sysoev
8b6afa26fa
fix building by bcc without PCRE
2007-08-12 15:25:09 +00:00
Igor Sysoev
92971a4746
style fix
2007-08-12 09:00:56 +00:00
Igor Sysoev
1f36f2b49e
ignore meaningless bits in CIDR and warn about them
2007-08-10 13:13:28 +00:00
Igor Sysoev
f9827bbc56
sort upstream weights
2007-08-09 15:28:17 +00:00
Igor Sysoev
73d67a9729
backup upstream servers
2007-08-09 13:54:33 +00:00
Igor Sysoev
c5245bab92
set default listen() backlog to 511 on all platforms except FreeBSD
2007-08-09 13:32:21 +00:00
Igor Sysoev
14301cb098
"down" server caused endless loop
2007-08-07 12:34:20 +00:00
Igor Sysoev
35cac46a0b
omit unnecessary conditions
2007-08-07 10:56:09 +00:00
Igor Sysoev
642079e468
discard request body before going to keep-alive state and use lingering timeouts
2007-08-07 10:53:27 +00:00
Igor Sysoev
fc0ee2428d
omit unnecessary XSRETURN_EMPTY
2007-08-06 15:40:26 +00:00
Igor Sysoev
cff9ac37b3
$r->discard_request_body
2007-08-06 15:38:08 +00:00
Igor Sysoev
695ba73268
rename ngx_http_discard_body() to ngx_http_discard_request_body()
2007-08-06 15:37:22 +00:00
Igor Sysoev
b0e8daec9e
block reading for level events
2007-08-06 15:31:00 +00:00
Igor Sysoev
49b05f246f
rename ngx_http_block_read() and ngx_http_test_read() to ..._reading()
2007-08-06 15:22:40 +00:00
Igor Sysoev
2cdf0a727c
discard request body in cycle
2007-08-06 15:18:24 +00:00
Igor Sysoev
2e136a5d5b
move "Expires" header code to a separate function
2007-08-01 19:32:58 +00:00
Igor Sysoev
83b5a672b6
move "Cache-Control" header code to specific handler
2007-08-01 15:24:06 +00:00
Igor Sysoev
e2e211d381
style fix
2007-08-01 14:22:12 +00:00
Igor Sysoev
77ef1f5452
use header specific handler in add_handler,
...
"Last-Modified" header handler
2007-08-01 14:01:30 +00:00
Igor Sysoev
feedad72be
bump version
2007-07-30 09:23:26 +00:00
Igor Sysoev
5385801f35
make 64-bit ngx_int_t on 64-bit platforms
2007-07-29 18:24:53 +00:00
Igor Sysoev
c4d0f5b0ae
named location
2007-07-29 18:11:39 +00:00
Igor Sysoev
37f3097fbe
--sysconfdir=DIR
2007-07-29 18:05:45 +00:00
Igor Sysoev
a23e82a839
$is_args
2007-07-29 17:56:56 +00:00
Igor Sysoev
b8af806a0b
allow to set $args
2007-07-29 17:55:37 +00:00
Igor Sysoev
a6d25b840f
fair upstream weight balancer
2007-07-28 16:04:01 +00:00
Igor Sysoev
df16faee5a
fix case when client has closed connection but upstream buffer is not empty
2007-07-24 18:08:04 +00:00
Igor Sysoev
c89fce22ce
fix case when two directives
...
proxy_pass http://backend ;
proxy_pass https://backend ;
both use one port - 80 or 443, that was defined first.
2007-07-23 12:35:21 +00:00
Igor Sysoev
87f9fc6094
style fix
2007-07-23 12:32:34 +00:00
Igor Sysoev
c534c63601
bump version
2007-07-23 08:12:24 +00:00
Igor Sysoev
f048c9a001
escape space, etc in $memcached_key
2007-07-22 19:18:59 +00:00
Igor Sysoev
7f54b9eb77
omit unnecessary code
2007-07-22 19:11:52 +00:00
Igor Sysoev
00aa2a9631
$nginx_version
2007-07-22 13:12:16 +00:00
Igor Sysoev
5d06f9b142
IMAP AUTHENTICATE
...
patch by Maxim Dounin
2007-07-20 19:38:08 +00:00
Igor Sysoev
8241fb2998
SMTP STARTTLS
...
patch by Maxim Dounin
2007-07-20 18:36:04 +00:00
Igor Sysoev
8aa60b3191
exit cycle early,
...
found by Coverity's Scan
2007-07-19 19:12:36 +00:00
Igor Sysoev
26022f76a6
fix potential double free(),
...
found by Coverity's Scan
2007-07-19 19:11:57 +00:00
Igor Sysoev
100d0f42ad
fix potential segfault,
...
found by Coverity's Scan
2007-07-19 19:08:22 +00:00
Igor Sysoev
260cba9111
fix memory leak,
...
found by Coverity's Scan
2007-07-19 19:07:13 +00:00
Igor Sysoev
b56f4e953c
bump version
2007-07-17 10:15:07 +00:00
Igor Sysoev
ac2375f0f9
Sun Studio on sparc uses different bit order
2007-07-17 09:23:23 +00:00
Igor Sysoev
00beec63d5
Sun Studio 12 compatibility
2007-07-16 08:54:04 +00:00
Igor Sysoev
a2f7a8ba87
--with-cpu-opt=sparc32 and --with-cpu-opt=sparc64
2007-07-15 20:09:14 +00:00
Igor Sysoev
fb427d3bad
msie_refresh should escape at least '"' to prevent XSS
2007-07-13 09:37:01 +00:00
Igor Sysoev
78300bff51
"?" should not be escaped
2007-07-13 09:35:51 +00:00
Igor Sysoev
9d22064182
dav_access uses ngx_conf_set_access_slot()
2007-07-13 08:32:12 +00:00
Igor Sysoev
93a49ec586
proxy_store and fastcgi_store were changed,
...
proxy_store_access and fastcgi_store_access were added
2007-07-13 08:30:34 +00:00
Igor Sysoev
bf08751a0f
bump version
2007-07-12 11:35:57 +00:00
Igor Sysoev
3ff8cde26d
proxy_store and fastcgi_store
2007-07-12 11:19:05 +00:00
Igor Sysoev
aceadba26b
style fix
2007-07-11 20:12:26 +00:00
Igor Sysoev
02279c26bf
style fix
2007-07-11 13:06:54 +00:00
Igor Sysoev
bfab8ca187
reset errno
2007-07-11 10:46:21 +00:00
Igor Sysoev
3c46293a23
fix segfault when event port returns POLLERR without POLLIN or POLLOUT
2007-07-11 10:45:55 +00:00
Igor Sysoev
d2165b3f83
fix segfault when CRAM-MD5 is not enabled but client tries it
2007-07-11 07:47:57 +00:00
Igor Sysoev
04216efe18
fix memory allocation for auth_http_header
2007-07-10 21:26:51 +00:00
Igor Sysoev
cd23e55fe1
fix segfault when session was freed twice
2007-07-10 21:04:37 +00:00
Igor Sysoev
8833495f15
proxy_ignore_client_abort, fastcgi_ignore_client_abort, and so on were
...
broken by r1111
2007-07-10 20:53:45 +00:00
Igor Sysoev
bbb3401960
bump version
2007-07-09 07:09:38 +00:00
Igor Sysoev
b54acaa1de
fix headers split in FastCGI records
2007-07-09 06:30:53 +00:00
Igor Sysoev
07be9c08f3
omit unnecessary conditions
2007-07-08 09:38:37 +00:00
Igor Sysoev
2497b14b22
when the FastCGI header was split in records,
...
nginx passed garbage in the header to a client
2007-07-08 09:16:36 +00:00
Igor Sysoev
5db84b1a9f
add comment
2007-07-06 11:28:20 +00:00
Igor Sysoev
3fb0cd4a5e
bump version
2007-06-17 19:27:34 +00:00
Igor Sysoev
5bccc49372
if a subrequest was finished and SSI was in middle of SSI command parsing
...
and the command was a fast subrequest then the second subrequest output
was just after first subrequest output and response part of main request
between the subrequests went after the second subrequest.
2007-06-17 18:10:43 +00:00
Igor Sysoev
61e4e2c457
if "<!--" was on edge of buf, then ssi_sharp_state was saved in ctx->saved
...
and if it was not reset, then any '#' was treated as SSI command start
2007-06-17 17:54:48 +00:00
Igor Sysoev
20a1bd00af
if subrequest response was buffered in file, then subrequest was finalized
...
with 0 code, ngx_http_writer() was not set, and response part in file was lost
2007-06-17 09:29:15 +00:00
Igor Sysoev
36477e0c0e
fix building on threaded or multiplicity interpreter perl,
...
the bug was introduced by previous commit
2007-06-16 09:22:37 +00:00
Igor Sysoev
65327a2637
set worker's perl $$
2007-06-15 12:20:23 +00:00
Igor Sysoev
ceaab041e0
bump version
2007-06-14 05:48:47 +00:00
Igor Sysoev
5fb6ed90af
the "www.example.*" wildcard hash support
2007-06-11 19:49:22 +00:00
Igor Sysoev
86364a7ca5
bump version
2007-06-11 19:32:29 +00:00
Igor Sysoev
5b2574b83d
bump version
2007-06-08 05:43:05 +00:00
Igor Sysoev
2fe63dee3c
fix building --without-http_rewrite_module, the bug was introduced in r1236
2007-06-08 05:40:59 +00:00
Igor Sysoev
6882372c9b
style fix
2007-06-07 14:33:02 +00:00
Igor Sysoev
02c95ba8a4
style fix
2007-06-07 12:20:34 +00:00
Igor Sysoev
f977e1103e
namespace may be set via $memcached_key
2007-06-07 12:15:27 +00:00
Igor Sysoev
ac45ac66c9
strstr() -> strchr()
2007-06-06 12:24:10 +00:00
Igor Sysoev
16df8021ab
eliminate old unused typedef
2007-06-06 08:11:33 +00:00
Igor Sysoev
a8dc68ba1b
fix bug introduced in r1228
2007-06-06 05:56:51 +00:00
Igor Sysoev
8e485d04d9
change wording
2007-06-05 11:55:39 +00:00
Igor Sysoev
8eeb341edc
use pointer to an array instead of array for inclusive locations inside location
2007-06-05 11:42:59 +00:00
Igor Sysoev
aa0bbf84c3
optimize regex location search
2007-06-05 06:44:08 +00:00
Igor Sysoev
17ba2a36bd
forbid alias inside location given by regular expression
2007-06-04 20:45:45 +00:00
Igor Sysoev
6166591548
fix ssl_verify_client for HTTP/0.9
2007-06-04 20:40:03 +00:00
Igor Sysoev
717afa010e
style fix
2007-06-04 20:00:06 +00:00
Igor Sysoev
ececb5c67e
bump version
2007-06-04 16:14:33 +00:00
Igor Sysoev
56c647f239
fastcgi_catch_stderr
2007-06-04 13:52:47 +00:00
Igor Sysoev
ac669b88f7
inherit flush flag, this fixes https proxying
2007-06-03 19:58:30 +00:00
Igor Sysoev
16116a1e57
add debug logging
2007-06-03 19:56:27 +00:00
Igor Sysoev
68e482d875
add comment
2007-05-30 13:24:50 +00:00
Igor Sysoev
a9f6f42376
do listen() just after bind() to exit early
2007-05-30 13:23:48 +00:00
Igor Sysoev
d3484d108c
style fix
2007-05-30 12:28:37 +00:00
Igor Sysoev
c600b9009e
change wording
2007-05-29 19:43:18 +00:00
Igor Sysoev
5e4fa400d6
PERL_SYS_TERM() should be called once on exit only, this fixes the message
...
panic: MUTEX_LOCK (22) [op.c:352].
BEGIN failed--compilation aborted.
... [alert] ... perl_parse() failed: 9
Scalars leaked: 2
on threaded perl during second reconfiguration.
PERL_SYS_INIT() should be called once too.
2007-05-29 18:48:42 +00:00
Igor Sysoev
8a024b7e8e
fix segfault
2007-05-29 16:33:34 +00:00
Igor Sysoev
193c456a45
SNI support
2007-05-29 15:21:09 +00:00
Igor Sysoev
abeea7a54e
bump version
2007-05-29 12:15:04 +00:00
Igor Sysoev
c23a155b3d
an request body might not be passed to backend,
...
the bug was introduced in r1212
2007-05-29 12:06:42 +00:00
Igor Sysoev
156d855be9
bump version
2007-05-28 19:03:06 +00:00
Igor Sysoev
d8903d3073
fix "proxy_pass https://"
2007-05-28 11:09:18 +00:00
Igor Sysoev
27c0ba7b1d
style fix
2007-05-23 18:28:54 +00:00
Igor Sysoev
b8ab862e2c
use stable search where it is required
2007-05-21 14:09:12 +00:00
Igor Sysoev
c118274426
ngx_sort
2007-05-21 14:05:23 +00:00
Igor Sysoev
ccd05f129f
use memory optimization for i386 and amd64 only:
...
this fixes SIGBUS in PCRE on sparc64
2007-05-21 13:49:35 +00:00
Igor Sysoev
41ecc76aa9
fix worker endless loop on 64-bit platform if 33+ backend has fall
2007-05-21 13:48:14 +00:00
Igor Sysoev
8acd9d77f1
style fix
2007-05-19 17:39:44 +00:00
Igor Sysoev
c89fb69905
style fix
2007-05-17 18:07:28 +00:00
Igor Sysoev
3bc7f6ab9a
bump version
2007-05-07 14:39:11 +00:00
Igor Sysoev
0dcbd9f7db
limit minimal pool size
2007-05-07 09:20:42 +00:00
Igor Sysoev
a45a5c06cd
style fix
2007-05-07 08:49:15 +00:00
Igor Sysoev
e176c216e2
add debug log
2007-05-07 07:04:00 +00:00
Igor Sysoev
9b5f3f6f82
sendfile_max_chunk
2007-05-07 06:33:39 +00:00
Igor Sysoev
b85f823e94
optimize HTTP method parsing for i386 and amd64
2007-05-07 06:27:14 +00:00
Igor Sysoev
c95f9970c5
fix multipart ranges trailing
2007-05-06 18:15:32 +00:00
Igor Sysoev
b1804e2fbe
style fix: change variable name
2007-05-05 06:07:11 +00:00
Igor Sysoev
d4d5c5f1cd
fix building by owc12
2007-05-05 05:50:41 +00:00
Igor Sysoev
44dc37f3d6
fix building by msvc
2007-05-05 05:40:29 +00:00
Igor Sysoev
e19db67cec
fix segfault introduced in r1190
2007-05-02 09:02:23 +00:00
Igor Sysoev
5f687b0919
fix segfault or parsing error in '<!--# if expr="$var = /" -->'
2007-05-02 08:07:37 +00:00
Igor Sysoev
5b0d9889ea
allow to "set" $http_, $sent_http_, and $upstream_http_ variables
2007-05-01 19:58:45 +00:00
Igor Sysoev
c7ae03e5c7
fix atomic operations on sparc64 built by SunPro C
2007-04-27 14:36:28 +00:00
Igor Sysoev
dd5f133823
bump version
2007-04-24 06:26:56 +00:00
Igor Sysoev
92d32ca112
fix sendfile on 64-bit Linux and limit_rate on all 64-bit platforms
...
for 2G+ files
2007-04-23 21:32:13 +00:00
Igor Sysoev
ca73cff8ec
$upstream_addr
2007-04-23 16:56:17 +00:00
Igor Sysoev
4a28150e30
proxy_headers_hash_max_size and proxy_headers_hash_bucket_size
2007-04-22 20:21:59 +00:00
Igor Sysoev
f8c3b631c8
$request_time has millisecond precision
2007-04-21 07:50:19 +00:00
Igor Sysoev
934f2ee754
rename $r->rflush to $r->flush
2007-04-21 07:43:23 +00:00
Igor Sysoev
eadee2e9c9
bump version
2007-04-19 18:23:54 +00:00
Igor Sysoev
096322eb6d
style fix: remove trailing spaces
2007-04-19 18:07:39 +00:00
Igor Sysoev
f445565814
$upstream_http_... should be uncacheable
2007-04-19 17:55:19 +00:00
Igor Sysoev
881e9dd98f
ngx_http_sub_filter_module
2007-04-19 17:54:23 +00:00
Igor Sysoev
2145354253
style fix: rename functions
2007-04-19 06:27:10 +00:00
Igor Sysoev
910319a35c
store the upstream states before X-Accel-Redirect to a next upstream
2007-04-18 20:23:19 +00:00
Igor Sysoev
c4d5388883
style fix
2007-04-18 19:43:22 +00:00
Igor Sysoev
ed040674b8
style fix: remove tabs
2007-04-18 15:21:28 +00:00
Igor Sysoev
ed3c703f4a
fix segfault when
...
*) perl was built without multiplicity
*) when configuration was invalid
2007-04-18 11:28:11 +00:00
Igor Sysoev
c6679106ba
set nginx_stash after reconfiguration in single interpreter perl
2007-04-18 09:23:35 +00:00
Igor Sysoev
fbddb1ea4f
$upstream_http_... variables
2007-04-10 07:08:06 +00:00
Igor Sysoev
d47cfd8e9c
use 60 seconds interval but not 61 seconds
2007-04-03 21:54:13 +00:00
Igor Sysoev
d1bc9462ed
bump version
2007-04-02 10:50:18 +00:00
Igor Sysoev
2576ebc920
*) introduce ngx_strchr()
...
*) test server_name for '/': it's common configuration error when
trailing ';' is omitted and a next directive is treated as server_name
2007-04-02 06:27:30 +00:00
Igor Sysoev
bb4487efe7
style fix
2007-04-02 05:43:21 +00:00
Igor Sysoev
15ce70a750
disable $document_root variable in the "root/alias" directive
2007-04-01 09:03:14 +00:00
Igor Sysoev
57f768d843
ngx_ssl_recv_chain() must not update buf->last,
...
it fixes proxy_pass https://...
2007-03-31 19:48:48 +00:00
Igor Sysoev
a4f399dfc6
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
e3c652fb1d
flush nocachable variables before ngx_http_script_run()
2007-03-30 19:00:34 +00:00
Igor Sysoev
8812a3c7ea
disable TRACE method
2007-03-30 18:59:26 +00:00
Igor Sysoev
235e85ea77
style fix
2007-03-29 18:53:34 +00:00
Igor Sysoev
776257022a
the "include" support inside the "types" directive
2007-03-29 10:27:24 +00:00
Igor Sysoev
4418a47c63
style fix
2007-03-28 14:38:33 +00:00
Igor Sysoev
4a51c9b930
bump version
2007-03-26 14:52:52 +00:00
Igor Sysoev
29a42b7388
ip_hash used wrong byte order
2007-03-23 12:52:33 +00:00
Igor Sysoev
7065e2d232
fix segfault if upstream sends trailing ";" in "charset="
2007-03-23 11:33:47 +00:00
Igor Sysoev
10d6dbff29
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
bcc2fc2937
fix building without --with-debug on Solaris
2007-03-21 11:16:14 +00:00
Igor Sysoev
071f2f0227
bump version
2007-03-19 14:58:30 +00:00
Igor Sysoev
8b42ba5553
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
d8385e558b
close keep-alive connections in the shuting down processes
2007-03-19 13:20:15 +00:00
Igor Sysoev
fa14014f00
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
c3f512ca0c
style fix
2007-03-06 20:29:08 +00:00
Igor Sysoev
324729aace
style fix
2007-03-06 20:17:50 +00:00
Igor Sysoev
93b0670668
bump version
2007-03-06 12:59:58 +00:00
Igor Sysoev
d13e82af6f
style fix
2007-03-06 12:18:45 +00:00
Igor Sysoev
4841bfc2a6
avoid endless loop
2007-03-06 11:02:35 +00:00
Igor Sysoev
c1dac7b9d0
decrease log level from alert to debug for POLLERR|POLLHUP|POLLNVAL
2007-03-06 11:01:50 +00:00
Igor Sysoev
bbbbc62189
use the contemporary directives
2007-02-21 11:50:39 +00:00
Igor Sysoev
ddd6c0060f
ngx_log_error() > ngx_conf_log_error()
2007-02-20 15:47:54 +00:00
Igor Sysoev
a4597be5c7
use "goto" instead of indistinct "break"
2007-02-20 14:36:48 +00:00
Igor Sysoev
0b7ab4eb7b
stop on superfluous closing "}"
2007-02-20 14:33:26 +00:00
Igor Sysoev
e9462d4b3b
bump version
2007-02-19 13:42:48 +00:00
Igor Sysoev
5ac1d2b890
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
13397fc16e
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
8950caabd5
COPY and MOVE
...
fix PUT and DELETE to conform to WebDAV specification
2007-02-16 12:16:25 +00:00
Igor Sysoev
ae16d00212
finalize request to allow post_action
2007-02-15 18:53:48 +00:00
Igor Sysoev
5cd0a2990f
fix broken values, debug logging, and style fix
2007-02-15 15:05:26 +00:00
Igor Sysoev
c7d977cfec
optimize $http_x_forwarded_for
2007-02-15 15:04:36 +00:00
Igor Sysoev
51d33405d7
fix format
2007-02-15 14:13:24 +00:00
Igor Sysoev
9425f57a2a
close connection for too long commands
2007-02-15 13:30:19 +00:00
Igor Sysoev
dde9a92782
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
7a9fac906b
add debug logging
2007-02-15 10:00:59 +00:00
Igor Sysoev
99417ab217
return error for too long commands
2007-02-14 20:45:19 +00:00
Igor Sysoev
2e32c0fc0d
ngx_strcasecmp()/ngx_strncasecmp()
2007-02-14 18:51:19 +00:00
Igor Sysoev
88dd7b6673
fix building on platforms with non-supported atomic operations
2007-02-14 13:52:47 +00:00
Igor Sysoev
e50c956ba5
bump version
2007-02-12 15:37:36 +00:00
Igor Sysoev
8b7bc193f4
correct r1100
2007-02-12 14:58:45 +00:00
Igor Sysoev
10af0f092a
fix building with ngx_http_perl_module
2007-02-12 13:19:12 +00:00
Igor Sysoev
cea125af7c
fix building on platforms with non-supported atomic operations
2007-02-11 07:49:12 +00:00
Igor Sysoev
90d1b9be12
fix segfault when a large FastCGI response was written to a temporary file
2007-02-09 14:02:42 +00:00
Igor Sysoev
4b03125f8a
log a right subrequest
2007-02-09 13:49:14 +00:00
Igor Sysoev
efcd010f0b
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
0a75803fe3
bump version
2007-02-05 14:49:52 +00:00
Igor Sysoev
a2f7ee9bdf
fix several ranges
2007-02-04 18:40:47 +00:00
Igor Sysoev
9e15143ce5
style fix
2007-01-31 07:31:50 +00:00
Igor Sysoev
487d5f55ca
allocate less memory on 64-bit platforms
2007-01-29 20:33:51 +00:00
Igor Sysoev
3ed7778548
shorten temporary names on 64-bit platforms
2007-01-29 20:28:00 +00:00
Igor Sysoev
44779711de
use ngx_dir_access() to enable search bits for directory
2007-01-29 12:25:44 +00:00
Igor Sysoev
449fb3af0d
eliminate the useless space symbol
2007-01-29 11:54:36 +00:00