Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.h @ 483:621229427cba release-0.1.16
nginx-0.1.16-RELEASE import
*) 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; the bug had appeared in 0.1.14.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Jan 2005 12:27:35 +0000 |
parents | c52408583801 |
children | 975f62e77f02 |
comparison
equal
deleted
inserted
replaced
482:49f5aef41157 | 483:621229427cba |
---|---|
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 |