Home
last modified time | relevance | path

Searched refs:Curl_dynhds_add (Results 1 – 6 of 6) sorted by relevance

/curl/tests/unit/
H A Dunit2602.c51 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 Ddynhds.c165 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 Ddynhds.h147 CURLcode Curl_dynhds_add(struct dynhds *dynhds,
H A Dhttp.c1383 result = Curl_dynhds_add(hds, name, namelen, value, valuelen); in Curl_dynhds_add_custom()
4341 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_METHOD), in Curl_http_req_to_h2()
4344 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_SCHEME), in Curl_http_req_to_h2()
4348 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_AUTHORITY), in Curl_http_req_to_h2()
4352 result = Curl_dynhds_add(h2_headers, STRCONST(HTTP_PSEUDO_PATH), in Curl_http_req_to_h2()
4358 result = Curl_dynhds_add(h2_headers, e->name, e->namelen, in Curl_http_req_to_h2()
H A Dcf-h2-proxy.c794 result = Curl_dynhds_add(&ctx->tunnel.resp->headers, in proxy_h2_on_header()
H A Dhttp2.c1492 result = Curl_dynhds_add(&stream->resp_trailers, in on_header()

Completed in 47 milliseconds