Re: Re: Streams Problems

From: Date: Sun, 13 Oct 2002 22:08:30 +0000
Subject: Re: Re: Streams Problems
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-89416@lists.php.net to get a copy of this message
Hi Ilia, I've just added an E_NOTICE(*) when a socket send(2) fails. Hopefully, this will help track down the problem, as I can't see any reason why it would mysteriously fail. It might be that we need to look out for error codes such as EAGAIN/EWOULDBLOCK/ENOBUFS/ENOMEM/EINTR and re-try the send. There is also a possibly related bug #16114 under Win32. --Wez. *: I didn't want to make too much noise while we are examining what's going wrong. On 12/10/02, "Ilia A." <ilia@prohost.org> wrote: > After further testing, specifically the latest run-tests.php script, it > appears that sending data via sockets using php is still problematic. > Using the latest CVS I've tried sending a string 60960 bytes long via HTTP > (POST request). According to another PHP script on the other end only 60415 > bytes of data actually arrived. This leads me to believe that the problem is > still there, albeit there is some improvment from before, when anything in > excess of 16k got cut off. > > Ilia > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.dev (#89416) next »