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)
209
if (IsConnectionResetError(result.
SocketError
.SocketErrorCode))
211
var ex = result.
SocketError
;
219
if (IsConnectionAbortError(result.
SocketError
.SocketErrorCode))
221
error = result.
SocketError
;
230
error = result.
SocketError
;
289
if (IsConnectionResetError(transferResult.
SocketError
.SocketErrorCode))
291
var ex = transferResult.
SocketError
;
298
if (IsConnectionAbortError(transferResult.
SocketError
.SocketErrorCode))
300
shutdownReason = transferResult.
SocketError
;
305
unexpectedError = shutdownReason = transferResult.
SocketError
;
Internal\SocketOperationResult.cs (2)
15
[MemberNotNullWhen(true, nameof(
SocketError
))]
16
public readonly bool HasError =>
SocketError
!= null;