jason Mon Dec 2 00:45:13 2002 EDT
Modified files:
/php4/ext/sockets php_sockets_win.c
Log:
Revert patch that should have been reverted a long time ago.
There was a memory leak in the error handling system on win32, that this patch
circumvented (by preventing the errors (EAGAIN mesages) from being generated).
# I must have forgotten to remove this when I fixed the leak
Index: php4/ext/sockets/php_sockets_win.c
diff -u php4/ext/sockets/php_sockets_win.c:1.5 php4/ext/sockets/php_sockets_win.c:1.6
--- php4/ext/sockets/php_sockets_win.c:1.5 Sat Jun 15 12:04:59 2002
+++ php4/ext/sockets/php_sockets_win.c Mon Dec 2 00:45:13 2002
@@ -44,7 +44,7 @@
}
retval = recv(sock, buffer, bytes, 0);
- SleepEx(1, TRUE);
+
if(retval < 0) {
efree(buffer);
return retval;
@@ -175,4 +175,4 @@
va_end(va);
return retval;
}
-#endif
\ No newline at end of file
+#endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php