9 references to RetryOnConnectionFailure
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
509
catch (HttpRequestException e) when (e.AllowRetry == RequestRetryType.
RetryOnConnectionFailure
)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
277
throw new HttpRequestException(HttpRequestError.ConnectionError, "QUIC connected but no HTTP/3 indicated via ALPN.", null, RequestRetryType.
RetryOnConnectionFailure
);
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (1)
2169
throw new HttpRequestException((innerException as HttpIOException)?.HttpRequestError ?? HttpRequestError.Unknown, message, innerException, RequestRetryType.
RetryOnConnectionFailure
);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (3)
302
throw new HttpRequestException(HttpRequestError.Unknown, SR.net_http_request_aborted, null, RequestRetryType.
RetryOnConnectionFailure
);
315
throw new HttpRequestException(HttpRequestError.Unknown, SR.net_http_request_aborted, null, RequestRetryType.
RetryOnConnectionFailure
);
333
throw new HttpRequestException(HttpRequestError.Unknown, SR.net_http_client_execution_error, _abortException, RequestRetryType.
RetryOnConnectionFailure
);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
285
throw new HttpRequestException(HttpRequestError.HttpProtocolError, SR.net_http_request_aborted, rejectedException, RequestRetryType.
RetryOnConnectionFailure
);
330
throw new HttpRequestException(HttpRequestError.Unknown, SR.net_http_request_aborted, ex, RequestRetryType.
RetryOnConnectionFailure
);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
933
mappedException = new HttpRequestException(error, SR.net_http_client_execution_error, ioe, _canRetry ? RequestRetryType.
RetryOnConnectionFailure
: RequestRetryType.NoRetry);