#504: Redirects might take a long time due to Content-Length header > 0
----------------------+-----------------------------------------------------
Reporter: david | Owner: david
Type: defect | Status: new
Priority: normal | Milestone: 0.11
Component: response | Version: 0.11.0RC4
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Example: ExecutionTimeFilter modifies the output, appends its comment.
Then Content-Length is > 0, but no content is actually sent, since a
redirect was set. The browser keeps the connection open until a timeout
occurs.
Solution:
* Check if a response is set, too, in isMutable()
* Force Content-Length to 0 if a redirect is set in WebResponse
--
Ticket URL: <http://trac.agavi.org/ticket/504>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets