diff options
author | Ruslan Ermilov <ru@nginx.com> | 2021-05-20 19:59:16 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2021-05-20 19:59:16 +0300 |
commit | ecbe06b9fee57207d84be9ac39d1aa10b2d0fbd8 (patch) | |
tree | 6eb0fcf583842b4b9b12cb299dc9c154bf1d7c06 /src/stream/ngx_stream.h | |
parent | 6029e211c63895c44a942bacc32c6d2f565cc3e3 (diff) | |
download | nginx-ecbe06b9fee57207d84be9ac39d1aa10b2d0fbd8.tar.gz nginx-ecbe06b9fee57207d84be9ac39d1aa10b2d0fbd8.zip |
Stream: the "fastopen" parameter of the "listen" directive.
Based on a patch by Anbang Wen.
Diffstat (limited to 'src/stream/ngx_stream.h')
-rw-r--r-- | src/stream/ngx_stream.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h index 9e3583295..46c362296 100644 --- a/src/stream/ngx_stream.h +++ b/src/stream/ngx_stream.h @@ -65,6 +65,9 @@ typedef struct { int backlog; int rcvbuf; int sndbuf; +#if (NGX_HAVE_TCP_FASTOPEN) + int fastopen; +#endif int type; } ngx_stream_listen_t; |