View Single Post
Old 11-29-2009, 06:53 AM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
PHP: something between 5.2.9 and 5.2.11 is causing connections to close prematurely?

I have a couple of sites that use URL fopen wrappers to fetch content remotely, and some others that do it at a more low level with fsockopen+fread. Works fine on a server with PHP 5.2.9, but after moving the sites to a server with PHP 5.2.11 I'm seeing data from outbound connections consistently truncated; it appears the connection is closing prematurely for some reason.

Downgrading to 5.2.9 on the new server seems to have fixed the problem.

Anyone else seen this? Remember it's for OUTBOUND connects initiated by a script.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote