diff src/os/unix/ngx_socket.h @ 8938:23880e4ad3e2 quic

QUIC: write and full stream shutdown support. Full stream shutdown is now called from stream cleanup handler instead of explicitly sending frames.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 13 Dec 2021 14:49:42 +0300
parents efd71d49bde0
children
line wrap: on
line diff
--- 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;