Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.h @ 5513:311803b21504
SPDY: body filter was replaced by c->send_chain() function.
It allows to use ngx_http_write_filter() and all its rate limiting logic.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 14 Jan 2014 16:24:45 +0400 |
parents | d39a69427056 |
children | 3a72b1805c52 |
comparison
equal
deleted
inserted
replaced
5512:9fffc0c46e5c | 5513:311803b21504 |
---|---|
110 } ngx_connection_tcp_nopush_e; | 110 } ngx_connection_tcp_nopush_e; |
111 | 111 |
112 | 112 |
113 #define NGX_LOWLEVEL_BUFFERED 0x0f | 113 #define NGX_LOWLEVEL_BUFFERED 0x0f |
114 #define NGX_SSL_BUFFERED 0x01 | 114 #define NGX_SSL_BUFFERED 0x01 |
115 #define NGX_SPDY_BUFFERED 0x02 | |
115 | 116 |
116 | 117 |
117 struct ngx_connection_s { | 118 struct ngx_connection_s { |
118 void *data; | 119 void *data; |
119 ngx_event_t *read; | 120 ngx_event_t *read; |
168 | 169 |
169 unsigned sendfile:1; | 170 unsigned sendfile:1; |
170 unsigned sndlowat:1; | 171 unsigned sndlowat:1; |
171 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ | 172 unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ |
172 unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */ | 173 unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */ |
174 | |
175 unsigned need_last_buf:1; | |
173 | 176 |
174 #if (NGX_HAVE_IOCP) | 177 #if (NGX_HAVE_IOCP) |
175 unsigned accept_context_updated:1; | 178 unsigned accept_context_updated:1; |
176 #endif | 179 #endif |
177 | 180 |