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)
210
if (IsConnectionResetError(result.
SocketError
.SocketErrorCode))
212
var ex = result.
SocketError
;
220
if (IsConnectionAbortError(result.
SocketError
.SocketErrorCode))
222
error = result.
SocketError
;
231
error = result.
SocketError
;
290
if (IsConnectionResetError(transferResult.
SocketError
.SocketErrorCode))
292
var ex = transferResult.
SocketError
;
299
if (IsConnectionAbortError(transferResult.
SocketError
.SocketErrorCode))
301
shutdownReason = transferResult.
SocketError
;
306
unexpectedError = shutdownReason = transferResult.
SocketError
;
Internal\SocketOperationResult.cs (2)
15
[MemberNotNullWhen(true, nameof(
SocketError
))]
16
public readonly bool HasError =>
SocketError
!= null;