mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-13 10:15:00 +00:00
fix accept() not looping on BSD_EWOULDBLOCK
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user