comparison src/core/ngx_connection.h @ 10:46833bd150cb NGINX_0_1_5

nginx 0.1.5 *) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
author Igor Sysoev <http://sysoev.ru>
date Thu, 11 Nov 2004 00:00:00 +0300
parents 4b2dafa26fe2
children 6f8b0dc0f8dd
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
22 ngx_str_t addr_text; 22 ngx_str_t addr_text;
23 23
24 int family; 24 int family;
25 int type; 25 int type;
26 int protocol; 26 int protocol;
27 int flags; /* Winsock2 flags */
28 27
29 void (*handler)(ngx_connection_t *c); /* handler of accepted 28 void (*handler)(ngx_connection_t *c); /* handler of accepted
30 connection */ 29 connection */
31 void *ctx; /* ngx_http_conf_ctx_t, for example */ 30 void *ctx; /* ngx_http_conf_ctx_t, for example */
32 void *servers; /* array of ngx_http_in_addr_t, for example */ 31 void *servers; /* array of ngx_http_in_addr_t, for example */
46 45
47 unsigned bound:1; /* already bound */ 46 unsigned bound:1; /* already bound */
48 unsigned inherited:1; /* inherited from previous process */ 47 unsigned inherited:1; /* inherited from previous process */
49 unsigned nonblocking_accept:1; 48 unsigned nonblocking_accept:1;
50 unsigned nonblocking:1; 49 unsigned nonblocking:1;
51 #if 0
52 unsigned overlapped:1; /* Winsock2 overlapped */
53 #endif
54 unsigned shared:1; /* shared between threads or processes */ 50 unsigned shared:1; /* shared between threads or processes */
55 #if (HAVE_DEFERRED_ACCEPT) 51 #if (HAVE_DEFERRED_ACCEPT)
56 unsigned deferred_accept:1; 52 unsigned deferred_accept:1;
57 #endif 53 #endif
58 54