>Number:         4033
>Category:       general
>Synopsis:       HTTP/0.9 requests yield invalid response
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Mar 10 15:20:00 PST 1999
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.[34]
>Environment:
doesn't matter, it's a problem with the resquest parser/response generator:
FreeBSD sapphire.edcenter.lane.edu 3.0-RELEASE FreeBSD 3.0-RELEASE #4: Tue Jan  
5 14:14:55 PST 1999     [EMAIL PROTECTED]:/usr/src/sys/compile/sapphire  i386
>Description:
if you generate a HTTP request using the HTTP/0.9 protocol it will send a Full
HTTP/1.1 response instead of the simple response as mandated by rfc1945...
the fix is to return a simple request when you recieve a HTTP version of 0.9.
>How-To-Repeat:
telnet somehostrunningapache 80
GET /somefile HTTP/0.9

<here is where it should dump then entity body but instead it returns a full 
response>
>Fix:
I haven't looked at the code, but simply don't send the headers when you recieve
a HTTP/0.9 request.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]



Reply via email to