Lines Matching refs:req
201 #define H2_STREAM_CTX(d) ((struct stream_ctx *)(((d) && (d)->req.p.http)? \
202 ((struct HTTP *)(d)->req.p.http)->h2_ctx \
204 #define H2_STREAM_LCTX(d) ((struct HTTP *)(d)->req.p.http)->h2_ctx
239 if(!data->req.p.http) {
789 second->req.p.http = http;
854 if(!newhandle->req.p.http) {
856 newhandle->req.p.http = NULL;
930 newhandle->req.maxdownload = -1;
931 newhandle->req.size = -1;
1625 CURLcode Curl_http2_request_upgrade(struct dynbuf *req,
1631 struct SingleRequest *k = &data->req;
1638 Curl_dyn_free(req);
1645 Curl_dyn_free(req);
1649 result = Curl_dyn_addf(req,
2054 DEBUGASSERT(stream->h1.req);
2056 *err = Curl_http_req_to_h2(&h2_headers, stream->h1.req, data);
2225 /* req body data is buffered, resume the potentially suspended stream */
2771 DEBUGASSERT(data->req.upgr101 == UPGR101_RECEIVED);