diff src/core/ngx_connection.h @ 829:362d156f0278

high level HTTP buffered flags should be on per-subrequest basis, this fix a bug in SSI when a big static file is included
author Igor Sysoev <igor@sysoev.ru>
date Mon, 30 Oct 2006 20:25:22 +0000
parents 5e8fb59c18c1
children 03f1133f24e8
line wrap: on
line diff
--- 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 */