comparison src/os/win32/ngx_socket.h @ 9042:96bdda15413a quic

Added shutdown macros for win32 required for QUIC.
author Sergey Kandaurov <pluknet@nginx.com>
date Tue, 22 Nov 2022 18:05:36 +0400
parents efd71d49bde0
children
comparison
equal deleted inserted replaced
9041:e23fd55e1cc6 9042:96bdda15413a
12 #include <ngx_config.h> 12 #include <ngx_config.h>
13 #include <ngx_core.h> 13 #include <ngx_core.h>
14 14
15 15
16 #define NGX_WRITE_SHUTDOWN SD_SEND 16 #define NGX_WRITE_SHUTDOWN SD_SEND
17 #define NGX_READ_SHUTDOWN SD_RECEIVE
18 #define NGX_RDWR_SHUTDOWN SD_BOTH
17 19
18 20
19 typedef SOCKET ngx_socket_t; 21 typedef SOCKET ngx_socket_t;
20 typedef int socklen_t; 22 typedef int socklen_t;
21 23