Igor Sysoev
9826961ed4
listen default_server parameter
2009-10-21 19:18:50 +00:00
Igor Sysoev
5a95080cb6
allow to set listen options in any server
2009-10-21 19:16:38 +00:00
Igor Sysoev
ba3083bfce
add listen address in error message
2009-10-21 19:13:27 +00:00
Igor Sysoev
cd8b43cde7
rename core_srv_conf fields to more understandable default_server and server
2009-10-21 16:52:10 +00:00
Igor Sysoev
f2694cb925
*) move sockaddr to the listen options
...
*) rename ngx_http_listen_t to ngx_http_listen_opt_t
2009-10-21 16:47:44 +00:00
Igor Sysoev
2a634f5342
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
d2d0931ed5
refactor http listen code: remove duplicate options fields
2009-10-21 08:48:04 +00:00
Igor Sysoev
79d630ac11
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
e418e0661c
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
9a1f0ac730
allow discarding body while a long response transfer
2009-10-19 16:13:38 +00:00
Igor Sysoev
801a35df3c
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
7060e670f4
fix ngx_http_finalize_request() code after a body has been discarded
2009-10-19 16:06:57 +00:00
Igor Sysoev
11e5d7f190
prevent handling discarded body as a pipelined request
2009-10-19 14:08:35 +00:00
Igor Sysoev
2495c4d50b
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
145dcc180a
fix typo
2009-10-19 12:33:09 +00:00
Igor Sysoev
550454192c
ngx_http_parse_time() should support full 32-bit time
2009-10-15 13:19:34 +00:00
Igor Sysoev
5143e39b4e
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
6a588f80c6
bump version
2009-10-15 13:01:42 +00:00
Igor Sysoev
73a9c44441
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
e58700d3b0
*) 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
671236993a
test comma separator in "Cache-Control"
2009-10-08 14:22:00 +00:00
Igor Sysoev
e2afcc5d2f
hide cacheable Set-Cookie and P3P FastCGI response headers
2009-10-07 15:15:41 +00:00
Igor Sysoev
3bed0daced
use only strong ciphers by default
2009-10-07 14:46:13 +00:00
Igor Sysoev
136dd8d1e6
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
9e54633645
bump version
2009-10-07 12:48:05 +00:00
Igor Sysoev
4efbd6ab36
fix r3184
2009-10-06 16:08:15 +00:00
Igor Sysoev
cf9dd76b43
disable SSLv2 and low ciphers by default
2009-10-06 14:24:53 +00:00
Igor Sysoev
280d6955e3
bump version
2009-10-06 13:52:26 +00:00
Igor Sysoev
2fb73afece
limit_conn_log_level
2009-10-06 10:14:29 +00:00
Igor Sysoev
6624c62742
limit_req_log_level
2009-10-06 10:14:21 +00:00
Igor Sysoev
4ae43f965d
fix building by gcc45
2009-10-06 09:46:16 +00:00
Igor Sysoev
5d4b802370
make limit_req to conform to the leaky bucket algorithm
2009-10-06 09:37:18 +00:00
Igor Sysoev
a2951910d3
omit '\0' from "Location" header on MKCOL request
2009-10-06 09:32:21 +00:00
Igor Sysoev
703f15d8a2
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
2d24d749e4
clear r->keepalive to disable preventively calling
...
ngx_http_set_keepalive() while request cleanup
2009-10-02 11:30:47 +00:00
Igor Sysoev
48a3131d83
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
3266171fd4
read_ahead
2009-09-30 13:21:52 +00:00
Igor Sysoev
689064b91a
log 499 instead 0, the bug was introduced in r3050
2009-09-30 12:05:08 +00:00
Igor Sysoev
13210a18f4
allow several perl_modules
2009-09-30 11:46:01 +00:00
Igor Sysoev
d9ef969e28
use ngx_conf_set_str_array_slot() for perl_require
2009-09-28 16:07:14 +00:00
Igor Sysoev
2c808cc191
optimize error handling
2009-09-28 15:57:28 +00:00
Igor Sysoev
0056d6b4aa
bump version
2009-09-28 15:56:28 +00:00
Igor Sysoev
65166cfa2f
fix request counter in resolver handling, the bug was introduced in r3050
2009-09-28 12:31:47 +00:00
Igor Sysoev
00e723da20
we do not need to increase request counter in this place,
...
the bug had appeared in r3115
2009-09-28 11:12:45 +00:00
Igor Sysoev
63bfeb9bd0
fix r3078: do not increase request counter if body has been just discarded
2009-09-26 13:24:15 +00:00
Igor Sysoev
812234e2f5
fix discarding body
2009-09-25 11:55:33 +00:00
Igor Sysoev
a552ab476e
check unsafe Destination
2009-09-25 09:30:06 +00:00
Igor Sysoev
7f6d71bbc8
low ENAMETOOLONG logging level
2009-09-25 09:13:08 +00:00
Igor Sysoev
cdaf442a2f
$ssl_session_id
2009-09-24 14:45:28 +00:00
Igor Sysoev
f63a48ce7e
update the previous commit: use ngx_strlow()
2009-09-24 13:23:25 +00:00