Lines Matching defs:req
695 std::string req = "CONNECT ";
696 req.append(addr_->hostport.c_str(), addr_->hostport.size());
698 req += ':';
699 req += util::utos(addr_->port);
701 req += " HTTP/1.1\r\nHost: ";
702 req += addr_->host;
703 req += "\r\n";
706 req += "Proxy-Authorization: Basic ";
707 req += base64::encode(std::begin(proxy.userinfo), std::end(proxy.userinfo));
708 req += "\r\n";
710 req += "\r\n";
712 SSLOG(INFO, this) << "HTTP proxy request headers\n" << req;
714 wb_.append(req);
1101 const auto &req = downstream->request();
1180 if (req.http_major <= 0 || (req.http_major == 1 && req.http_minor == 0)) {
1878 auto &req = downstream->request();
1881 (req.connect_proto == ConnectProto::NONE || settings_recved_);
1940 auto &req = downstream->request();
1941 if (req.connect_proto != ConnectProto::NONE && !settings_recved_) {