aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream.h
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2017-04-03 17:29:19 +0300
committerVladimir Homutov <vl@nginx.com>2017-04-03 17:29:19 +0300
commit9f7b5576735d1a711acfc62af45088a54c786d27 (patch)
treeb740419e4a1ce86c24cd62cfccfe77d06717563e /src/stream/ngx_stream.h
parent97cb30370f6858f33ad37653ffcbccc43026bfff (diff)
downloadnginx-9f7b5576735d1a711acfc62af45088a54c786d27.tar.gz
nginx-9f7b5576735d1a711acfc62af45088a54c786d27.zip
Stream: configurable socket buffer sizes.
The "rcvbuf" and "sndbuf" parameters are now supported by the "listen" directive.
Diffstat (limited to 'src/stream/ngx_stream.h')
-rw-r--r--src/stream/ngx_stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h
index 814e3b99a..09d245939 100644
--- a/src/stream/ngx_stream.h
+++ b/src/stream/ngx_stream.h
@@ -62,6 +62,8 @@ typedef struct {
int tcp_keepcnt;
#endif
int backlog;
+ int rcvbuf;
+ int sndbuf;
int type;
} ngx_stream_listen_t;