diff options
author | Valentin Bartenev <vbart@nginx.com> | 2014-01-14 16:24:45 +0400 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2014-01-14 16:24:45 +0400 |
commit | 8c01a95d989fac71164375d76a59b21c42f371fe (patch) | |
tree | 0df0d215d3616a69eb61187c85b443a4288156bf /src/core | |
parent | 3d5f501adceb59d7ca1b07b6bda7668786843534 (diff) | |
download | nginx-8c01a95d989fac71164375d76a59b21c42f371fe.tar.gz nginx-8c01a95d989fac71164375d76a59b21c42f371fe.zip |
SPDY: body filter was replaced by c->send_chain() function.
It allows to use ngx_http_write_filter() and all its rate limiting logic.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/ngx_connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 05b1ad4ce..d9bc60a77 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -112,6 +112,7 @@ typedef enum { #define NGX_LOWLEVEL_BUFFERED 0x0f #define NGX_SSL_BUFFERED 0x01 +#define NGX_SPDY_BUFFERED 0x02 struct ngx_connection_s { @@ -171,6 +172,8 @@ struct ngx_connection_s { unsigned tcp_nodelay:2; /* ngx_connection_tcp_nodelay_e */ unsigned tcp_nopush:2; /* ngx_connection_tcp_nopush_e */ + unsigned need_last_buf:1; + #if (NGX_HAVE_IOCP) unsigned accept_context_updated:1; #endif |