Searched refs:Curl_dynhds_add (Results 1 – 6 of 6) sorted by relevance
/third_party/curl/tests/unit/ |
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");
|
/third_party/curl/lib/ |
D | dynhds.c | 161 CURLcode Curl_dynhds_add(struct dynhds *dynhds, in Curl_dynhds_add() function 210 return Curl_dynhds_add(dynhds, name, strlen(name), value, strlen(value)); in Curl_dynhds_cadd() 265 return Curl_dynhds_add(dynhds, name, namelen, value, valuelen); in Curl_dynhds_h1_add_line() 313 return Curl_dynhds_add(dynhds, name, namelen, value, valuelen); in Curl_dynhds_set()
|
D | dynhds.h | 122 CURLcode Curl_dynhds_add(struct dynhds *dynhds,
|
D | http.c | 1895 result = Curl_dynhds_add(hds, name, namelen, value, valuelen); in Curl_dynhds_add_custom() 4911 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_METHOD), in Curl_http_req_to_h2() 4914 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_SCHEME), in Curl_http_req_to_h2() 4918 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_AUTHORITY), in Curl_http_req_to_h2() 4922 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_PATH), in Curl_http_req_to_h2() 4928 result = Curl_dynhds_add(h2_headers, e->name, e->namelen, in Curl_http_req_to_h2()
|
D | cf-h2-proxy.c | 800 result = Curl_dynhds_add(&ctx->tunnel.resp->headers, in proxy_h2_on_header()
|
D | http2.c | 1496 result = Curl_dynhds_add(&stream->resp_trailers, in on_header()
|