-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Add SocketConnectionFactory and http2cat #14582
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
Conversation
eb80176
to
434f340
Compare
public static readonly int MaxRequestHeaderFieldSize = 16 * 1024; | ||
public static readonly string _4kHeaderValue = new string('a', 4096); | ||
|
||
public static readonly IEnumerable<KeyValuePair<string, string>> _browserRequestHeaders = new[] |
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.
Anyway to share with this with our test infrastructure.
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.
Maybe. It's already diverged a fair bit from Http2TestBase, so I'm not sure it's worth the effort though.
09ce70f
to
db7f16c
Compare
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>netcoreapp5.0</TargetFramework> |
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.
This should be $(DefaultNetCoreTargetFramework)
This certainly meets its manual testing objectives. Here are some ideas for making it more broadly applicable in the future. E.g. I'd like to directly consume this as a library in Kestrel and HttpSys tests and remove the duplicate infrastructure.
None of this is a near term priority. |
@Tratcher can you capture that in an issue so we don’t lose it |
TODO: Add SslStream
TODO: Support half-closing the SocketConnection