Home
last modified time | relevance | path

Searched refs:headp (Results 1 – 8 of 8) sorted by relevance

/curl/docs/libcurl/opts/
H A DCURLMOPT_PUSHDATA.md53 char *headp;
56 headp = curl_pushheader_byname(headers, ":path");
57 if(headp && !strncmp(headp, "/push-", 6)) {
58 fprintf(stderr, "The PATH is %s\n", headp);
H A DCURLMOPT_PUSHFUNCTION.md114 char *headp;
117 headp = curl_pushheader_byname(headers, ":path");
118 if(headp && !strncmp(headp, "/push-", 6)) {
119 fprintf(stderr, "The PATH is %s\n", headp);
/curl/docs/examples/
H A Dhttp2-serverpush.c167 char *headp; in server_push_callback() local
193 headp = curl_pushheader_bynum(headers, i); in server_push_callback()
194 fprintf(stderr, "**** header %lu: %s\n", (unsigned long)i, headp); in server_push_callback()
197 headp = curl_pushheader_byname(headers, ":path"); in server_push_callback()
198 if(headp) { in server_push_callback()
199 fprintf(stderr, "**** The PATH is %s\n", headp /* skip :path + colon */); in server_push_callback()
H A Dhttp2-pushinmemory.c98 char *headp; in server_push_callback() local
112 headp = curl_pushheader_byname(headers, ":path"); in server_push_callback()
113 if(headp) in server_push_callback()
114 fprintf(stderr, "* Pushed :path '%s'\n", headp /* skip :path + colon */); in server_push_callback()
/curl/tests/http/clients/
H A Dh2-serverpush.c160 char *headp; in server_push_callback() local
187 headp = curl_pushheader_bynum(headers, i); in server_push_callback()
188 fprintf(stderr, "**** header %lu: %s\n", (unsigned long)i, headp); in server_push_callback()
191 headp = curl_pushheader_byname(headers, ":path"); in server_push_callback()
192 if(headp) { in server_push_callback()
193 fprintf(stderr, "**** The PATH is %s\n", headp /* skip :path + colon */); in server_push_callback()
/curl/docs/libcurl/
H A Dcurl_pushheader_byname.md52 char *headp;
55 headp = curl_pushheader_byname(headers, ":path");
56 if(headp && !strncmp(headp, "/push-", 6)) {
57 fprintf(stderr, "The PATH is %s\n", headp);
/curl/lib/
H A Dc-hyper.c151 char *headp; in hyper_each_header() local
172 headp = Curl_dyn_ptr(&data->state.headerb); in hyper_each_header()
174 result = Curl_http_header(data, headp, len); in hyper_each_header()
180 Curl_debug(data, CURLINFO_HEADER_IN, headp, len); in hyper_each_header()
187 result = Curl_client_write(data, writetype, headp, len); in hyper_each_header()
H A Dhttp2.c1568 char **headp; in on_header() local
1576 headp = realloc(stream->push_headers, in on_header()
1578 if(!headp) { in on_header()
1582 stream->push_headers = headp; in on_header()

Completed in 20 milliseconds