Re: [PHP] stream_get_contents() quite slow

2007-03-13 Thread Francois Aichelbaum
I doubt that's the reason : - it's working over the loopback interface - links and wget don't have any latence issues Nicholas Yim a écrit : > Hello Francois Aichelbaum, > > mainly due to the slow network speed > > Best regards, > > =

[PHP] stream_get_contents() quite slow

2007-03-12 Thread Francois Aichelbaum
Hi guys, I'm using stream_get_contents() to parse content of an HTTP session I opened with fsockopen. My requests headers is just fine and transmission is OK : (0.0007s) But when I read the HTTP answer with stream_get_contents(), it lasts about 2.5s ! The webpage is about 5 kB. The connect