13 references to Pool
System.Net.Http (13)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
287
_pool.Settings._metrics!.RequestLeftQueue(request,
Pool
, duration, versionMajor: 3);
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (12)
76
_headerBudgetRemaining = connection.
Pool
.Settings.MaxResponseHeadersByteLength;
255
if (_connection.
Pool
.Settings._useCookies)
257
CookieHelper.ProcessReceivedCookies(_response, _connection.
Pool
.Settings._cookieContainer!);
420
if (_connection.
Pool
.Settings._expect100ContinueTimeout != Timeout.InfiniteTimeSpan)
423
this, _connection.
Pool
.Settings._expect100ContinueTimeout, Timeout.InfiniteTimeSpan);
632
BufferBytes(_connection.
Pool
._http3EncodedAuthorityHostHeader);
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);
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);