Commit graph

892 commits

Author SHA1 Message Date
Igor Sysoev
a472d89407 fix r1552 and r1464: test max fails in correct peer 2007-10-02 12:34:16 +00:00
Igor Sysoev
6bf1224438 fix empty string replacement in sub_filter 2007-10-01 16:24:15 +00:00
Igor Sysoev
183b4db9f3 two commits those go together by mistake
*) fix gzip broken in r1544
*) fix memcached END test
2007-10-01 16:00:13 +00:00
Igor Sysoev
5e1a14b2b1 use ngx_strnstr() 2007-10-01 14:48:45 +00:00
Igor Sysoev
97ffb89fd5 fix r1464: test max fails in correct peer 2007-10-01 14:45:31 +00:00
Igor Sysoev
24bcae3edb pass length clearly 2007-10-01 12:57:47 +00:00
Igor Sysoev
1f187b3892 style fix 2007-09-29 11:45:46 +00:00
Igor Sysoev
cb16d14fca add time and length to a HEAD request 2007-09-28 09:48:25 +00:00
Igor Sysoev
6e95d33eb0 omit trailing zero in directory name 2007-09-27 09:39:29 +00:00
Igor Sysoev
e90ee470d4 SSI echo encoding 2007-09-27 09:37:09 +00:00
Igor Sysoev
21b063f499 use ngx_strstrn() and ngx_strcasestrn() 2007-09-26 19:26:14 +00:00
Igor Sysoev
0d2160c48d bump version 2007-09-24 04:18:22 +00:00
Igor Sysoev
93378db666 fix file leak for HEAD requests 2007-09-22 17:56:05 +00:00
Igor Sysoev
be3081d599 bump version 2007-09-21 14:41:05 +00:00
Igor Sysoev
6a5cc2396e u_char* is enough to keep file name 2007-09-15 17:11:06 +00:00
Igor Sysoev
a1e85aa6b6 the "proxy_hide_header" and "fastcgi_hide_header" directives did not
hide response header lines whose name was longer than 32 characters
2007-09-15 16:54:58 +00:00
Igor Sysoev
f0e951e23e bump version 2007-09-11 13:21:30 +00:00
Igor Sysoev
ebe6ec98b3 response to the HEAD request should be a header only 2007-09-11 06:34:18 +00:00
Igor Sysoev
384ae47203 connection error should be logged with "connecting to upstream" action,
the bug was introduced in r1154
2007-09-09 18:43:16 +00:00
Igor Sysoev
8df6cc83b5 read EOF of header only responses in non-buffered proxying 2007-09-09 18:32:53 +00:00
Igor Sysoev
67ff3bcccd there may be several "Connection" header lines and each may have several tokens 2007-09-09 18:28:49 +00:00
Igor Sysoev
d911dbb292 escape internal request URI in proxy_pass 2007-09-09 18:25:03 +00:00
Igor Sysoev
373a10cff1 balance more fair when there are several servers with equal weights,
side effect: now smallest weights go first
2007-09-09 18:23:21 +00:00
Igor Sysoev
c072d218d1 style fix 2007-09-07 09:29:08 +00:00
Igor Sysoev
11cb8111fa fix case when server was marked as down after one failure 2007-09-05 15:30:19 +00:00
Igor Sysoev
9db497a7fd backout r1426: return dynamic weights 2007-09-05 15:28:19 +00:00
Igor Sysoev
0510116c34 bump version 2007-09-03 10:35:02 +00:00
Igor Sysoev
cd77964df6 open_file_cache_events 2007-09-03 08:41:42 +00:00
Igor Sysoev
ea414bb402 fix unlikely socket leak 2007-09-01 16:41:52 +00:00
Igor Sysoev
029cfdac86 fix socket leak introduced in r1374 when request header and body was
in one packet and connection went to keep-alive state
2007-09-01 16:40:19 +00:00
Igor Sysoev
fa7f65761c open_file_cache in HTTP 2007-09-01 12:12:48 +00:00
Igor Sysoev
9f94c4abb8 change ngx_conf_merge_ptr_value() and update fastcgi_catch_stderr 2007-09-01 12:05:55 +00:00
Igor Sysoev
bad2d75e62 allow to append charset to the "Content-Type" header 2007-08-31 18:47:25 +00:00
Igor Sysoev
0ffbc71642 style fix 2007-08-31 12:13:12 +00:00
Igor Sysoev
6f10471450 If-Modified-Since should be unique header line 2007-08-29 15:32:49 +00:00
Igor Sysoev
fe4494bfb4 bump version 2007-08-28 16:44:29 +00:00
Igor Sysoev
2d7e880663 return 400 response 2007-08-27 20:52:40 +00:00
Igor Sysoev
16d586c0c4 cancel dynamic weights,
it seems that may permanently set lower weight or even mark server as down
2007-08-27 16:02:43 +00:00
Igor Sysoev
3244743f4b optimize r->connection in ngx_http_finalize_request() 2007-08-27 15:53:00 +00:00
Igor Sysoev
a5af428550 cancel keep-alive and lingering close on EOF 2007-08-27 15:40:19 +00:00
Igor Sysoev
7545944a3f cancel discarding body on EOF 2007-08-27 15:38:46 +00:00
Igor Sysoev
83a74ef59d add guard code to prevent endless loop 2007-08-24 15:58:13 +00:00
Igor Sysoev
9258af522c update ip_hash to "backup" option 2007-08-24 15:30:35 +00:00
Igor Sysoev
44c50a5b5b set current peer to use it in ngx_http_upstream_free_round_robin_peer() 2007-08-24 15:29:50 +00:00
Igor Sysoev
71f527a847 fix ip_hash on 64-bit platform 2007-08-24 15:28:06 +00:00
Igor Sysoev
04f030eb44 fix build on amd64 2007-08-21 11:05:11 +00:00
Igor Sysoev
3ca15678cc bump version 2007-08-20 13:10:25 +00:00
Igor Sysoev
8ad43bb779 set delay only when almost whole sendfile_max_chunk was transferred 2007-08-20 10:35:41 +00:00
Igor Sysoev
519bb30b6c use %v for ngx_variable_value_t in ngx_sprintf(),
this fixes nginx on FreeBSD/sparc64
2007-08-20 09:57:19 +00:00
Igor Sysoev
2fb58ed49e auto redirect lost arguments 2007-08-15 15:57:26 +00:00
Igor Sysoev
22b8d513ea bump version 2007-08-15 12:58:35 +00:00
Igor Sysoev
f733811589 upstream sendfile bit was overridden by r->connection->sendfile 2007-08-14 20:44:09 +00:00
Igor Sysoev
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
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
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
8aa60b3191 exit cycle early,
found by Coverity's Scan
2007-07-19 19:12:36 +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
fb427d3bad msie_refresh should escape at least '"' to prevent XSS 2007-07-13 09:37:01 +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
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