Invalid protocol in query results in exception

max@a... max@a...
Thu, 12 Jul 2001 20:55:16 -0000


Sending 

GET / 1.0\r\n\r\n

instead of

GET / HTTP/1.0\r\n\r\n

to Medusa 3.41 results in:

error: uncaptured python exception, closing channel <http_channel
connected 127.0.0.1:4629 at 81cf04c channel#: 0 requests:>
(exceptions.AttributeError:'None' object has no attribute 'end'
[/usr/local/lib/python2.0/site-packages/medusa/asyncore.py|poll|96]
[/usr/local/lib/python2.0/site-packages/medusa/asy
ncore.py|handle_read_event|384]
[/usr/local/lib/python2.0/site-packages/medusa/asy
nchat.py|handle_read|131]
[/usr/local/lib/python2.0/site-packages/medusa/htt
p_server.py|found_terminator|463]
[/usr/local/lib/python2.0/site-packages/medusa/htt
p_server.py|crack_request|692])

which closes the HTTP connection rather than just responding with a
400 (Bad Request).