You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though mingw's <unistd.h> has a definition for SHUT_WR, it is
guarded by _POSIX_SOURCE, and does not get enabled in our build setup.
We can instead utilize winsock2.h's non-standard names for
shutdown(how).
We also need to allow for a missing definition of ESHUTDOWN.
Fixes: bf8653b ("server: Give client EOF when we are done writing")
Fixes: 6a7def7 ("blocksize-policy: Add blocksize-write-disconnect=N parameter")
0 commit comments