Searched refs:Curl_dynhds_add (Results 1 – 6 of 6) sorted by relevance
/curl/tests/unit/ |
H A D | unit2602.c | 51 fail_if(Curl_dynhds_add(&hds, "test1", 5, "123", 3), "add failed"); 52 fail_if(Curl_dynhds_add(&hds, "test2", 5, "456", 3), "add failed"); 59 if(Curl_dynhds_add(&hds, "test2", 5, "456", 3)) { 74 result = Curl_dynhds_add(&hds, "test3", 5, "789", 3); 91 fail_if(Curl_dynhds_add(&hds, "test1", 5, "123", 3), "add failed"); 92 fail_unless(Curl_dynhds_add(&hds, "test2", 5, "456", 3), "should fail"); 93 fail_if(Curl_dynhds_add(&hds, "t", 1, "1", 1), "add failed"); 98 fail_if(Curl_dynhds_add(&hds, "test1", 5, "123", 3), "add failed"); 99 fail_if(Curl_dynhds_add(&hds, "test1", 5, "123", 3), "add failed");
|
/curl/lib/ |
H A D | dynhds.c | 165 CURLcode Curl_dynhds_add(struct dynhds *dynhds, in Curl_dynhds_add() function 214 return Curl_dynhds_add(dynhds, name, strlen(name), value, strlen(value)); in Curl_dynhds_cadd() 269 return Curl_dynhds_add(dynhds, name, namelen, value, valuelen); in Curl_dynhds_h1_add_line() 317 return Curl_dynhds_add(dynhds, name, namelen, value, valuelen); in Curl_dynhds_set()
|
H A D | dynhds.h | 147 CURLcode Curl_dynhds_add(struct dynhds *dynhds,
|
H A D | http.c | 1379 result = Curl_dynhds_add(hds, name, namelen, value, valuelen); in Curl_dynhds_add_custom() 4336 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_METHOD), in Curl_http_req_to_h2() 4339 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_SCHEME), in Curl_http_req_to_h2() 4343 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_AUTHORITY), in Curl_http_req_to_h2() 4347 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_PATH), in Curl_http_req_to_h2() 4353 result = Curl_dynhds_add(h2_headers, e->name, e->namelen, in Curl_http_req_to_h2()
|
H A D | cf-h2-proxy.c | 796 result = Curl_dynhds_add(&ctx->tunnel.resp->headers, in proxy_h2_on_header()
|
H A D | http2.c | 1594 result = Curl_dynhds_add(&stream->resp_trailers, in on_header()
|
Completed in 47 milliseconds