fix accept() not looping on BSD_EWOULDBLOCK

This commit is contained in:
Sergio R. Caprile
2023-06-02 11:56:27 -03:00
parent 250b1d511b
commit 4abc34ffd1
+1 -1
View File
@@ -16,7 +16,7 @@
#define MG_SOCK_RESET(errcode) \
((errcode) == BSD_ECONNABORTED || (errcode) == BSD_ECONNRESET)
#define MG_SOCK_INTR(fd) 0
#define MG_SOCK_INTR(fd) (fd == BSD_EWOULDBLOCK)
#define socklen_t int
#endif