2 writes to SocketError
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
Internal\SocketOperationResult.cs (2)
20
SocketError
= null;
26
SocketError
= exception;
12 references to SocketError
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (12)
Internal\SocketConnection.cs (10)
213
if (IsConnectionResetError(result.
SocketError
.SocketErrorCode))
215
var ex = result.
SocketError
;
223
if (IsConnectionAbortError(result.
SocketError
.SocketErrorCode))
225
error = result.
SocketError
;
234
error = result.
SocketError
;
295
if (IsConnectionResetError(transferResult.
SocketError
.SocketErrorCode))
297
var ex = transferResult.
SocketError
;
304
if (IsConnectionAbortError(transferResult.
SocketError
.SocketErrorCode))
306
shutdownReason = transferResult.
SocketError
;
311
unexpectedError = shutdownReason = transferResult.
SocketError
;
Internal\SocketOperationResult.cs (2)
15
[MemberNotNullWhen(true, nameof(
SocketError
))]
16
public readonly bool HasError =>
SocketError
!= null;