You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kamyuentse opened this issue
Nov 3, 2017
· 2 comments
Labels
A-serverArea: server.C-bugCategory: bug. Something is wrong. This is bad!E-mediumEffort: medium. Some knowledge of how hyper internal works would be useful.
I think hyper should define the MAX_URI_LENGTH, or make it configurable. When the length of a request's URI exceed that value, hyper send a response with 414 (Request URI too long) status code to client instead of closing the connection silently.
The text was updated successfully, but these errors were encountered:
seanmonstar
added
A-server
Area: server.
E-medium
Effort: medium. Some knowledge of how hyper internal works would be useful.
C-bug
Category: bug. Something is wrong. This is bad!
labels
Nov 3, 2017
@seanmonstar Yeah, that is a silly URL length :) It came up as we're investigating migrating a Java HTTP service to a Rust one, so have some extensive tests we're running against both to ensure it's suitable for our purposes (as well as usual benchmarks, we're also seeing how it handles broken data, huge data, etc.).
A-serverArea: server.C-bugCategory: bug. Something is wrong. This is bad!E-mediumEffort: medium. Some knowledge of how hyper internal works would be useful.
As iron/iron#563 mentioned, hyper close connection silently on very long request URLs.
The slice of the log shown bellow:
I think hyper should define the
MAX_URI_LENGTH
, or make it configurable. When the length of a request's URI exceed that value, hyper send a response with414 (Request URI too long)
status code to client instead of closing the connection silently.The text was updated successfully, but these errors were encountered: