-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
When the URL contains more than 65534 characters, the error code returned by Hyper is not 414. #2701
Comments
Good catch! We could add a check for the length just before calling |
seanmonstar
added
A-http1
Area: HTTP/1 specific.
A-server
Area: server.
E-easy
Effort: easy. A task that would be a great starting point for a new contributor.
labels
Nov 19, 2021
rajing
added a commit
to rajing/hyper
that referenced
this issue
Nov 22, 2021
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC. Closes hyperium#2701
First pull request. Happy to change based on feedback. |
rajing
added a commit
to rajing/hyper
that referenced
this issue
Nov 23, 2021
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC. Closes hyperium#2701
rajing
added a commit
to rajing/hyper
that referenced
this issue
Nov 25, 2021
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC. Closes hyperium#2701
rajing
added a commit
to rajing/hyper
that referenced
this issue
Nov 25, 2021
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC. Closes hyperium#2701
rajing
added a commit
to rajing/hyper
that referenced
this issue
Nov 25, 2021
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC. Closes hyperium#2701
rajing
added a commit
to rajing/hyper
that referenced
this issue
Nov 25, 2021
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC. Closes hyperium#2701
rajing
added a commit
to rajing/hyper
that referenced
this issue
Nov 25, 2021
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC. Closes hyperium#2701
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The length of the from_shared method of the third-party library http::Uri is verified, The maximum length is (u16::MAX - 1).
The text was updated successfully, but these errors were encountered: