Home
last modified time | relevance | path

Searched refs:http_major (Results 1 – 21 of 21) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_downstream_test.cc171 req.http_major = 3; in test_downstream_supports_non_final_response()
176 req.http_major = 2; in test_downstream_supports_non_final_response()
181 req.http_major = 1; in test_downstream_supports_non_final_response()
186 req.http_major = 1; in test_downstream_supports_non_final_response()
191 req.http_major = 0; in test_downstream_supports_non_final_response()
Dshrpx_https_upstream.cc354 req.http_major = htp->http_major; in htp_hdrs_completecb()
367 << "HTTP/" << req.http_major << "." << req.http_minor << "\n"; in htp_hdrs_completecb()
393 if (req.http_major > 1 || req.http_minor > 1) { in htp_hdrs_completecb()
394 req.http_major = 1; in htp_hdrs_completecb()
399 if (req.http_major == 1 && req.http_minor == 1 && !host) { in htp_hdrs_completecb()
980 } else if (req.http_major <= 0 || in send_reply()
981 (req.http_major == 1 && req.http_minor == 0)) { in send_reply()
1155 buf->append('0' + req.http_major); in on_downstream_header_complete()
1194 (!http2::legacy_http1(req.http_major, req.http_minor) in on_downstream_header_complete()
1212 if (req.http_major <= 0 || req.http_minor <= 0) { in on_downstream_header_complete()
[all …]
Dshrpx_downstream.h160 http_major(1), in Request()
211 int http_major, http_minor; member
242 http_major(1), in Response()
293 int http_major, http_minor; member
Dshrpx_http_downstream_connection.cc539 ((req.http_major == 3 || req.http_major == 2) in push_request_headers()
561 if (req.http_major == 3 || req.http_major == 2) { in push_request_headers()
689 auto end = http::create_via_header_value(viabuf.data(), req.http_major, in push_request_headers()
938 resp.http_major = htp->http_major; in htp_hdrs_completecb()
941 if (resp.http_major > 1 || req.http_minor > 1) { in htp_hdrs_completecb()
942 resp.http_major = 1; in htp_hdrs_completecb()
1013 } else if (http2::legacy_http1(req.http_major, req.http_minor)) { in htp_hdrs_completecb()
Dshrpx_downstream.cc890 resp_.http_major = 1; in reset_response()
899 return req_.http_major == 3 || req_.http_major == 2 || in supports_non_final_response()
900 (req_.http_major == 1 && req_.http_minor == 1); in supports_non_final_response()
952 (resp_.http_major == 3 || resp_.http_major == 2); in expect_response_trailer()
Dshrpx_log.cc632 std::tie(p, last) = copy(req.http_major, p, last); in upstream_accesslog()
633 if (req.http_major < 2) { in upstream_accesslog()
649 std::tie(p, last) = copy(req.http_major, p, last); in upstream_accesslog()
650 if (req.http_major < 2) { in upstream_accesslog()
Dshrpx_mruby_module_response.cc54 return mrb_fixnum_value(resp.http_major); in response_get_http_version_major()
Dshrpx_mruby_module_request.cc54 return mrb_fixnum_value(req.http_major); in request_get_http_version_major()
Dshrpx_http2_upstream.cc294 req.http_major = 2; in on_start_request()
730 req.http_major = 2; in on_frame_send_callback()
1836 p = http::create_via_header_value(p, resp.http_major, resp.http_minor); in on_downstream_header_complete()
2337 promised_req.http_major = 2; in on_downstream_push_promise()
Dshrpx_http2_downstream_connection.cc445 p = http::create_via_header_value(p, req.http_major, req.http_minor); in push_request_headers()
Dshrpx_http2_session.cc1117 resp.http_major = 2; in on_response_headers()
1180 if (req.http_major <= 0 || (req.http_major == 1 && req.http_minor == 0)) { in on_response_headers()
Dshrpx_http3_upstream.cc256 req.http_major = 3; in http_begin_request_headers()
1397 p = http::create_via_header_value(p, resp.http_major, resp.http_minor); in on_downstream_header_complete()
/third_party/nghttp2/third-party/llhttp/src/
Dhttp.c137 if (parser->http_major > 0 && parser->http_minor > 0) { in llhttp_should_keep_alive()
Dapi.c105 return parser->http_major; in llhttp_get_http_major()
Dllhttp.c652 state->http_major = 0; in llhttp__internal__c_update_http_major()
1030 state->http_major = match; in llhttp__internal__c_store_http_major()
1058 return state->http_major; in llhttp__internal__c_load_http_major()
10112 state->http_major = 0; in llhttp__internal__c_update_http_major()
10490 state->http_major = match; in llhttp__internal__c_store_http_major()
10518 return state->http_major; in llhttp__internal__c_load_http_major()
/third_party/node/deps/llhttp/src/
Dhttp.c137 if (parser->http_major > 0 && parser->http_minor > 0) { in llhttp_should_keep_alive()
Dapi.c90 return parser->http_major; in llhttp_get_http_major()
Dllhttp.c585 state->http_major = 0; in llhttp__internal__c_update_http_major()
947 state->http_major = match; in llhttp__internal__c_store_http_major()
971 return state->http_major; in llhttp__internal__c_load_http_major()
8681 state->http_major = 0; in llhttp__internal__c_update_http_major()
9043 state->http_major = match; in llhttp__internal__c_store_http_major()
9067 return state->http_major; in llhttp__internal__c_load_http_major()
/third_party/node/deps/llhttp/include/
Dllhttp.h33 uint8_t http_major; member
/third_party/nghttp2/third-party/llhttp/include/
Dllhttp.h33 uint8_t http_major; member
/third_party/node/src/
Dnode_http_parser.cc418 argv[A_VERSION_MAJOR] = Integer::New(env()->isolate(), parser_.http_major); in on_headers_complete()