high level HTTP buffered flags should be on per-subrequest basis,
this fix a bug in SSI when a big static file is included
Igor Sysoev
15 years ago
91 | 91 |
} ngx_connection_tcp_nopush_e;
|
92 | 92 |
|
93 | 93 |
|
94 | |
#define NGX_LOWLEVEL_BUFFERED 0x0000000f
|
95 | |
#define NGX_SSL_BUFFERED 0x00000001
|
|
94 |
#define NGX_LOWLEVEL_BUFFERED 0x0f
|
|
95 |
#define NGX_SSL_BUFFERED 0x01
|
96 | 96 |
|
97 | 97 |
|
98 | 98 |
struct ngx_connection_s {
|
|
132 | 132 |
|
133 | 133 |
ngx_atomic_uint_t number;
|
134 | 134 |
|
135 | |
ngx_uint_t buffered;
|
|
135 |
unsigned buffered:8;
|
136 | 136 |
|
137 | 137 |
unsigned log_error:2; /* ngx_connection_log_error_e */
|
138 | 138 |
|
110 | 110 |
#define NGX_HTTP_INSUFFICIENT_STORAGE 507
|
111 | 111 |
|
112 | 112 |
|
113 | |
#define NGX_HTTP_LOWLEVEL_BUFFERED 0x000000f0
|
114 | |
#define NGX_HTTP_WRITE_BUFFERED 0x00000010
|
115 | |
#define NGX_HTTP_GZIP_BUFFERED 0x00000020
|
116 | |
#define NGX_HTTP_SSI_BUFFERED 0x00000100
|
117 | |
#define NGX_HTTP_COPY_BUFFERED 0x00000200
|
|
113 |
#define NGX_HTTP_LOWLEVEL_BUFFERED 0xf0
|
|
114 |
#define NGX_HTTP_WRITE_BUFFERED 0x10
|
|
115 |
#define NGX_HTTP_GZIP_BUFFERED 0x20
|
|
116 |
#define NGX_HTTP_SSI_BUFFERED 0x01
|
|
117 |
#define NGX_HTTP_COPY_BUFFERED 0x02
|
118 | 118 |
|
119 | 119 |
|
120 | 120 |
typedef enum {
|
|
450 | 450 |
unsigned header_sent:1;
|
451 | 451 |
unsigned done:1;
|
452 | 452 |
unsigned utf8:1;
|
|
453 |
|
|
454 |
unsigned buffered:4;
|
453 | 455 |
|
454 | 456 |
unsigned main_filter_need_in_memory:1;
|
455 | 457 |
unsigned filter_need_in_memory:1;
|