mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-21 11:30:01 +00:00
fix accept() not looping on BSD_EWOULDBLOCK
This commit is contained in:
1 parent
250b1d511b
commit
4abc34ffd1
1 file changed
+1
-1
+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