From 8c01a95d989fac71164375d76a59b21c42f371fe Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 14 Jan 2014 16:24:45 +0400 Subject: SPDY: body filter was replaced by c->send_chain() function. It allows to use ngx_http_write_filter() and all its rate limiting logic. --- src/core/ngx_connection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/ngx_connection.h') 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 -- cgit