Commit graph

2942 commits

Author SHA1 Message Date
Igor Sysoev
3f26bb637b rename ngx_peer_addr_t to ngx_addr_t 2009-11-02 15:14:17 +00:00
Igor Sysoev
7194f99ae5 use sin6_addr.s6_addr instead of "(u_char *) & .sin6_addr" 2009-11-02 14:32:46 +00:00
Igor Sysoev
1c068187ae replace inet_addr() with ngx_inet_addr() 2009-11-02 13:51:10 +00:00
Igor Sysoev
ab6bce4d62 use ngx_inet6_addr() 2009-11-02 12:58:30 +00:00
Igor Sysoev
556a6d8758 ngx_inet6_addr() 2009-11-02 12:50:00 +00:00
Igor Sysoev
27e4420f7c style fix 2009-11-02 12:41:56 +00:00
Igor Sysoev
beed596292 delete unused field c->local_socklen 2009-11-01 19:29:49 +00:00
Igor Sysoev
b126ba528d remove a broken 0.1.x to 0.2+ upgrade procedure 2009-10-30 19:42:12 +00:00
Igor Sysoev
68229407ec do not unlink unix domain socket file while online upgrade 2009-10-30 19:18:21 +00:00
Igor Sysoev
1d70f24717 unlink unix domain socket file after testing 2009-10-30 19:16:50 +00:00
Igor Sysoev
fbfff592d0 fix segfaults if no listen directive was set in default server {} block:
ngx_http_add_listen() uses server's connection_pool_size and
client_header_timeout values, therefore it must be called after
the values have been merged, the bug had been introduced in r3218
2009-10-29 15:53:50 +00:00
Igor Sysoev
e9a86ece98 style fix 2009-10-28 10:47:00 +00:00
Igor Sysoev
10d7ffb402 fix segfault if http {} block is empty, the bug had been introduced in r3218 2009-10-28 10:45:40 +00:00
Igor Sysoev
7d6f92be00 bump version 2009-10-28 10:31:06 +00:00
Igor Sysoev
7f478e0630 release-0.8.21 tag 2009-10-26 14:09:26 +00:00
Igor Sysoev
0b26c7153b nginx-0.8.21-RELEASE 2009-10-26 14:09:25 +00:00
Igor Sysoev
084aa41f44 fix r3211 2009-10-26 12:00:37 +00:00
Igor Sysoev
5a3b8ba4bb http listen unix domain sockets 2009-10-26 11:43:32 +00:00
Igor Sysoev
136dc062a8 fix r3225 and r3227: preserve default_server bit during listen options
overwriting
2009-10-22 10:17:54 +00:00
Igor Sysoev
4300aabb91 do not run regex for empty host name since regex always fails in this case,
the bug had been introduced in r2196
2009-10-22 09:48:42 +00:00
Igor Sysoev
7329f87195 test a duplicate listen in a server 2009-10-22 08:15:16 +00:00
Igor Sysoev
c08d08988d fix r3225: it overrode the listen options by default server default options 2009-10-22 08:14:02 +00:00
Igor Sysoev
55d772a207 listen default_server parameter 2009-10-21 19:18:50 +00:00
Igor Sysoev
dddbdb293f allow to set listen options in any server 2009-10-21 19:16:38 +00:00
Igor Sysoev
f0cf92c39b add listen address in error message 2009-10-21 19:13:27 +00:00
Igor Sysoev
911b118ad5 use lowcase only hostname 2009-10-21 17:04:13 +00:00
Igor Sysoev
b0c029db2e rename core_srv_conf fields to more understandable default_server and server 2009-10-21 16:52:10 +00:00
Igor Sysoev
c4c811a390 *) 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
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