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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index af85e7d81..ecd3c8bc4 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -60,6 +60,13 @@ typedef enum {
} ngx_connection_log_error_e;
+typedef enum {
+ NGX_TCP_NOPUSH_DISABLED = -1,
+ NGX_TCP_NOPUSH_UNSET = 0,
+ NGX_TCP_NOPUSH_SET
+} ngx_connection_tcp_nopush_e;
+
+
struct ngx_connection_s {
void *data;
ngx_event_t *read;