Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.h @ 563:9c2f3ed7a247 release-0.3.3
nginx-0.3.3-RELEASE import
*) Change: the "bl" and "af" parameters of the "listen" directive was
renamed to the "backlog" and "accept_filter".
*) Feature: the "rcvbuf" and "sndbuf" parameters of the "listen"
directive.
*) Change: the "$msec" log parameter does not require now the
additional the gettimeofday() system call.
*) Feature: the -t switch now tests the "listen" directives.
*) Bugfix: if the invalid address was specified in the "listen"
directive, then after the -HUP signal nginx left an open socket in
the CLOSED state.
*) Bugfix: the mime type may be incorrectly set to default value for
index file with variable in the name; the bug had appeared in 0.3.0.
*) Feature: the "timer_resolution" directive.
*) Feature: the millisecond "$upstream_response_time" log parameter.
*) Bugfix: a temporary file with client request body now is removed
just after the response header was transferred to a client.
*) Bugfix: OpenSSL 0.9.6 compatibility.
*) Bugfix: the SSL certificate and key file paths could not be relative.
*) Bugfix: the "ssl_prefer_server_ciphers" directive did not work in
the ngx_imap_ssl_module.
*) Bugfix: the "ssl_protocols" directive allowed to specify the single
protocol only.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 19 Oct 2005 12:33:58 +0000 |
parents | ecd9c160f25b |
children | 4d9ea73a627a |
comparison
equal
deleted
inserted
replaced
562:4b6108f69026 | 563:9c2f3ed7a247 |
---|---|
23 size_t addr_text_max_len; | 23 size_t addr_text_max_len; |
24 ngx_str_t addr_text; | 24 ngx_str_t addr_text; |
25 | 25 |
26 int family; | 26 int family; |
27 int type; | 27 int type; |
28 | |
28 int backlog; | 29 int backlog; |
30 int rcvbuf; | |
31 int sndbuf; | |
29 | 32 |
30 /* handler of accepted connection */ | 33 /* handler of accepted connection */ |
31 ngx_connection_handler_pt handler; | 34 ngx_connection_handler_pt handler; |
32 | 35 |
33 void *ctx; /* ngx_http_conf_ctx_t, for example */ | 36 void *ctx; /* ngx_http_conf_ctx_t, for example */ |
49 unsigned ignore:1; | 52 unsigned ignore:1; |
50 | 53 |
51 unsigned bound:1; /* already bound */ | 54 unsigned bound:1; /* already bound */ |
52 unsigned inherited:1; /* inherited from previous process */ | 55 unsigned inherited:1; /* inherited from previous process */ |
53 unsigned nonblocking_accept:1; | 56 unsigned nonblocking_accept:1; |
54 unsigned change_backlog:1; | 57 unsigned listen:1; |
55 unsigned nonblocking:1; | 58 unsigned nonblocking:1; |
56 unsigned shared:1; /* shared between threads or processes */ | 59 unsigned shared:1; /* shared between threads or processes */ |
57 unsigned addr_ntop:1; | 60 unsigned addr_ntop:1; |
58 | 61 |
59 #if (NGX_HAVE_DEFERRED_ACCEPT) | 62 #if (NGX_HAVE_DEFERRED_ACCEPT) |
160 | 163 |
161 ngx_listening_t *ngx_listening_inet_stream_socket(ngx_conf_t *cf, | 164 ngx_listening_t *ngx_listening_inet_stream_socket(ngx_conf_t *cf, |
162 in_addr_t addr, in_port_t port); | 165 in_addr_t addr, in_port_t port); |
163 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); | 166 ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); |
164 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); | 167 ngx_int_t ngx_open_listening_sockets(ngx_cycle_t *cycle); |
168 void ngx_configure_listening_socket(ngx_cycle_t *cycle); | |
165 void ngx_close_listening_sockets(ngx_cycle_t *cycle); | 169 void ngx_close_listening_sockets(ngx_cycle_t *cycle); |
166 void ngx_close_connection(ngx_connection_t *c); | 170 void ngx_close_connection(ngx_connection_t *c); |
167 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); | 171 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); |
168 | 172 |
169 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log); | 173 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log); |