Skip to content
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

fix(http1): return 414 when URI contains more than 65534 characters #2706

Merged
merged 2 commits into from Nov 29, 2021

Conversation

rajing
Copy link
Contributor

@rajing rajing commented Nov 23, 2021

Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC.

Closes #2701

@rajing rajing force-pushed the return-414-code branch 4 times, most recently from f1ea9e4 to 944a5ce Compare November 25, 2021 02:31
Previous behavior returned a 404 Bad Request. Conforms to HTTP 1.1 RFC.

Closes hyperium#2701
src/error.rs Outdated Show resolved Hide resolved
@seanmonstar seanmonstar merged commit 5f938ff into hyperium:master Nov 29, 2021
@rajing rajing deleted the return-414-code branch November 30, 2021 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When the URL contains more than 65534 characters, the error code returned by Hyper is not 414.
2 participants