aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_socket.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2021-12-13 14:49:42 +0300
committerRoman Arutyunyan <arut@nginx.com>2021-12-13 14:49:42 +0300
commit6e7f19280423056bf06fcd5055db3fcabb842c76 (patch)
tree97c405ce48d25022baf4446303c6ea3230501243 /src/os/unix/ngx_socket.h
parent6ea39f03ae182e5455e2fbf0a39aabc9c150c377 (diff)
downloadnginx-6e7f19280423056bf06fcd5055db3fcabb842c76.tar.gz
nginx-6e7f19280423056bf06fcd5055db3fcabb842c76.zip
QUIC: write and full stream shutdown support.
Full stream shutdown is now called from stream cleanup handler instead of explicitly sending frames.
Diffstat (limited to 'src/os/unix/ngx_socket.h')
-rw-r--r--src/os/unix/ngx_socket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_socket.h b/src/os/unix/ngx_socket.h
index ec66a6f83..4480adca2 100644
--- a/src/os/unix/ngx_socket.h
+++ b/src/os/unix/ngx_socket.h
@@ -13,6 +13,8 @@
#define NGX_WRITE_SHUTDOWN SHUT_WR
+#define NGX_READ_SHUTDOWN SHUT_RD
+#define NGX_RDWR_SHUTDOWN SHUT_RDWR
typedef int ngx_socket_t;