includeos / acorn

Acorn Web Server Appliance, built with IncludeOS
Apache License 2.0
93 stars 13 forks source link

Malformed GET request makes Acorn non-responsive #72

Closed ingve closed 8 years ago

ingve commented 8 years ago

This request reliably makes Acorn stop responding:

"GET / HTTP/1.0\r\nContent-length:18\r\nUser-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)\r\n\r\n"

AndreasAakesson commented 8 years ago

This was due to sending a Content-Length without any data, and assertion failed because all data wasn't received. It's no longer allowed to pass Content-Length into GET request (not sure if thats 100% correct). Reopen if the same thing would happen again.