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 = 2; in test_downstream_supports_non_final_response()
176 req.http_major = 1; in test_downstream_supports_non_final_response()
181 req.http_major = 1; in test_downstream_supports_non_final_response()
186 req.http_major = 0; in test_downstream_supports_non_final_response()
Dshrpx_downstream.h155 http_major(1), in Request()
206 int http_major, http_minor; member
237 http_major(1), in Response()
288 int http_major, http_minor; member
Dshrpx_https_upstream.cc336 req.http_major = htp->http_major; in htp_hdrs_completecb()
349 << "HTTP/" << req.http_major << "." << req.http_minor << "\n"; in htp_hdrs_completecb()
375 if (req.http_major > 1 || req.http_minor > 1) { in htp_hdrs_completecb()
376 req.http_major = 1; in htp_hdrs_completecb()
381 if (req.http_major == 1 && req.http_minor == 1 && !host) { in htp_hdrs_completecb()
933 } else if (req.http_major <= 0 || in send_reply()
934 (req.http_major == 1 && req.http_minor == 0)) { in send_reply()
1120 buf->append('0' + req.http_major); in on_downstream_header_complete()
1159 (!http2::legacy_http1(req.http_major, req.http_minor) in on_downstream_header_complete()
1177 if (req.http_major <= 0 || req.http_minor <= 0) { in on_downstream_header_complete()
[all …]
Dshrpx_http_downstream_connection.cc524 (req.http_major == 2 ? http2::HDOP_STRIP_SEC_WEBSOCKET_KEY : 0); in push_request_headers()
544 if (req.http_major == 2) { in push_request_headers()
671 auto end = http::create_via_header_value(viabuf.data(), req.http_major, in push_request_headers()
915 resp.http_major = htp->http_major; in htp_hdrs_completecb()
918 if (resp.http_major > 1 || req.http_minor > 1) { in htp_hdrs_completecb()
919 resp.http_major = 1; in htp_hdrs_completecb()
990 } else if (http2::legacy_http1(req.http_major, req.http_minor)) { in htp_hdrs_completecb()
Dshrpx_log.cc634 std::tie(p, last) = copy(req.http_major, p, last); in upstream_accesslog()
635 if (req.http_major < 2) { in upstream_accesslog()
652 std::tie(p, last) = copy(req.http_major, p, last); in upstream_accesslog()
653 if (req.http_major < 2) { in upstream_accesslog()
Dshrpx_downstream.cc880 resp_.http_major = 1; in reset_response()
889 return req_.http_major == 2 || (req_.http_major == 1 && req_.http_minor == 1); in supports_non_final_response()
940 return !resp_.headers_only && resp_.http_major == 2; in expect_response_trailer()
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()
722 req.http_major = 2; in on_frame_send_callback()
1818 p = http::create_via_header_value(p, resp.http_major, resp.http_minor); in on_downstream_header_complete()
2319 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.cc1104 resp.http_major = 2; in on_response_headers()
1167 if (req.http_major <= 0 || (req.http_major == 1 && req.http_minor == 0)) { in on_response_headers()
/third_party/boost/libs/beast/test/bench/parser/nodejs-parser/
Dhttp_parser.c807 parser->http_major = ch - '0'; in http_parser_execute()
824 parser->http_major *= 10; in http_parser_execute()
825 parser->http_major += ch - '0'; in http_parser_execute()
827 if (UNLIKELY(parser->http_major > 999)) { in http_parser_execute()
1109 parser->http_major = 0; in http_parser_execute()
1166 parser->http_major = ch - '0'; in http_parser_execute()
1183 parser->http_major *= 10; in http_parser_execute()
1184 parser->http_major += ch - '0'; in http_parser_execute()
1186 if (UNLIKELY(parser->http_major > 999)) { in http_parser_execute()
2120 if (parser->http_major > 0 && parser->http_minor > 0) { in http_should_keep_alive()
Dhttp_parser.h235 unsigned short http_major; member
/third_party/nghttp2/third-party/llhttp/src/
Dhttp.c137 if (parser->http_major > 0 && parser->http_minor > 0) { in llhttp_should_keep_alive()
Dllhttp.c573 state->http_major = 0; in llhttp__internal__c_update_http_major()
894 state->http_major = match; in llhttp__internal__c_store_http_major()
8032 state->http_major = 0; in llhttp__internal__c_update_http_major()
8353 state->http_major = match; in llhttp__internal__c_store_http_major()
/third_party/node/deps/llhttp/src/
Dhttp.c137 if (parser->http_major > 0 && parser->http_minor > 0) { in llhttp_should_keep_alive()
Dllhttp.c528 state->http_major = 0; in llhttp__internal__c_update_http_major()
857 state->http_major = match; in llhttp__internal__c_store_http_major()
7621 state->http_major = 0; in llhttp__internal__c_update_http_major()
7950 state->http_major = match; in llhttp__internal__c_store_http_major()
/third_party/boost/libs/beast/test/bench/parser/
Dnodejs_parser.hpp479 p->http_major, p->http_minor, keep_alive, in cb_headers_complete()
484 p->http_major, p->http_minor, keep_alive, in cb_headers_complete()
/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.cc354 argv[A_VERSION_MAJOR] = Integer::New(env()->isolate(), parser_.http_major); in on_headers_complete()