www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Jellinghaus ...@dungeon.inka.de>
Subject protocol/3022: HTTP/1.1 : No HEader, if apache get's an invalid request as second
Date Thu, 17 Sep 1998 13:32:33 GMT

>Number:         3022
>Category:       protocol
>Synopsis:       HTTP/1.1 : No HEader, if apache get's an invalid request as second
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Sep 17 06:40:01 PDT 1998
>Originator:     aj@dungeon.inka.de
>Release:        1.3.1
Does not matter - verified with many unix version, and also many old apache version.
printf "GET / HTTP/1.1\r\nHost: dungeon.inka.de\r\n\r\n\0GET / HTTP/1.1\r\nHost: dungeon.inka.de\r\n\r\n"
|socket localhost 80 |less
not the \0 before the second request - the is invalid.
apache gives back an 501 Not implemented (that's ok), but it doesn't give a 
HTTP/1.1 501 Header, but starts directly with <!DOCTYPE ...

the shell command above gives it (printf is a bash function, socket a common
found tool to pipe stdin/out via tcp/ip to some daemon.
send a HTTP/1.1 501 ... 
header with all the usual stuff (Date: Server: etc.)
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> 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!         ]

View raw message