Commit graph

3000 commits

Author SHA1 Message Date
Igor Sysoev
018038fcf1 reuse keepalive connections if there are no free worker connections
patch by Maxim Dounin
2011-04-04 12:26:53 +00:00
Igor Sysoev
f410fb55e9 fix case when a host in fastcgi_pass, scgi_pass, and uwsgi_pass
is given by expression and refers to a defined upstream
2011-04-04 10:43:21 +00:00
Igor Sysoev
5ae8408327 image filter rotate
patch by Adam Bocim
2011-04-04 09:57:32 +00:00
Igor Sysoev
5593d7d6a9 bump version 2011-04-04 09:46:00 +00:00
Igor Sysoev
f3bf2ea833 map tests values in low case only, so caseless regex has no sense 2011-03-21 15:18:59 +00:00
Igor Sysoev
aae8e442e0 $time_iso8601 log variable
patch by Michael Lustfield
2011-03-16 15:46:57 +00:00
Igor Sysoev
216a4a99fb allow regex as "map" parameter 2011-03-16 15:32:31 +00:00
Igor Sysoev
62000c1e54 remove semicolon, because it is already in "nginx: " prefix 2011-02-21 11:47:28 +00:00
Igor Sysoev
e1f2062340 fix warnings 2011-02-21 11:44:26 +00:00
Igor Sysoev
f91ab5b683 bump version 2011-02-21 10:03:28 +00:00
Igor Sysoev
4f10cd2aa0 fix u->one_addr handling in ngx_inet_resolve_host()
patch by Maxim Dounin
2011-02-17 15:01:16 +00:00
Igor Sysoev
314f69a843 use backlog -1 on Linux
thanks to Andrei Nigmatulin
2011-02-17 14:14:50 +00:00
Igor Sysoev
ebe6354e20 always test proxy_redirect with slash, this fixes a case when nginx uses
proxy_pass "http://www", upstream redirects to "http://www.host/uri",
and nginx rewrites it as ".host/uri"
patch by Maxim Dounin
2011-02-17 11:54:35 +00:00
Igor Sysoev
40f5d7aeaf set current atime while setting mtime
patch by Andrei Nigmatulin
2011-02-11 08:02:35 +00:00
Igor Sysoev
50115d0f44 fix "error_page 497 https://" case
patch by Maxim Dounin
the bug has been introduced in r3782
2011-02-01 16:18:55 +00:00
Igor Sysoev
b175af94e8 utf8 parameter of geoip_country and geoip_city
patch by Denis F. Latypoff
2011-01-27 12:51:59 +00:00
Igor Sysoev
19889d0f73 bump version 2011-01-27 12:43:11 +00:00
Igor Sysoev
e8b064d09d server_name $hostname 2011-01-20 15:31:24 +00:00
Igor Sysoev
ea64e25f78 style fix: remove trailing spaces 2011-01-20 15:29:53 +00:00
Igor Sysoev
50cdb44e5b move setting conf->server_name in merge phase 2011-01-20 15:15:50 +00:00
Igor Sysoev
09baa4699f use SwitchToThread() instead of Sleep(0), because the later
may not yield control, if there is no thread with higher priority
2011-01-20 13:06:21 +00:00
Igor Sysoev
d4d034d2d0 fix building on Fedora 14
patch by Kirill A. Korinskiy
2011-01-20 12:33:17 +00:00
Igor Sysoev
c65b2f995b fix large stderr handling without http cache
patch by Maxim Dounin
the bug has been introduced in r3461
2011-01-20 12:23:00 +00:00
Igor Sysoev
28305d2eb7 introduce 494 code "Request Header Too Large" 2011-01-20 10:37:58 +00:00
Igor Sysoev
e8a5844caf use boolean expression instead of "if" 2010-12-15 14:10:33 +00:00
Igor Sysoev
c9f00163dd rename NGX_HTTP_OWN_CODES to NGX_HTTP_NGINX_CODES 2010-12-14 23:04:26 +00:00
Igor Sysoev
98aba275bb bump version 2010-12-14 22:54:04 +00:00
Igor Sysoev
a1b711bf3e allow "env" to work in the single process mode 2010-12-13 10:55:15 +00:00
Igor Sysoev
0f210fb519 always run regex in server_name to get captures for IPv6 addresses,
the same fix for IPv4 addresses has been made in r2584
2010-12-12 21:13:27 +00:00
Igor Sysoev
c498ccbcea test wildcard tail hash existance for IPv6 addresses,
the same fix for IPv4 addresses has been made in r2581
2010-12-12 21:10:59 +00:00
Igor Sysoev
d5af35b46c style fix 2010-12-12 20:11:31 +00:00
Igor Sysoev
ba6a713ae9 remove semicolon, because it is already in "nginx: " prefix 2010-12-11 10:59:26 +00:00
Igor Sysoev
debeecae69 bump version 2010-12-06 14:40:40 +00:00
Igor Sysoev
c94a439f6e remove SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG becuase of CVE-2010-4180 2010-12-06 11:17:03 +00:00
Igor Sysoev
d9f29017b3 "If-Unmodified-Since" support 2010-12-06 11:11:05 +00:00
Igor Sysoev
afd360373a fix building by msvc8 introduced by the previous commit 2010-12-02 14:20:51 +00:00
Igor Sysoev
c14dd25380 fallback to accept() if accept4() is not implemented,
the issue has been introduced in r3787
2010-12-02 10:05:41 +00:00
Igor Sysoev
4c6900ea97 bump version 2010-11-30 13:26:21 +00:00
Igor Sysoev
eec11ec886 fix comment 2010-11-29 19:41:53 +00:00
Igor Sysoev
4995ee42dd revert processing NGX_OK in rewrite phase changed in r3798,
this broke "return 204" and "return code text"
2010-11-29 19:40:54 +00:00
Igor Sysoev
2f68562516 bump version 2010-11-29 19:39:26 +00:00
Igor Sysoev
95a39b48a6 add "nginx: " prefix when logging to the stderr 2010-11-29 15:01:06 +00:00
Igor Sysoev
6212e4fefe move ngx_strerror_init() at the very start 2010-11-29 15:00:02 +00:00
Igor Sysoev
87d6b1ac22 revert processing NGX_OK and NGX_DONE in rewrite phase changed in r3634 2010-11-29 14:01:17 +00:00
Igor Sysoev
af62198836 allocate last zero byte in ngx_crypt() 2010-11-29 09:23:25 +00:00
Igor Sysoev
d64bd4e211 style fix 2010-11-26 13:58:28 +00:00
Igor Sysoev
adcde1d75a fix building by icc8 2010-11-26 13:36:36 +00:00
Igor Sysoev
c43de25a8a keepalive_disable 2010-11-26 12:40:56 +00:00
Igor Sysoev
bfe2d1055b allow variable as "map" value 2010-11-26 12:25:51 +00:00
Igor Sysoev
9cf9e107de use "\" to escape "default", "include", and "hostnames" values instead of "!" 2010-11-25 15:36:24 +00:00
Igor Sysoev
25c24ada4c allow empty value as "map" parameter 2010-11-25 15:24:29 +00:00
Igor Sysoev
e3c472c877 allow expressions in the first "map" parameter 2010-11-25 15:22:43 +00:00
Igor Sysoev
38e68ea0c1 use copied strerror() messages and autoconfigured sys_nerr value 2010-11-25 11:04:03 +00:00
Igor Sysoev
a0b669ace6 Linux accept4() support 2010-11-25 10:15:04 +00:00
Igor Sysoev
c504b4fde5 bump version 2010-11-24 13:41:37 +00:00
Igor Sysoev
8c2cfe6ce5 allow override redirect status in error_page 2010-10-18 10:14:00 +00:00
Igor Sysoev
054ecd9e8e change order of limit_req lookup result processing 2010-10-14 09:20:01 +00:00
Igor Sysoev
655e2a925f an excess was logged as 0.000 if requests were limited without delay:
*) use a real excess value instead of non-updated limit_req rbtree node field,
*) move inactivity queue handling inside ngx_http_limit_req_lookup()
   since the node is not required outside the lookup function;

the bug has been introduced in r3184
2010-10-13 20:58:41 +00:00
Igor Sysoev
acd0513b8d always update an aio_senfile connection flag accodring to a current
location configuration, this clears the flag for requests passed
via a keep-alive connection
2010-10-12 12:18:39 +00:00
Igor Sysoev
acddda123b update event flags after successful io_submit() 2010-10-12 12:11:11 +00:00
Igor Sysoev
438ababa71 file AIO read may be posted inside loop 2010-10-12 12:06:52 +00:00
Igor Sysoev
b2f8d93893 add default listen port at the end of server block parsing instead of
merge phase: otherwise the first server without an listen directive
did not become the default server if there was no explicit default server;
the bug has been introduced in r3218
2010-10-11 18:48:18 +00:00
Igor Sysoev
38f3439bcb fix testing, the bug has been introduced in r3218 2010-10-08 11:42:05 +00:00
Igor Sysoev
661df40ad7 gzip_disable degradation 2010-10-04 15:03:00 +00:00
Igor Sysoev
06957e0754 ngx_http_degraded() 2010-10-04 14:59:41 +00:00
Igor Sysoev
d7221b4161 bump version 2010-10-04 13:50:09 +00:00
Igor Sysoev
c3578e20b9 nginx uses SSL mode for a listen socket with any option set,
the bug has been introduced in r3765
2010-09-28 06:50:52 +00:00
Igor Sysoev
784456acf9 bump version 2010-09-28 06:46:58 +00:00
Igor Sysoev
7e40763f4b allow duplicate listen ssl options 2010-09-27 11:48:12 +00:00
Igor Sysoev
6b147bd969 decrease resolver errors level to error 2010-09-27 11:23:45 +00:00
Igor Sysoev
2e909f2c3f worker_rlimit_core should be off_t 2010-09-15 15:24:21 +00:00
Igor Sysoev
e32ac73eca fix typo 2010-09-13 12:44:43 +00:00
Igor Sysoev
c9edd102b9 discard "secure_link_expires on|off" 2010-09-06 14:19:18 +00:00
Igor Sysoev
19f3290ab9 bump version 2010-09-06 11:07:07 +00:00
Igor Sysoev
d2409610ec new ngx_http_secure_link_module with secure_link, secure_link_md5, and
secure_link_expires
2010-09-02 14:37:16 +00:00
Igor Sysoev
f819e3b7ed fix race condition if during reconfiguration two cache managers try
to delete old inactive entries: one of them removes a entry just locked by
other manager from the queue and the rbtree as long inactive entry,
causes the latter manager to segfault leaving cache mutex locked,
the bug has been introduced in r3727
2010-09-02 14:31:47 +00:00
Igor Sysoev
0084867ae8 gzip_disable msie6 ignored other patterns 2010-09-02 14:02:57 +00:00
Igor Sysoev
198d1ed567 gzip_disable compiled always the first pattern only 2010-09-02 14:01:58 +00:00
Igor Sysoev
e017f64590 gzip_disable msie6 did not inherited if nginx was built without PCRE 2010-09-02 13:54:28 +00:00
Igor Sysoev
b9ff0e4dca add "Global\" prefix for signal events 2010-09-02 13:49:05 +00:00
Igor Sysoev
7c48ce89c5 the -q switch 2010-09-02 13:43:02 +00:00
Igor Sysoev
e23463da18 if a location is specified by regex, then always compile an "alias",
even into one static string script: this elimates testing this
too specific case inside ngx_http_map_uri_to_path()
2010-08-26 12:33:08 +00:00
Igor Sysoev
f20a3d0603 bump version 2010-08-25 12:30:08 +00:00
Igor Sysoev
6a921ab39d image_filter_jpeg_quality supports variables 2010-08-06 15:55:05 +00:00
Igor Sysoev
734b2c0cf1 zero fcn->updating after node allocation 2010-08-04 13:34:23 +00:00
Igor Sysoev
e597feff7d error status codes could be cached for next request only,
the bug has been introduced in r3712
2010-08-04 12:55:27 +00:00
Igor Sysoev
a589d16bf0 we can free GeoIPRecord just after GeoIP_region_name_by_code(),
because it returns a statically allocated string
2010-08-03 18:38:08 +00:00
Igor Sysoev
63eedfba66 fix segfault, the bug has been introduced in r3738 2010-08-03 18:27:56 +00:00
Igor Sysoev
eb3fc51370 bump version 2010-08-03 18:24:18 +00:00
Igor Sysoev
b143dd16b6 $geoip_region_name 2010-08-03 15:01:34 +00:00
Igor Sysoev
3646cca88b $geoip_dma_code and $geoip_area_code 2010-08-03 14:19:49 +00:00
Igor Sysoev
c0a7183186 fix fastcgi_split_path_info, if URI was not fully captured 2010-08-03 13:35:48 +00:00
Igor Sysoev
515376efd2 *) make code consistent to fastcgi, etc
*) remove STUB comment
2010-08-03 12:59:14 +00:00
Igor Sysoev
eb53669ca0 use NULL instead of 0 2010-08-03 12:53:06 +00:00
Igor Sysoev
d809597b13 delete surplus assignment 2010-08-03 09:42:53 +00:00
Igor Sysoev
f94de11f91 inherit proxy_pass, fastcgi_pass, uwsgi_pass, scgi_pass inside
a limit_except block if no handler was defined for the block
2010-08-03 09:24:25 +00:00
Igor Sysoev
7653d2eeff ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()
may be used at merge phase
2010-08-02 15:28:04 +00:00
Igor Sysoev
0bbbba3b7a fix directive type 2010-08-02 12:47:52 +00:00
Igor Sysoev
949db916b2 change logic slightly 2010-08-02 12:34:15 +00:00
Igor Sysoev
ec4192e27c change order 2010-08-02 12:32:33 +00:00
Igor Sysoev
dd3154c088 *) delete cache key node after a cache file removal
*) move fileless cache key node removal in ngx_http_file_cache_delete()
2010-08-02 12:27:58 +00:00
Igor Sysoev
67136f60fd escape ";" in arguments 2010-07-30 13:25:19 +00:00
Igor Sysoev
b57124ccad count cache key node usage for cached error statuses 2010-07-30 12:41:55 +00:00
Igor Sysoev
a57b388f4b do not free unused cache node if cache min_uses > 1,
the bug has been introduced in r3695, r3708, r3711
2010-07-30 10:20:08 +00:00
Igor Sysoev
a85cd6842d return 415 on too big image in image filter 2010-07-29 15:40:03 +00:00
Igor Sysoev
a032e72d9e change default server_name_in_redirect value to off,
since default server_name is empty
2010-07-29 10:01:31 +00:00
Igor Sysoev
49e8b9cadd use an empty name as default server_name instread of hostname 2010-07-29 10:00:04 +00:00
Igor Sysoev
53b9fea5c9 allow server_name "" as the first name 2010-07-29 09:55:54 +00:00
Igor Sysoev
5dc8096d12 decrease SSL handshake error level to info 2010-07-29 09:30:15 +00:00
Igor Sysoev
244db2bb0a bump version 2010-07-29 08:10:22 +00:00
Igor Sysoev
5b762f5847 move debug logging inside ngx_http_file_cache_free() 2010-07-28 15:56:56 +00:00
Igor Sysoev
86fd5fba67 fix $request_time for subrequests 2010-07-28 15:51:50 +00:00
Igor Sysoev
808be9559e several changes in cache cleanup handling:
*) now ngx_http_file_cache_cleanup() uses ngx_http_file_cache_free()
*) ngx_http_file_cache_free() interface has been changed to accept r->cache
   ngx_http_file_cache_cleanup() must use r->cache, but not r, because
   there can be several r->cache's during request processing, r->cache may
   be NULL at request finalising, etc.
*) test if updating request does not complete correctly
2010-07-28 15:49:34 +00:00
Igor Sysoev
74b9ebd872 fix r3708 and r3695: valid_sec is set only for caching error status codes 2010-07-27 19:11:17 +00:00
Igor Sysoev
9b63f57c7c fix r3707: cache node should be freed be a response is not cached 2010-07-27 15:26:33 +00:00
Igor Sysoev
55f4158eb2 fix typo 2010-07-27 13:04:13 +00:00
Igor Sysoev
a5fdf95e28 fix r3695: this commit
*) freed valid keys zone node
*) and did not decrease cache size, so cache manager process ete CPU time,
   if cache checking max_size was enabled
2010-07-27 11:22:59 +00:00
Igor Sysoev
d492527779 an intercepted error code was not cached 2010-07-19 15:31:46 +00:00
Igor Sysoev
53bd67c0ec style fix 2010-07-19 15:29:16 +00:00
Igor Sysoev
c6827a6834 initialize r->cache->file.fd with NGX_INVALID_FILE 2010-07-19 15:28:22 +00:00
Igor Sysoev
cdade23c45 bump version 2010-07-19 15:27:06 +00:00
Igor Sysoev
2581a4ccc1 add warnings for proxy_no_cache and fastcgi_no_cache 2010-07-19 09:55:43 +00:00
Igor Sysoev
0c224f68cb proxy_cache_pass, fastcgi_cache_bypass, uwsgi_cache_bypass, scgi_cache_bypass 2010-07-19 09:36:04 +00:00
Igor Sysoev
02a017cbcb rename ngx_http_file_cache_create() to ngx_http_file_cache_new() 2010-07-16 10:01:49 +00:00
Igor Sysoev
06189be984 ngx_http_file_cache_create() 2010-07-15 14:01:02 +00:00
Igor Sysoev
3f9edd109f ngx_http_file_cache_name() 2010-07-15 13:46:32 +00:00
Igor Sysoev
f1a6cfa6bb style fix 2010-07-15 13:10:05 +00:00
Igor Sysoev
6a857ea7ff delete empty cache zone node if we could not get response to cache 2010-07-15 13:08:51 +00:00
Igor Sysoev
3d8690f9ec fix scgi_no_cache and uwsgi_no_cache initialization 2010-07-14 11:29:19 +00:00
Igor Sysoev
c424307308 use ngx_http_test_predicates(), ngx_http_set_predicate_slot()
delete ngx_http_cache(), ngx_http_no_cache_set_slot()
2010-07-14 11:15:45 +00:00
Igor Sysoev
99c55deb3e ngx_http_test_predicates(), ngx_http_set_predicate_slot() 2010-07-14 11:13:59 +00:00
Igor Sysoev
4d45e2c8cf bump version 2010-07-14 11:09:56 +00:00
Igor Sysoev
f19e0aab2a allow setfib=0 2010-07-13 10:17:09 +00:00
Igor Sysoev
3e8bd94065 use xmlSAXHandler._private field to store xslt filter context 2010-07-12 12:52:01 +00:00
Igor Sysoev
4b5641e11e fix building by msvc7 2010-07-08 16:17:11 +00:00
Igor Sysoev
2c58299c1f fix typo 2010-07-08 14:02:09 +00:00
Igor Sysoev
bf8cb5a0ed style fix 2010-07-08 13:49:21 +00:00
Igor Sysoev
5c381b7c0f update r->buffered after processing SSI command,
the bug has been probably introduced in r2378
2010-07-07 10:17:19 +00:00
Igor Sysoev
2b77360fcf bump version 2010-07-07 10:09:44 +00:00
Igor Sysoev
cec9b84e05 listen setfib=X 2010-07-05 13:49:16 +00:00
Igor Sysoev
7d9ed15393 fix case of partially matched patterns on buffer border in sub_filter 2010-07-05 13:45:10 +00:00
Igor Sysoev
d07e981e89 fix recognition of SSLv2 Client Hello Packet large than 255 bytes 2010-07-05 13:35:20 +00:00
Igor Sysoev
df89ec501a try to use C99 variadic macros first:
AIX 5.3's XL C has problems with GCC style variadic macros
2010-07-05 13:02:25 +00:00
Igor Sysoev
8f15f4dfcb fix building by owc12: GetLongPathName() is available since Win2K only 2010-07-05 12:47:35 +00:00
Igor Sysoev
1598fcb41f HP/UX uses EWOULDBLOCK instead of EAGAIN 2010-07-03 20:16:55 +00:00
Igor Sysoev
28573708e3 do not use a cache headers set to hide 2010-07-02 10:05:40 +00:00
Igor Sysoev
195938733b treat Set-Cookie as a header that forbids caching 2010-07-02 09:49:27 +00:00
Igor Sysoev
f88daee0f0 update the previous commit 2010-07-02 09:28:50 +00:00
Igor Sysoev
3ad024c19a use shared ngx_http_upstream_ignore_headers_masks[] 2010-07-02 09:25:38 +00:00
Igor Sysoev
749e620d74 bump version 2010-07-01 12:56:32 +00:00
Igor Sysoev
1122815ff7 remove r->zero_body unused since the previous commit 2010-06-30 14:42:15 +00:00
Igor Sysoev
8ad792ae98 Fix processing
error_page 502 504 /zero;
    location = /zero { return 204; }

The bug has been introduced in r3634.
The fix also allow to use:
    error_page 502 504 = /zero;
    location = /zero { return 200; }

This case still does not work:
    error_page 502 504 /zero;
    location = /zero { return 200; }
2010-06-30 14:39:28 +00:00
Igor Sysoev
2424416b03 change logic introduced in r3649:
*) now $uid_set is cacheable again
*) allow to see at any processing stage that uid cookie is remarked
2010-06-30 14:30:55 +00:00
Igor Sysoev
0097d487ab style fix: remove tabs 2010-06-30 14:28:54 +00:00
Igor Sysoev
e4fed15a90 set uid values for main request only 2010-06-30 13:15:20 +00:00
Igor Sysoev
1796c210b5 fix IPv6 listen socket handling while reconfiguring 2010-06-30 12:01:56 +00:00
Igor Sysoev
bd8b974fce fix ngx_write_file() buf 2010-06-30 10:33:02 +00:00
Igor Sysoev
67b65ce86b test binary geo range base size 2010-06-30 10:13:51 +00:00
Igor Sysoev
c04281e30c test the second binary geo range base existence 2010-06-30 10:12:46 +00:00
Igor Sysoev
f63ef664f5 test binary geo ranges base only for ranges 2010-06-30 10:05:56 +00:00
Igor Sysoev
e39a4d11e2 test binary gep range base mtime 2010-06-30 10:02:05 +00:00
Igor Sysoev
a0f059a4ee binary geo ranges base cache 2010-06-29 16:06:20 +00:00
Igor Sysoev
f00e3577dc ngx_create_file_mapping() 2010-06-29 15:18:50 +00:00
Igor Sysoev
d920c9a32a change duplicate default geo range processing 2010-06-29 13:36:16 +00:00
Igor Sysoev
cfdf464b50 fix building without IPv6 after the previous commit 2010-06-25 13:17:33 +00:00
Igor Sysoev
e89740a95e Now $uid_set may be used at any time, r2013 states the same is wrong.
Besides, now $uid_set is not cacheable and may have two values:
before and after header filter processing.
This allows to log case, when uid cookie is remarked.
2010-06-25 12:16:31 +00:00
Igor Sysoev
fbd33432dd make logic more clear 2010-06-25 12:06:37 +00:00
Igor Sysoev
e0963f0de2 delete stale comments 2010-06-25 12:05:12 +00:00
Igor Sysoev
09eb3358d2 eliminate a number of ranges: about 18,000 /16 networks are empty,
this change saves about 70K/140K on 32/64-bit platforms
2010-06-24 15:26:05 +00:00
Igor Sysoev
f3a714a6ba fix a bug when ngx_cpymem() returns a cast type:
p = (type *) ngx_cpymem(...)
2010-06-24 15:17:06 +00:00
Igor Sysoev
35881a0c52 break cycle early 2010-06-24 13:16:19 +00:00
Igor Sysoev
2d311b77d0 style fix 2010-06-23 16:34:54 +00:00
Igor Sysoev
0bde90b418 change ngx_http_variable_value_node_t to more generic ngx_str_node_t 2010-06-23 15:31:33 +00:00
Igor Sysoev
e4f22f050b bump version 2010-06-23 14:49:57 +00:00
Igor Sysoev
8c0c0c4231 ngx_http_scgi_module 2010-06-18 15:51:14 +00:00
Igor Sysoev
276042367d Test regex location if URI matches exactly to non-exact location.
Revert a feature introduced in r2028. The feature confuses mostly,
the only gain was not to test regex for a frequent request such as
"/" in "locaiton /".
2010-06-18 15:38:31 +00:00
Igor Sysoev
88948dcdf3 use ngx_http_send_response() in empty_gif 2010-06-18 15:17:07 +00:00
Igor Sysoev
d456038185 add files missed in the previuos commit 2010-06-18 15:16:18 +00:00
Igor Sysoev
2e8a1ca65e return code text 2010-06-18 15:15:20 +00:00
Igor Sysoev
4a758b76a5 ngx_http_send_response() 2010-06-18 15:08:44 +00:00
Igor Sysoev
b09cdc4156 303 See Other 2010-06-18 14:58:52 +00:00
Igor Sysoev
841fae0f47 style fix 2010-06-15 15:30:00 +00:00
Igor Sysoev
8a82f68f61 fix r3628 2010-06-15 15:27:06 +00:00
Igor Sysoev
4795124a2f make code more obviuos 2010-06-15 15:21:37 +00:00
Igor Sysoev
7938b9625b use ngx_http_parse_status_line() 2010-06-15 15:15:06 +00:00
Igor Sysoev
b509ddb93d ngx_http_parse_status_line() 2010-06-15 15:13:34 +00:00
Igor Sysoev
cff6dbbb59 update the previous commit 2010-06-15 15:09:18 +00:00
Igor Sysoev
d6298ddcdf support CGI-style response 2010-06-15 14:30:13 +00:00
Igor Sysoev
2c23ca7eb0 style fix 2010-06-15 12:45:33 +00:00
Igor Sysoev
595da77924 bump version 2010-06-15 12:41:13 +00:00
Igor Sysoev
7a1aa4fe6c allow spaces in URI 2010-06-15 09:31:19 +00:00
Igor Sysoev
a293dff49e do not free() stack allocated buffer 2010-06-14 18:09:52 +00:00
Igor Sysoev
db8805fdc6 PATCH method 2010-06-10 11:08:28 +00:00
Igor Sysoev
11d171a379 allow Destination URL without host 2010-06-10 08:17:16 +00:00
Igor Sysoev
9de72f1418 delete empty Server and Date header used only in proxy mode 2010-06-08 19:33:53 +00:00
Igor Sysoev
39267a6353 change variable names 2010-06-08 16:15:47 +00:00
Igor Sysoev
c549637101 delete surplus flush 2010-06-08 13:43:20 +00:00
Igor Sysoev
04944c154c do not try to calculate procent sum if there was an error 2010-06-08 09:06:57 +00:00
Igor Sysoev
78e422da42 delete useless code 2010-06-07 14:37:56 +00:00
Igor Sysoev
77722cd81a fix rewritten Refresh header length 2010-06-07 14:33:50 +00:00
Igor Sysoev
6f632aaadf 202 Accepted status code 2010-06-07 13:38:39 +00:00
Igor Sysoev
9f09773a48 bump version 2010-06-07 13:34:56 +00:00
Igor Sysoev
0ff90bffc8 fix "/dir/%3F../" and "/dir/%23../" cases 2010-06-04 16:05:55 +00:00
Igor Sysoev
7d26dffc7d test default NTFS stream "::$DATA" 2010-06-04 15:37:49 +00:00
Igor Sysoev
df4aaffdbe *) delete no longer used unix domain sockets
*) fix unix domain socket comparison
2010-06-04 13:34:23 +00:00
Igor Sysoev
0d06bbd47b uwsgi cache 2010-06-04 12:55:01 +00:00
Igor Sysoev
a87c600c92 uwsgi_bind 2010-06-04 12:32:08 +00:00
Igor Sysoev
206160c263 allow uwsgi_param to override client headers using HTTP_ parameters 2010-06-04 12:26:27 +00:00
Igor Sysoev
e6ae3f1444 uwsgi_store 2010-06-04 11:31:01 +00:00
Igor Sysoev
9adbc7b876 add uwsgi_param and client request headers debug logging 2010-06-04 10:03:57 +00:00
Igor Sysoev
26053d5645 do not pass if-... headers for cacheable fastcgi responses 2010-06-04 09:17:09 +00:00
Igor Sysoev
b063eefdff rename variable to conform to the next commit 2010-06-03 16:42:07 +00:00
Igor Sysoev
26c10e0d6f use local headers_names array instead of stored in configuration
and allocate its elements from temporary pool
2010-06-03 14:50:59 +00:00
Igor Sysoev
c7ede0111e allow fastcgi_param to override client headers using HTTP_ parameters 2010-06-03 14:41:30 +00:00
Igor Sysoev
6da92b13e4 add client request headers debug logging in fastcgi 2010-06-03 13:49:59 +00:00
Igor Sysoev
039f9c5fe3 remove the special static fastcgi_param values processing,
because it is anyway very seldom case
2010-06-02 15:08:29 +00:00
Igor Sysoev
9f71b6998d style fix 2010-06-01 20:27:03 +00:00
Igor Sysoev
dfa107e626 improve uwsgi_string processing 2010-06-01 20:24:30 +00:00
Igor Sysoev
8a8cd22128 delete unneeded declaration 2010-06-01 20:23:14 +00:00
Igor Sysoev
4c6994067b delete unused ngx_http_uwsgi_add_variables() 2010-06-01 20:21:56 +00:00
Igor Sysoev
d47f1055fc improve uwsgi_modifierX processing:
*) use ngx_conf_set_num_slot()
*) check bounds
*) check duplicates
2010-06-01 20:19:57 +00:00
Igor Sysoev
fed79c9d28 remove LICENSE text 2010-06-01 19:57:52 +00:00
Igor Sysoev
da28ba8702 style fix 2010-06-01 17:46:01 +00:00
Igor Sysoev
a53fb650d4 ./configure --http-uwsgi-temp-path=PATH 2010-06-01 17:44:51 +00:00
Igor Sysoev
7bb84c2b00 fix the previous commit when value is static string: remove the special
static values processing, because it is anyway very seldom case
2010-06-01 17:30:23 +00:00
Igor Sysoev
3b34cf727f remove useless copy: key name should be just copied before value length 2010-06-01 17:25:36 +00:00
Igor Sysoev
04d69c444a simplify binary little endian length processing 2010-06-01 17:04:56 +00:00
Igor Sysoev
b2e22ec7d0 use ngx_str_set() and ngx_str_null() 2010-06-01 16:12:00 +00:00
Igor Sysoev
d95fe917dd fix copyrights 2010-06-01 16:10:05 +00:00
Igor Sysoev
63603bd691 fix style, some names, and building by MSVC8 2010-06-01 16:00:42 +00:00
Igor Sysoev
91f8c9e53d style fix: remove tabs and trailing spaces 2010-06-01 15:55:04 +00:00
Igor Sysoev
171cb44cd0 import original ngx_http_uwsgi_module version 2010-06-01 15:53:11 +00:00
Igor Sysoev
07ba9d63e8 bump version 2010-06-01 15:20:14 +00:00
Igor Sysoev
17d0809b81 fix IPv6 and Unix domain sockets inheritance while online upgrade 2010-05-31 14:49:11 +00:00
Igor Sysoev
3927155f8f fix building by ICC8, the bug had been introduced in r3476 2010-05-31 14:44:17 +00:00
Igor Sysoev
b4153c3846 fix handling an inherited alias in inclusive location 2010-05-31 14:41:54 +00:00
Igor Sysoev
fd2bece65b fix a try_files/alias case when alias uses captures and
try_files  .html  ""  /  =404;
2010-05-27 13:44:22 +00:00
Igor Sysoev
829cad2a35 do not add tested file to a location regex string,
instead, set URI to the tested file, or keep URI unchanged,
if the tested file is a directory,
the later allows to handle a directory autoredirect
2010-05-27 13:24:19 +00:00
Igor Sysoev
0be95c195f fix the previous commit 2010-05-27 13:15:24 +00:00
Igor Sysoev
d9ea5f598c improve debug logging: "try to use file/dir" 2010-05-27 13:09:09 +00:00
Igor Sysoev
10a651e7f3 bump version 2010-05-27 12:55:05 +00:00
Igor Sysoev
1fdb674a82 remove r->zero_in_uri 2010-05-24 12:35:10 +00:00
Igor Sysoev
8bf98c72ca proxy_no_cache and fastcgi_no_cache 2010-05-24 11:01:05 +00:00
Igor Sysoev
b70b136a77 fix delay in limit_req 2010-05-24 07:43:39 +00:00
Igor Sysoev
e4281c4f4d autodetect redirect if URI is rewritten to a string starting with $scheme 2010-05-23 19:36:12 +00:00
Igor Sysoev
ccf572ef43 delete warnings of proxy_upstream_max_fails, proxy_upstream_fail_timeout,
fastcgi_upstream_max_fails, fastcgi_upstream_fail_timeout,
memcached_upstream_max_fails, and memcached_upstream_fail_timeout
directives obsolete since 0.5.0 version
2010-05-20 11:46:01 +00:00
Igor Sysoev
7d27b6664b allow to use $uid_got in SSI and perl module 2010-05-18 16:24:56 +00:00
Igor Sysoev
70028733bd bump version 2010-05-18 16:20:02 +00:00
Igor Sysoev
df46eaa53a fix SSI include stub for valid empty responses 2010-05-14 12:18:44 +00:00
Igor Sysoev
63b4ff086e do not cache response if it has "no-store" or "private"
in "Cache-Control" header
2010-05-14 12:04:58 +00:00