-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Configure ping in HTTP2 #40257
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
Configure ping in HTTP2 #40257
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
17ddbce
init
2afc76f
Http2 ping
c590b7c
Merge remote-tracking branch 'upstream/master' into jajahoda/httpping
eb37332
clean up
712479f
enable tests
95bc2f3
Fix mac build
de89629
Merge branch 'master' of github.com:dotnet/runtime into jajahoda/http…
b3e4b3d
Split HttpHandlerDefaults
e06f092
Merge branch 'master' of github.com:dotnet/runtime into jajahoda/http…
6e2f371
Merge remote-tracking branch 'origin/jajahoda/httpping' into jajahoda…
b7ed6ce
Fix mac build
20f44cf
Fix browser and test csproj
b684730
Apply PR comments
014c8d6
Merge remote-tracking branch 'upstream/master' into jajahoda/httpping
60a757d
Remove Http2KeepAlice class
886a2da
fix trace message
863f636
ProcessPingAck no longer return bool
a987919
Apply suggestions from code review
aik-jahoda b221f43
Add argument out of ramnge message
be468cd
Merge branch 'jajahoda/httpping' of github.com:aik-jahoda/runtime int…
db89b58
Apply PR comments
02785d6
SocketsHttpHandler setters
d354a29
Merge remote-tracking branch 'upstream/master' into jajahoda/httpping
b83cfc3
Update src/libraries/Common/tests/System/Net/Http/Http2LoopbackConnec…
aik-jahoda 63e3d3f
Update src/libraries/System.Net.Http/src/Resources/Strings.resx
aik-jahoda 258f1c4
Apply suggestions from code review
aik-jahoda 2695f2e
PR comments
0ea45e8
Merge branch 'master' into jajahoda/httpping
ManickaP 7078d8e
Addressed the last batch of PR feedback.
ManickaP 9c1b6e7
Merge branch 'master' into jajahoda/httpping
ManickaP 86c8413
Fixed KeepAlive test dependency on frame chronology.
ManickaP c10beb9
Fixed FW compilation.
ManickaP b9c6b33
Split and moved tests to theirs proper places.
ManickaP 40e0e5c
More test fixing for super slow CI.
ManickaP 3a753b7
Exception texts.
ManickaP 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
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
17 changes: 17 additions & 0 deletions
17
src/libraries/System.Net.Http/src/System/Net/Http/HttpHandlerDefaults.cs
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
|
|
||
| using System.Threading; | ||
|
|
||
| namespace System.Net.Http | ||
| { | ||
| /// <summary> | ||
| /// Additional default values used used only in this assembly. | ||
| /// </summary> | ||
| internal static partial class HttpHandlerDefaults | ||
| { | ||
| public static readonly TimeSpan DefaultKeepAlivePingTimeout = TimeSpan.FromSeconds(20); | ||
aik-jahoda marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| public static readonly TimeSpan DefaultKeepAlivePingDelay = Timeout.InfiniteTimeSpan; | ||
| public const HttpKeepAlivePingPolicy DefaultKeepAlivePingPolicy = HttpKeepAlivePingPolicy.Always; | ||
| } | ||
| } | ||
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.