Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_connection.h @ 32:da8c190bdaba NGINX_0_1_16
nginx 0.1.16
*) Bugfix: if the response were transferred by chunks, then on the HEAD
request the final chunk was issued.
*) Bugfix: the "Connection: keep-alive" header were issued, even if the
keepalive_timeout directive forbade the keep-alive use.
*) Bugfix: the errors in the ngx_http_fastcgi_module caused the
segmentation faults.
*) Bugfix: the compressed response encrypted by SSL may not transferred
complete.
*) Bugfix: the TCP-specific TCP_NODELAY, TCP_NOPSUH, and TCP_CORK
options, are not used for the unix domain sockets.
*) Feature: the rewrite directive supports the arguments rewriting.
*) Bugfix: the response code 400 was returned for the POST request with
the "Content-Length: 0" header; bug appeared in 0.1.14.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 25 Jan 2005 00:00:00 +0300 |
parents | 7ca9bdc82b3f |
children | 41ccba1aba45 |
comparison
equal
deleted
inserted
replaced
31:1b17dd824438 | 32:da8c190bdaba |
---|---|
62 NGX_ERROR_IGNORE_ECONNRESET | 62 NGX_ERROR_IGNORE_ECONNRESET |
63 } ngx_connection_log_error_e; | 63 } ngx_connection_log_error_e; |
64 | 64 |
65 | 65 |
66 typedef enum { | 66 typedef enum { |
67 NGX_TCP_NOPUSH_DISABLED = -1, | 67 NGX_TCP_NODELAY_UNSET = 0, |
68 NGX_TCP_NODELAY_SET, | |
69 NGX_TCP_NODELAY_DISABLED | |
70 } ngx_connection_tcp_nodelay_e; | |
71 | |
72 | |
73 typedef enum { | |
68 NGX_TCP_NOPUSH_UNSET = 0, | 74 NGX_TCP_NOPUSH_UNSET = 0, |
69 NGX_TCP_NOPUSH_SET | 75 NGX_TCP_NOPUSH_SET, |
76 NGX_TCP_NOPUSH_DISABLED | |
70 } ngx_connection_tcp_nopush_e; | 77 } ngx_connection_tcp_nopush_e; |
71 | 78 |
72 | 79 |
73 struct ngx_connection_s { | 80 struct ngx_connection_s { |
74 void *data; | 81 void *data; |
107 | 114 |
108 ngx_buf_t *buffer; | 115 ngx_buf_t *buffer; |
109 | 116 |
110 ngx_uint_t number; | 117 ngx_uint_t number; |
111 | 118 |
112 unsigned log_error:2; /* ngx_connection_log_error_e */ | 119 unsigned log_error:2; /* ngx_connection_log_error_e */ |
113 | 120 |
114 unsigned buffered:1; | 121 unsigned buffered:1; |
115 unsigned single_connection:1; | 122 unsigned single_connection:1; |
116 unsigned unexpected_eof:1; | 123 unsigned unexpected_eof:1; |
117 unsigned timedout:1; | 124 unsigned timedout:1; |
118 | 125 |
119 unsigned sendfile:1; | 126 unsigned sendfile:1; |
120 unsigned sndlowat:1; | 127 unsigned sndlowat:1; |
121 unsigned tcp_nodelay:1; | 128 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ |
122 signed tcp_nopush:2; | 129 unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */ |
123 | 130 |
124 #if (NGX_HAVE_IOCP) | 131 #if (NGX_HAVE_IOCP) |
125 unsigned accept_context_updated:1; | 132 unsigned accept_context_updated:1; |
126 #endif | 133 #endif |
127 | 134 |