Lines Matching refs:http2

44 #include "http2.h"
151 auto &timeoutconf = get_config()->http2.timeout;
315 if (kv.token != http2::HD_COOKIE || kv.value.empty()) {
326 if (kv.token != http2::HD_COOKIE || kv.value.empty()) {
355 if (kv.token != http2::HD_COOKIE) {
399 if (kv.token != http2::HD_COOKIE) {
419 if (kv.token != http2::HD_COOKIE) {
475 item.token = http2::lookup_token(item.name);
495 if (kv.token != http2::HD_CONTENT_LENGTH) {
542 auto token = http2::lookup_token(name_ref);
572 auto token = http2::lookup_token(name_ref);
590 case http2::HD_CONTENT_LENGTH:
591 case http2::HD_TRANSFER_ENCODING:
701 auto hd = resp_.fs.header(http2::HD_LOCATION);
716 auto new_uri = http2::rewrite_location_uri(balloc_, hd->value, u,
811 auto accept = resp_.fs.header(http2::HD_SEC_WEBSOCKET_ACCEPT);
818 http2::make_websocket_accept_token(accept_buf.data(), ws_key_);
846 auto upgrade = req_.fs.header(http2::HD_UPGRADE);
864 auto transfer_encoding = req_.fs.header(http2::HD_TRANSFER_ENCODING);
869 auto expect = req_.fs.header(http2::HD_EXPECT);
876 auto transfer_encoding = resp_.fs.header(http2::HD_TRANSFER_ENCODING);
900 return req_.http2_upgrade_seen && req_.fs.header(http2::HD_HTTP2_SETTINGS) &&
905 auto http2_settings = req_.fs.header(http2::HD_HTTP2_SETTINGS);
938 http2::expect_response_body(req_.method, resp_.http_status);
978 if (get_config()->http2.timeout.stream_read == 0.) {
987 auto &timeoutconf = get_config()->http2.timeout;
998 if (get_config()->http2.timeout.stream_write == 0.) {
1006 if (get_config()->http2.timeout.stream_read == 0.) {
1014 if (get_config()->http2.timeout.stream_write == 0.) {
1022 if (get_config()->http2.timeout.stream_read == 0.) {
1031 auto &timeoutconf = get_config()->http2.timeout;
1042 if (get_config()->http2.timeout.stream_write == 0.) {
1050 if (get_config()->http2.timeout.stream_read == 0.) {
1058 if (get_config()->http2.timeout.stream_write == 0.) {