Merge pull request #2230 from cesanta/rl

RL: fix accept() not looping on BSD_EWOULDBLOCK
This commit is contained in:
Sergey Lyubka
2023-06-06 19:42:17 +01:00
committed by GitHub
+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