php-windows Digest 5 Mar 2006 11:45:27 -0000 Issue 2904
Topics (messages 26741 through 26742):
Re: Fsockopen with ssl takes 8.4 seconds to return on Windows
26741 by: George Cherian
26742 by: trystano.aol.com
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
This is definitely a bug. In php5.0 it takes around 8.4 seconds. On php-5.1
now it takes 1.2 seconds. That is only for the first connection. If you make a
second fsockopen in the SAME script, it takes only 0.03 seconds. And the
problem occurs only for ssl streams.
These are the times for fsockopen on windows and linux:
TCP:
linux: 0.003 seconds
windows: 0.003 seconds
SSL:
linux: 0.02
Windows: php-5.0: 8.2 seconds
Windows: php-5.1: 1.2 seconds
Thanks.
George.
--- End Message ---
--- Begin Message ---
Hi George, thanks for informing us of this info.
Can I ask how managed to get these times of executing the fsockopen functions?
Tryst
--- End Message ---