-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[HTTP/3] Stress hack for msquic dropping connections #84793
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
Changes from 1 commit
df45d59
df7b541
bd6c04d
fa5820e
b649716
ed73b02
7e4d512
1f8f56e
d2c113c
7613f06
0a9731f
e316a13
949d82b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -31,6 +31,7 @@ internal sealed unsafe partial class MsQuicApi | |||||
| // Remove once fixed: https://github.com/mono/linker/issues/1660 | ||||||
| [DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(MsQuicSafeHandle))] | ||||||
| [DynamicDependency(DynamicallyAccessedMemberTypes.PublicConstructors, typeof(MsQuicContextSafeHandle))] | ||||||
| [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(MsQuicApi))] | ||||||
| private MsQuicApi(QUIC_API_TABLE* apiTable) | ||||||
| { | ||||||
| ApiTable = apiTable; | ||||||
|
|
@@ -227,4 +228,19 @@ private static bool IsTls13Disabled(bool isServer) | |||||
| #endif | ||||||
| return false; | ||||||
| } | ||||||
|
|
||||||
| // Do not change the name and signature without looking for textual occurrences! | ||||||
| // This method is invoked via reflection from QUIC functional and HTTP stress tests. | ||||||
| private static (bool, string) SetUpForTests() | ||||||
|
||||||
| // For testing. | |
| internal HPackDecoder(int maxDynamicTableSize, int maxHeadersLength, DynamicTable dynamicTable) |
I can always go back to code sharing though and try to minimize the number of shared files, either with some some reflection, strategically placed #if and/or code stubs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The HPack ctr is not "dead code" otherwise, because it's also being used by the public constructor above. For me having a private, test-only method is a good tradeoff, considering the maintenance burden that comes with other options, but we should stick to BCL guidance. @stephentoub is it ok to expose such methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Combo of shared code + reflection is there. @antonfirsov could you look into copying the appropriate files in the docker container please?
Uh oh!
There was an error while loading. Please reload this page.