Commit graph

3114 commits

Author SHA1 Message Date
Igor Sysoev
82649a7014 fix r3218:
Initially building lists of ports, addresses, and server names had been
placed at final configuration stage, because complete set of the "listen"s
and the "server_names" were required for this operation. r3218 broke it,
because the "listen"s go usually first in configuration, and
cscf->server_names is empty at this stage, therefore no virtual names
were configured.

Now server configurations are stored in array for each address:port
to configure virtual names. Also regex captures flag is moved from
server names to core server configuration.
2009-10-21 16:27:48 +00:00
Igor Sysoev
953b792f9f refactor http listen code: remove duplicate options fields 2009-10-21 08:48:04 +00:00
Igor Sysoev
0e746b5fe3 refactor http listen code:
*) add listen's to the global cmcf->ports array instead of server's one
*) rename ngx_http_listen_conf_t to ngx_http_listen_opt_t
2009-10-21 08:19:46 +00:00
Igor Sysoev
57d9977593 fix two previous commits: an early parallel body discarding completion
disables incomplete ngx_http_writer()
2009-10-20 11:48:28 +00:00
Igor Sysoev
34291eede6 allow discarding body while a long response transfer 2009-10-19 16:13:38 +00:00
Igor Sysoev
c611788bf6 restore discard body handler after ngx_http_set_writer() set it to
ngx_http_test_reading(), the bug was introduced in r3050
2009-10-19 16:12:13 +00:00
Igor Sysoev
0f682303e1 fix ngx_http_finalize_request() code after a body has been discarded 2009-10-19 16:06:57 +00:00
Igor Sysoev
1960ffb1e5 prevent handling discarded body as a pipelined request 2009-10-19 14:08:35 +00:00
Igor Sysoev
e2ceea31ed add lingering timeout if a response is short and a request body is being
discarded, the bug was introduced in r3050
2009-10-19 14:08:09 +00:00
Igor Sysoev
44f43e3676 add SNI support in -V output 2009-10-19 12:35:01 +00:00
Igor Sysoev
4a4cf37c5b fix typo 2009-10-19 12:33:09 +00:00
Igor Sysoev
4a09fbf4f3 ngx_http_parse_time() should support full 32-bit time 2009-10-15 13:19:34 +00:00
Igor Sysoev
0459b338ae use ngx_uint_t instead of int,
strange to say this reduce function size by 16 bytes
2009-10-15 13:09:58 +00:00
Igor Sysoev
2aa3c016b0 bump version 2009-10-15 13:01:42 +00:00
Igor Sysoev
2e0f91279b release-0.8.20 tag 2009-10-14 12:57:26 +00:00
Igor Sysoev
4e94fe1631 nginx-0.8.20-RELEASE 2009-10-14 12:57:25 +00:00
Igor Sysoev
9f5117c645 update r3201: ngx_http_random_index_module should behave consistently
in spite of the dirent.d_type presence
2009-10-14 12:39:41 +00:00
Igor Sysoev
832500ff82 ignore EACCES errors for top level directories in ngx_create_full_path() 2009-10-14 11:46:09 +00:00
Igor Sysoev
5371898ba2 do not create Win32 drive letter in ngx_create_full_path() 2009-10-14 11:36:16 +00:00
Igor Sysoev
6d3af5b69b *) reset cached dirent.d_type after stat()
this fixes slash after link to a directory in ngx_http_autoindex_module;
*) use cached dirent.d_type as hint on all systems

the issues has been introduced in r2235
2009-10-14 11:33:35 +00:00
Igor Sysoev
e357ac62d1 nginx did not close log file set by --error-log-path,
the bug was introduced in r2744
2009-10-09 14:43:09 +00:00
Igor Sysoev
5cf5131725 test comma separator in "Cache-Control" 2009-10-08 14:22:00 +00:00
Igor Sysoev
688426595e hide cacheable Set-Cookie and P3P FastCGI response headers 2009-10-07 15:15:41 +00:00
Igor Sysoev
03b930b4a7 use only strong ciphers by default 2009-10-07 14:46:13 +00:00
Igor Sysoev
1eb07cc5a7 use real file cache length, this fixes cache size counting for responses
without "Content-Length" header and 304 responses.
2009-10-07 12:55:58 +00:00
Igor Sysoev
a1575e77b9 bump version 2009-10-07 12:48:05 +00:00
Igor Sysoev
6c05f31567 release-0.8.19 tag 2009-10-06 16:19:43 +00:00
Igor Sysoev
ba09a8dab0 nginx-0.8.19-RELEASE 2009-10-06 16:19:42 +00:00
Igor Sysoev
f99c3ac6ad fix r3184 2009-10-06 16:08:15 +00:00
Igor Sysoev
7c00ea743e disable SSLv2 and low ciphers by default 2009-10-06 14:24:53 +00:00
Igor Sysoev
bbc8096382 bump version 2009-10-06 13:52:26 +00:00
Igor Sysoev
279b55f208 release-0.8.18 tag 2009-10-06 12:44:51 +00:00
Igor Sysoev
e0bd2ffb45 nginx-0.8.18-RELEASE 2009-10-06 12:44:50 +00:00
Igor Sysoev
b4fa957f5d limit_conn_log_level 2009-10-06 10:14:29 +00:00
Igor Sysoev
62ceeca882 limit_req_log_level 2009-10-06 10:14:21 +00:00
Igor Sysoev
669682f3b0 fix building by gcc45 2009-10-06 09:46:16 +00:00
Igor Sysoev
ab8819282d make limit_req to conform to the leaky bucket algorithm 2009-10-06 09:37:18 +00:00
Igor Sysoev
0feac5d304 omit '\0' from "Location" header on MKCOL request 2009-10-06 09:32:21 +00:00
Igor Sysoev
82a641b2b2 clear r->lingering_close to disable preventively calling
ngx_http_set_lingering_close() while request cleanup
2009-10-02 11:32:56 +00:00
Igor Sysoev
c1f49cc1bf clear r->keepalive to disable preventively calling
ngx_http_set_keepalive() while request cleanup
2009-10-02 11:30:47 +00:00
Igor Sysoev
da861a9d6b update r3167: do not set r->discard_body if the body has been just discarded 2009-10-02 09:46:04 +00:00
Igor Sysoev
38f83a56bb read_ahead 2009-09-30 13:21:52 +00:00
Igor Sysoev
3eeeddb17d Linux/SPARC malloc() returns an address aligned to 8. This conflicts with
our SPARC 16-byte alignment and some allocations may be done out of pool.
ngx_memalign(ngx_pagesize) fixes this issue.
2009-09-30 12:56:44 +00:00
Igor Sysoev
52f53f5a89 log 499 instead 0, the bug was introduced in r3050 2009-09-30 12:05:08 +00:00
Igor Sysoev
56175447e1 allow several perl_modules 2009-09-30 11:46:01 +00:00
Igor Sysoev
74ba9acbf0 use ngx_conf_set_str_array_slot() for perl_require 2009-09-28 16:07:14 +00:00
Igor Sysoev
af20ad9b94 optimize error handling 2009-09-28 15:57:28 +00:00
Igor Sysoev
a7e20e9ae4 bump version 2009-09-28 15:56:28 +00:00
Igor Sysoev
954dd87d42 release-0.8.17 tag 2009-09-28 13:08:10 +00:00
Igor Sysoev
f1ee1efa1a nginx-0.8.17-RELEASE 2009-09-28 13:08:09 +00:00