ZF-3548: Improper handling of no-body HTTP responses
Description
Currently, Zend_Http_Client tries to read a response body even from a response that has no body (eg. 304, 204, no body-length header).
This mostly works but if keep-alive is enabled, it causes major slowdowns because the client tries to read until the connection is closed by the server. Additionally this causes requests with 304 etc. responses to always close (and never utilize keep-alive or persistent modes) - see ZF-3333 as well.
Comments
Posted by Shahar Evron (shahar) on 2008-07-01T15:29:27.000+0000
Both are symptoms of the same problem. Solving this one should also solve ZF-3333
Posted by Shahar Evron (shahar) on 2008-07-02T00:29:56.000+0000
Fixed in r. 9870. Does not break BC.
Posted by Wil Sinclair (wil) on 2008-09-02T10:38:56.000+0000
Updating for the 1.6.0 release.