-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you send garbage via telnet you should receive a 400 #404
Labels
Comments
Agree. We have catch the error in https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/server.py#L241 and https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/server.py#L253, return 400 HTTP status code and log traceback only in debug mode. |
Would you prepare Pull Request? |
julien-duponchelle
added a commit
to julien-duponchelle/aiohttp
that referenced
this issue
Jun 9, 2015
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On most server when you send non HTTP content to the server, the server reply by a 400 or close the connection.
Actually in aiohttp if you receive non HTTP content you got a stacktrace in the log and client receive a 500:
The main issue for me is the fact it's noisy in the log.
The text was updated successfully, but these errors were encountered: