Browsing articles tagged with "framework - Reich Consulting"
Dec
22
2009

Zend_Http_Client_Adapter_Socket Problems

While running my unit tests for an application I’m developing, I noticed that certain web service components were intermittently failing.  The failure was caused by irregularly formed XML responses from Amazon’s Web Services. The failures occured as Exceptions from within the Zend_Service_Amazon component, but upon further inspection I was able to discover that the HTTP Adapter being used from within Zend_Service_Amazon, which is by default Zend_Http_Client_Adapter_Socket, was not returning the entire stream from Amazon.  After [...]