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