From 07c1dc146237fd0cb3fa23b44bede57d1c72da0a Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Fri, 1 May 2026 19:26:39 +0300 Subject: [PATCH] Fix shutdown for Windows --- src/proxy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/proxy.h b/src/proxy.h index 2a67daa..2b3a9f2 100644 --- a/src/proxy.h +++ b/src/proxy.h @@ -51,6 +51,8 @@ #include #define SASIZETYPE int #define SHUT_RDWR SD_BOTH +#define SHUT_WR SD_SEND +#define SHUT_RD SD_RECEIVE #else #ifndef FD_SETSIZE #define FD_SETSIZE 4096