forked from hyperium/http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase URI MAX_LEN to u32::MAX - 1
**This Commit** Increases the max length of URIs to be u32::MAX - 1 **Why?** STEM can receive requests > u16::MAX. When it tries to forward these requests to Impeller, `reqwest` crashes when parsing the URL into a URI because `http` returns a `Result::Err`. This is currently being tracked [here](seanmonstar/reqwest#668).
- Loading branch information
Mark Lodato
committed
Jan 6, 2021
1 parent
95c338e
commit d3b6821
Showing
4 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters