cvs: php4 /ext/sockets php_sockets_win.c

From: Date: Sat, 15 Jun 2002 16:05:00 +0000
Subject: cvs: php4 /ext/sockets php_sockets_win.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12370@lists.php.net to get a copy of this message
phanto Sat Jun 15 12:05:00 2002 EDT Modified files: /php4/ext/sockets php_sockets_win.c Log: workaround for a win32 memleak # this definitely has to be revisited ! # maybe we should use winsock2 and overlapped IO Index: php4/ext/sockets/php_sockets_win.c diff -u php4/ext/sockets/php_sockets_win.c:1.4 php4/ext/sockets/php_sockets_win.c:1.5 --- php4/ext/sockets/php_sockets_win.c:1.4 Tue Dec 11 10:30:26 2001 +++ php4/ext/sockets/php_sockets_win.c Sat Jun 15 12:04:59 2002 @@ -44,6 +44,7 @@ } retval = recv(sock, buffer, bytes, 0); + SleepEx(1, TRUE); if(retval < 0) { efree(buffer); return retval;

« previous php.cvs (#12370) next »