aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
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 */