diff options
Diffstat (limited to 'ext/sockets/php_sockets_win.c')
-rw-r--r-- | ext/sockets/php_sockets_win.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sockets/php_sockets_win.c b/ext/sockets/php_sockets_win.c index 374d03b35b..54b52bd56c 100644 --- a/ext/sockets/php_sockets_win.c +++ b/ext/sockets/php_sockets_win.c @@ -44,6 +44,7 @@ ssize_t readv(SOCKET sock, const struct iovec *iov, int iovcnt) { } retval = recv(sock, buffer, bytes, 0); + SleepEx(1, TRUE); if(retval < 0) { efree(buffer); return retval; |