-
Notifications
You must be signed in to change notification settings - Fork 4.5k
transport: add timeout for writing GOAWAY on http2Client.Close() #7371
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
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6c316d6
fix: add timeout for loopy writer wait to close itself
aranjans 284f45b
refactor: resolved suggestions from purnesh
aranjans 44d0979
remove hangingConn logic
aranjans 73da571
Undo refactor
aranjans b083d8c
resolved easwar's comments: refactored server code in test and comments
aranjans 2525c9b
fixed easwars comment: put ct.Close in goroutine
aranjans cd7b716
update test method with easwar's code
aranjans bc66ca9
don't use time.After() in non-test code to make vet happy
easwars 8ffe575
fix: replace Warning with Infof
aranjans a684542
fix: add hanging conn dialer
aranjans 59cc230
fixed race condition in test
aranjans b9a16d4
Decouple error logic with timer logic waiting for loopy
aranjans 3ec2ccb
Remove redundant overridden methods of hangingConn
aranjans 4a6bcf5
fixed nits
aranjans 205fbdf
Make isGreetingDone part of hangingConn struct
aranjans a7a7bb5
fixed nits
aranjans 9636c56
Set write deadline for net.Conn
aranjans aebe562
remove timer for hc.Write
aranjans fad99ba
Revert the atomic boolean for hangingConn.Write()
aranjans 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
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
Oops, something went wrong.
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.