We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35d35f2 commit df2ad98Copy full SHA for df2ad98
src/Kestrel.Transport.Libuv/Internal/LibuvConstants.cs
@@ -22,7 +22,7 @@ internal static class LibuvConstants
22
[MethodImpl(MethodImplOptions.AggressiveInlining)]
23
public static bool IsConnectionReset(int errno)
24
{
25
- return errno == ECONNRESET || errno == EPIPE || errno == ENOTCONN | errno == EINVAL;
+ return errno == ECONNRESET || errno == EPIPE || errno == ENOTCONN || errno == EINVAL;
26
}
27
28
private static int? GetECONNRESET()
0 commit comments