2 writes to _connection
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (2)
71
_connection
= connection;
1433
stream.
_connection
= null!;
36 references to _connection
System.Net.Http (36)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (36)
93
_connection
.LogExceptions(_stream.DisposeAsync().AsTask());
107
_connection
.RemoveStream(_stream);
119
_connection
.LogExceptions(_stream.DisposeAsync().AsTask());
131
_connection
.RemoveStream(_stream);
202
_connection
.LogExceptions(readResponseTask);
210
_connection
.LogExceptions(sendRequestTask);
228
_connection
.LogExceptions(writesClosed);
255
if (
_connection
.Pool.Settings._useCookies)
257
CookieHelper.ProcessReceivedCookies(_response,
_connection
.Pool.Settings._cookieContainer!);
289
Exception innerException =
_connection
.AbortException ?? HttpProtocolException.CreateHttp3StreamException(code, ex);
300
Exception abortException =
_connection
.Abort(HttpProtocolException.CreateHttp3ConnectionException(code, SR.net_http_http3_connection_close));
309
catch (QuicException ex) when (ex.QuicError == QuicError.OperationAborted &&
_connection
.AbortException != null)
312
HttpRequestError httpRequestError =
_connection
.AbortException is HttpProtocolException
316
throw new HttpRequestException(httpRequestError, SR.net_http_client_execution_error,
_connection
.AbortException);
335
_connection
.Abort(ex);
340
Exception abortException =
_connection
.Abort(HttpProtocolException.CreateHttp3ConnectionException(Http3ErrorCode.QPackDecompressionFailed));
420
if (
_connection
.Pool.Settings._expect100ContinueTimeout != Timeout.InfiniteTimeSpan)
423
this,
_connection
.Pool.Settings._expect100ContinueTimeout, Timeout.InfiniteTimeSpan);
604
if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(
_connection
.Id);
632
BufferBytes(
_connection
.Pool._http3EncodedAuthorityHostHeader);
647
BufferBytes(
_connection
.AltUsedEncodedHeaderBytes);
662
if (
_connection
.Pool.Settings._useCookies)
664
string cookiesFromContainer =
_connection
.Pool.Settings._cookieContainer!.GetCookieHeader(request.RequestUri);
667
Encoding? valueEncoding =
_connection
.Pool.Settings._requestHeaderEncodingSelector?.Invoke(HttpKnownHeaderNames.Cookie, request);
703
uint maxHeaderListSize =
_connection
.MaxHeaderListSize;
715
HeaderEncodingSelector<HttpRequestMessage>? encodingSelector =
_connection
.Pool.Settings._requestHeaderEncodingSelector;
908
throw new HttpRequestException(HttpRequestError.ConfigurationLimitExceeded, SR.Format(SR.net_http_response_headers_exceeded_length,
_connection
.Pool.Settings.MaxResponseHeadersByteLength));
1081
Encoding? encoding =
_connection
.Pool.Settings._responseHeaderEncodingSelector?.Invoke(descriptor.Name, _request);
1082
headerValue =
_connection
.GetResponseHeaderValueWithCaching(descriptor, literalValue, encoding);
1300
_connection
.Abort(exception);
1303
case QuicException e when (e.QuicError == QuicError.OperationAborted &&
_connection
.AbortException != null):
1305
HttpRequestError httpRequestError =
_connection
.AbortException is HttpProtocolException
1308
throw new HttpRequestException(httpRequestError, SR.net_http_client_execution_error,
_connection
.AbortException);
1316
_connection
.Abort(ex);
1377
_connection
.Trace(StreamId, message, memberName);
1432
stream.
_connection
.RemoveStream(stream._stream);