Replat on System.Net.Quic#18689
Conversation
| <add key="aspnetcore-dev" value="https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json" /> | ||
| <add key="aspnetcore-tools" value="https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json" /> | ||
| <add key="roslyn-tools" value="https://dotnet.myget.org/F/roslyn-tools/api/v3/index.json" /> | ||
| <add key="general-testing" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/general-testing/nuget/v3/index.json" /> |
There was a problem hiding this comment.
What are we getting from this feed?
There was a problem hiding this comment.
The MsQuicPackage. I can make a separate nuget config inside of the kestrel folder, but it's used in runtime.
|
Nit: Add readonly to some more fields. |
Tratcher
left a comment
There was a problem hiding this comment.
The Transport.Quic/README.md is outdated.
|
🆙 📅 |
| { | ||
| if (_closeTask != default) | ||
| { | ||
| await _connection.CloseAsync(errorCode: 0); |
There was a problem hiding this comment.
Nit: It's probably worth storing this in _closeTask to protect against multiple calls to DisposeAsync.
| Options = options; | ||
| } | ||
|
|
||
| public IHostApplicationLifetime AppLifetime { get; } |
There was a problem hiding this comment.
Is the IHostApplicationLifetime still being used anywhere? It seems like a pretty weird requirement for stuff like QuicConnectionFactory.
| using Microsoft.Extensions.Logging; | ||
| using Microsoft.Extensions.Options; | ||
|
|
||
| namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Quic |
There was a problem hiding this comment.
I think we should either remove ".Client" from Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Client.SocketConnectionFactory or add it here. Fortunately SocketConnectionFactory hasn't shipped yet, so we have a choice.
|
|
||
| public override void Abort(ConnectionAbortedException abortReason) | ||
| { | ||
| // Don't call _stream.Shutdown and _stream.Abort at the same time. |
There was a problem hiding this comment.
Is it OK to call _stream.Abort after _stream.Shutdown?
Still to do:
This work is required to continue working on HTTP/3