Home
last modified time | relevance | path

Searched refs:promised_req (Results 1 – 3 of 3) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_http2_session.cc964 auto &promised_req = promised_downstream->request(); in on_header_callback2() local
967 if (promised_req.fs.buffer_size() + namebuf.len + valuebuf.len > in on_header_callback2()
969 promised_req.fs.num_fields() >= httpconf.max_request_header_fields) { in on_header_callback2()
973 << promised_req.fs.buffer_size() + namebuf.len + valuebuf.len in on_header_callback2()
974 << ", num=" << promised_req.fs.num_fields() + 1; in on_header_callback2()
984 promised_req.fs.add_header_token(StringRef{namebuf.base, namebuf.len}, in on_header_callback2()
2241 auto &promised_req = promised_downstream->request(); in handle_downstream_push_promise_complete() local
2245 auto authority = promised_req.fs.header(http2::HD__AUTHORITY); in handle_downstream_push_promise_complete()
2246 auto path = promised_req.fs.header(http2::HD__PATH); in handle_downstream_push_promise_complete()
2247 auto method = promised_req.fs.header(http2::HD__METHOD); in handle_downstream_push_promise_complete()
[all …]
Dasio_server_http2_handler.cc464 auto &promised_req = promised_strm->request().impl(); in push_promise() local
465 promised_req.header(std::move(h)); in push_promise()
466 promised_req.method(std::move(method)); in push_promise()
468 auto &uref = promised_req.uri(); in push_promise()
Dshrpx_http2_upstream.cc2311 auto &promised_req = promised_downstream->request(); in on_downstream_push_promise() local
2319 promised_req.http_major = 2; in on_downstream_push_promise()
2320 promised_req.http_minor = 0; in on_downstream_push_promise()
2322 promised_req.fs.content_length = 0; in on_downstream_push_promise()
2323 promised_req.http2_expect_body = false; in on_downstream_push_promise()
2336 const auto &promised_req = promised_downstream->request(); in on_downstream_push_promise_complete() local
2337 const auto &headers = promised_req.fs.headers(); in on_downstream_push_promise_complete()