httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40179] New: - seems that mod_proxy does not handle correctly http 205 return code
Date Thu, 03 Aug 2006 14:05:21 GMT
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=40179>.
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=40179

           Summary: seems that mod_proxy does not handle correctly http 205
                    return code
           Product: Apache httpd-2
           Version: 2.0.58
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: fazelart@unedic.fr


Hello

At our company are using apache as a forward proxy, with squid as an upstream 
proxy. (2.0.49). A user has complained that http://www.lexbase.fr was not 
possible to reach.
Digging a little we have found that this web site uses http return code 205 
when sending back some javascript.
squid does forward to apache the javascript, but mod_proxy stops the 
connection, sending a tcp reset to squid, and forwarding to the client browser 
only the header received, adding a COntent-Length: 0.
We have tested and found that mod_proxy 2.0.58 and possibly 2.0.59 behave the 
same.
Does anyone have encountered the same problems ?

Thanks for your help

Regards.

François AZELART

Here the simulated server
localhost ~ # nc -l -p 8081
GET http://www.lexbase.fr/lexbase/SilverStream/Pages/homepage.html HTTP/1.1
Host: www.lexbase.fr
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
Referer: http://www.lexbase.fr
Accept-Language: fr
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Pragma: no-cache
Cookie: sess=@1be923e:10cced1dc28
X-NovINet: v1.2
Via: 1.1 PX20412001, 1.1 www4.lexbase.fr:8080, 1.1, 1.0
lxispaepxy03.unedic.dmz: 8082 (squid/2.5.STABLE5)
Cache-Control: max-age=259200
Max-Forwards: 10

HTTP/1.0 205 Reset Content
Date: Wed, 02 Aug 2006 12:24:46 GMT
Content-Type: text/html;charset=iso-8859-1
Last-Modified: Fri, 01 Apr 2005 17:09:16 GMT
Server: SilverStream Server/4.0
Content-Length: 120


francois@localhost ~ $

Here the simulated browser:
francois@localhost ~ $ nc 127.0.0.1 8080
GET http://www.lexbase.fr/lexbase/SilverStream/Pages/homepage.html HTTP/1.0
Host: www4.lexbase.fr
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
Referer: http://www.lexbase.fr
Accept-Language: fr
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Pragma: no-cache
Cookie: sess=@1be923e:10cced1dc28
X-NovINet: v1.2
Via: 1.1 PX20412001, 1.1 www4.lexbase.fr:8080, 1.1
lxispaepxy03.unedic.dmz:8082 (squid/2.5.STABLE5)
Cache-Control: max-age=259200
Connection: keep-alive

HTTP/1.1 205 Reset Content
Date: Thu, 03 Aug 2006 13:49:49 GMT
Server: SilverStream Server/4.0
Content-Type: text/html;charset=iso-8859-1
Last-Modified: Fri, 01 Apr 2005 17:09:16 GMT
Content-Length: 0
Via: 1.0
Connection: close


an (hopefully relevant) extract from httpd.conf

# ---------------------------------------------------------------------
# PARAMETRAGE DU PROXY HTTP

<IfModule mod_proxy.c>
ProxyRequests On
ProxyRemote * http://127.0.0.1:8081

</IfModule>


ProxyRemote * http://127.0.0.1:8081

-- 
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


Mime
View raw message