2 writes to SocketError
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
Internal\SocketOperationResult.cs (2)
20SocketError = null; 26SocketError = exception;
12 references to SocketError
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (12)
Internal\SocketConnection.cs (10)
210if (IsConnectionResetError(result.SocketError.SocketErrorCode)) 212var ex = result.SocketError; 220if (IsConnectionAbortError(result.SocketError.SocketErrorCode)) 222error = result.SocketError; 231error = result.SocketError; 290if (IsConnectionResetError(transferResult.SocketError.SocketErrorCode)) 292var ex = transferResult.SocketError; 299if (IsConnectionAbortError(transferResult.SocketError.SocketErrorCode)) 301shutdownReason = transferResult.SocketError; 306unexpectedError = shutdownReason = transferResult.SocketError;
Internal\SocketOperationResult.cs (2)
15[MemberNotNullWhen(true, nameof(SocketError))] 16public readonly bool HasError => SocketError != null;