summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-10-30 20:25:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-10-30 20:25:22 +0000
commit020ffea637440e4283e1be11a96ded2674fdf8a0 (patch)
tree104bb79a9ab4beb5631863002894cfa019b2b27f /src/core/ngx_connection.h
parentd0427afb8bf06149f2dadad118e5f30cbd7f3cff (diff)
downloadnginx-020ffea637440e4283e1be11a96ded2674fdf8a0.tar.gz
nginx-020ffea637440e4283e1be11a96ded2674fdf8a0.tar.bz2
high level HTTP buffered flags should be on per-subrequest basis,
this fix a bug in SSI when a big static file is included
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 2c694fa27..1694dd451 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -92,8 +92,8 @@ typedef enum {
} ngx_connection_tcp_nopush_e;
-#define NGX_LOWLEVEL_BUFFERED 0x0000000f
-#define NGX_SSL_BUFFERED 0x00000001
+#define NGX_LOWLEVEL_BUFFERED 0x0f
+#define NGX_SSL_BUFFERED 0x01
struct ngx_connection_s {
@@ -133,7 +133,7 @@ struct ngx_connection_s {
ngx_atomic_uint_t number;
- ngx_uint_t buffered;
+ unsigned buffered:8;
unsigned log_error:2; /* ngx_connection_log_error_e */