PR feedback
This commit is contained in:
parent
14717f2a3f
commit
8399910a6e
|
|
@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Http
|
||||||
private static long _lastConnectionId = DateTime.UtcNow.Ticks;
|
private static long _lastConnectionId = DateTime.UtcNow.Ticks;
|
||||||
|
|
||||||
private readonly UvStreamHandle _socket;
|
private readonly UvStreamHandle _socket;
|
||||||
private Frame _frame;
|
private readonly Frame _frame;
|
||||||
private ConnectionFilterContext _filterContext;
|
private ConnectionFilterContext _filterContext;
|
||||||
private LibuvStream _libuvStream;
|
private LibuvStream _libuvStream;
|
||||||
private FilteredStreamAdapter _filteredStreamAdapter;
|
private FilteredStreamAdapter _filteredStreamAdapter;
|
||||||
|
|
@ -83,7 +83,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Http
|
||||||
_frame.SocketOutput = SocketOutput;
|
_frame.SocketOutput = SocketOutput;
|
||||||
|
|
||||||
_frame.Start();
|
_frame.Start();
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
@ -139,8 +138,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Http
|
||||||
// called from a libuv thread.
|
// called from a libuv thread.
|
||||||
ThreadPool.Run(() =>
|
ThreadPool.Run(() =>
|
||||||
{
|
{
|
||||||
var connection = this;
|
_frame.Abort();
|
||||||
connection._frame.Abort();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue