diff options
author | Vladimir Homutov <vl@nginx.com> | 2017-04-03 17:29:19 +0300 |
---|---|---|
committer | Vladimir Homutov <vl@nginx.com> | 2017-04-03 17:29:19 +0300 |
commit | 9f7b5576735d1a711acfc62af45088a54c786d27 (patch) | |
tree | b740419e4a1ce86c24cd62cfccfe77d06717563e /src/stream/ngx_stream.h | |
parent | 97cb30370f6858f33ad37653ffcbccc43026bfff (diff) | |
download | nginx-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.h | 2 |
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; |