diff src/stream/ngx_stream.h @ 7846:2ab7b55ae4a0

Stream: the "fastopen" parameter of the "listen" directive. Based on a patch by Anbang Wen.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 20 May 2021 19:59:16 +0300
parents 9606d93aa586
children d514f88053e5
line wrap: on
line diff
--- 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;