Re: Fsockopen with ssl takes 8.4 seconds to return on Windows
| From: | George Cherian | Date: | Sun, 05 Mar 2006 02:57:25 +0000 |
| Subject: | Re: Fsockopen with ssl takes 8.4 seconds to return on Windows | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26741@lists.php.net to get a copy of this 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.