- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(h1): add server header read timeout #2675
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
Merged
seanmonstar
merged 17 commits into
hyperium:master
from
M4SS-Code:h1-header-read-timeout
Nov 18, 2021
+308
−3
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
90f55ad
feat(server): Implement http1 server header read timeout
paolobarbolini c45b169
Fix features
paolobarbolini 6ea00db
More fixes
paolobarbolini 0e50492
Add more tests
paolobarbolini 16b410b
Expand test
paolobarbolini a4ece6a
Merge branch 'master' into h1-header-read-timeout
paolobarbolini 7b90727
Remove old terminology
paolobarbolini 1990a67
Merge branch 'master' into h1-header-read-timeout
paolobarbolini 72bd2c1
Don't start timeout when the connection is established
paolobarbolini 80da965
Merge branch 'master' into h1-header-read-timeout
paolobarbolini b9b7e73
Require the runtime feature
paolobarbolini 1f6b7b7
Use main error Kind
paolobarbolini a2f82d0
Recycle the same Box
paolobarbolini d312ecd
Fix compiling
paolobarbolini ef01e7c
Another fix
paolobarbolini a5cf351
Update src/server/conn.rs
paolobarbolini 0f8a85d
Update src/server/server.rs
paolobarbolini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,6 +100,7 @@ stream = [] | |
runtime = [ | ||
"tcp", | ||
"tokio/rt", | ||
"tokio/time", | ||
] | ||
tcp = [ | ||
"socket2", | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.