Home
last modified time | relevance | path

Searched refs:method_token (Results 1 – 5 of 5) sorted by relevance

/third_party/nghttp2/src/
Dhttp2.h387 bool expect_response_body(int method_token, int status_code);
402 StringRef to_method_string(int method_token);
Dhttp2.cc1367 bool expect_response_body(int method_token, int status_code) { in expect_response_body() argument
1368 return method_token != HTTP_HEAD && expect_response_body(status_code); in expect_response_body()
1572 StringRef to_method_string(int method_token) { in to_method_string() argument
1575 llhttp_method_name(static_cast<llhttp_method>(method_token))}; in to_method_string()
Dshrpx_http2_upstream.cc354 auto method_token = http2::lookup_method_token(method->value); in on_request_headers() local
355 if (method_token == -1) { in on_request_headers()
365 if (method_token != HTTP_CONNECT && config->http2_proxy && in on_request_headers()
371 req.method = method_token; in on_request_headers()
387 if (method_token == HTTP_OPTIONS && in on_request_headers()
Dshrpx_http3_upstream.cc2223 auto method_token = http2::lookup_method_token(method->value); in http_end_request_headers() local
2224 if (method_token == -1) { in http_end_request_headers()
2236 if (method_token != HTTP_CONNECT && config->http2_proxy && in http_end_request_headers()
2242 req.method = method_token; in http_end_request_headers()
2258 if (method_token == HTTP_OPTIONS && in http_end_request_headers()
Dshrpx_http2_session.cc2270 auto method_token = http2::lookup_method_token(method->value); in handle_downstream_push_promise_complete() local
2271 if (method_token == -1) { in handle_downstream_push_promise_complete()
2285 promised_req.method = method_token; in handle_downstream_push_promise_complete()
2293 if (method_token != HTTP_OPTIONS || path->value != "*") { in handle_downstream_push_promise_complete()