ZF-3548: Improper handling of no-body HTTP responses

Issue Type: Bug Created: 2008-07-01T15:28:02.000+0000 Last Updated: 2008-09-02T10:38:56.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Shahar Evron (shahar) Assignee: Shahar Evron (shahar) Tags: - Zend_Http_Client

Related issues: - ZF-3333



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.


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.