Loading lib/url.h +2 −5 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn); CURLcode Curl_open(struct Curl_easy **curl); CURLcode Curl_init_userdefined(struct Curl_easy *data); CURLcode Curl_dupset(struct Curl_easy * dst, struct Curl_easy * src); void Curl_freeset(struct Curl_easy * data); CURLcode Curl_close(struct Curl_easy *data); /* opposite of curl_open() */ CURLcode Curl_connect(struct Curl_easy *, struct connectdata **, Loading @@ -57,9 +57,7 @@ int Curl_doing_getsock(struct connectdata *conn, CURLcode Curl_parse_login_details(const char *login, const size_t len, char **userptr, char **passwdptr, char **optionsptr); bool Curl_isPipeliningEnabled(const struct Curl_easy *handle); CURLcode Curl_addHandleToPipeline(struct Curl_easy *handle, struct curl_llist *pipeline); int Curl_removeHandleFromPipeline(struct Curl_easy *handle, struct curl_llist *pipeline); /* remove the specified connection from all (possible) pipelines and related Loading @@ -67,7 +65,6 @@ int Curl_removeHandleFromPipeline(struct Curl_easy *handle, void Curl_getoff_all_pipelines(struct Curl_easy *data, struct connectdata *conn); void Curl_close_connections(struct Curl_easy *data); #define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */ #define CURL_DEFAULT_HTTPS_PROXY_PORT 443 /* default https proxy port unless Loading lib/urldata.h +1 −2 Original line number Diff line number Diff line Loading @@ -1446,8 +1446,7 @@ enum dupstring { STRING_LASTZEROTERMINATED, /* -- below this are pointers to binary data that cannot be strdup'ed. Each such pointer must be added manually to Curl_dupset() --- */ /* -- below this are pointers to binary data that cannot be strdup'ed. --- */ STRING_COPYPOSTFIELDS, /* if POST, set the fields' values here */ Loading tests/data/Makefile.inc +1 −1 Original line number Diff line number Diff line Loading @@ -180,7 +180,7 @@ test1550 test1551 test1552 test1553 test1554 test1555 test1556 test1557 \ \ test1590 \ test1600 test1601 test1602 test1603 test1604 test1605 test1606 test1607 \ test1608 test1609 \ test1608 test1609 test1620 \ \ test1700 test1701 test1702 \ \ Loading tests/data/test1620 0 → 100644 +26 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> unittest URL </keywords> </info> # # Client-side <client> <server> none </server> <features> unittest </features> <name> unit tests for url.c </name> <tool> unit1620 </tool> </client> </testcase> tests/unit/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ set(UT_SRC unit1603.c # Broken link on Linux # unit1604.c unit1620.c ) set(UT_COMMON_FILES ../libtest/first.c ../libtest/test.h curlcheck.h) Loading Loading
lib/url.h +2 −5 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ CURLcode Curl_init_do(struct Curl_easy *data, struct connectdata *conn); CURLcode Curl_open(struct Curl_easy **curl); CURLcode Curl_init_userdefined(struct Curl_easy *data); CURLcode Curl_dupset(struct Curl_easy * dst, struct Curl_easy * src); void Curl_freeset(struct Curl_easy * data); CURLcode Curl_close(struct Curl_easy *data); /* opposite of curl_open() */ CURLcode Curl_connect(struct Curl_easy *, struct connectdata **, Loading @@ -57,9 +57,7 @@ int Curl_doing_getsock(struct connectdata *conn, CURLcode Curl_parse_login_details(const char *login, const size_t len, char **userptr, char **passwdptr, char **optionsptr); bool Curl_isPipeliningEnabled(const struct Curl_easy *handle); CURLcode Curl_addHandleToPipeline(struct Curl_easy *handle, struct curl_llist *pipeline); int Curl_removeHandleFromPipeline(struct Curl_easy *handle, struct curl_llist *pipeline); /* remove the specified connection from all (possible) pipelines and related Loading @@ -67,7 +65,6 @@ int Curl_removeHandleFromPipeline(struct Curl_easy *handle, void Curl_getoff_all_pipelines(struct Curl_easy *data, struct connectdata *conn); void Curl_close_connections(struct Curl_easy *data); #define CURL_DEFAULT_PROXY_PORT 1080 /* default proxy port unless specified */ #define CURL_DEFAULT_HTTPS_PROXY_PORT 443 /* default https proxy port unless Loading
lib/urldata.h +1 −2 Original line number Diff line number Diff line Loading @@ -1446,8 +1446,7 @@ enum dupstring { STRING_LASTZEROTERMINATED, /* -- below this are pointers to binary data that cannot be strdup'ed. Each such pointer must be added manually to Curl_dupset() --- */ /* -- below this are pointers to binary data that cannot be strdup'ed. --- */ STRING_COPYPOSTFIELDS, /* if POST, set the fields' values here */ Loading
tests/data/Makefile.inc +1 −1 Original line number Diff line number Diff line Loading @@ -180,7 +180,7 @@ test1550 test1551 test1552 test1553 test1554 test1555 test1556 test1557 \ \ test1590 \ test1600 test1601 test1602 test1603 test1604 test1605 test1606 test1607 \ test1608 test1609 \ test1608 test1609 test1620 \ \ test1700 test1701 test1702 \ \ Loading
tests/data/test1620 0 → 100644 +26 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> unittest URL </keywords> </info> # # Client-side <client> <server> none </server> <features> unittest </features> <name> unit tests for url.c </name> <tool> unit1620 </tool> </client> </testcase>
tests/unit/CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ set(UT_SRC unit1603.c # Broken link on Linux # unit1604.c unit1620.c ) set(UT_COMMON_FILES ../libtest/first.c ../libtest/test.h curlcheck.h) Loading