You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/09/17 21:47:39 UTC

DO NOT REPLY [Bug 22951] - ProxyErrorOverride On sends wrong Content-length header after a 302 response

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22951>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22951


nick@aevum.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Solaris                     |All
           Platform|Sun                         |All




------- Additional Comments From nick@aevum.de  2005-09-17 21:47 -------
3xx responses aren't errors and are not seen by the user. So mod_proxy simply
shouldn't override them just like sioban mentioned.

The correct fix seems to be to change line 963 in proxy_http.c from
        if ( r->status == HTTP_OK )
to
        if ( r->status < 400 )

The current behavior is completely broken, so I'd suggest a big fat warning in
the manual for ProxyErrorOverride. This would have saved me hours of debugging.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org