mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:03:35 +03:00
parent
2e0fa50fc1
commit
3b6d18bbf6
23 changed files with 29 additions and 29 deletions
|
|
@ -27,7 +27,7 @@ OK
|
|||
http
|
||||
</server>
|
||||
<name>
|
||||
Connect to specific host: Re-use existing connections if possible
|
||||
Connect to specific host: Reuse existing connections if possible
|
||||
</name>
|
||||
|
||||
<command>
|
||||
|
|
|
|||
|
|
@ -838,7 +838,7 @@ static const struct setcase set_parts_list[] = {
|
|||
0, /* set */
|
||||
CURLUE_OK, CURLUE_BAD_HOSTNAME},
|
||||
{"https://example.com/",
|
||||
"host=0xff,", /* '++' there's no automatic URL decode when settin this
|
||||
"host=0xff,", /* '++' there's no automatic URL decode when setting this
|
||||
part */
|
||||
"https://0xff/",
|
||||
0, /* get */
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ int test(char *URL)
|
|||
curl_easy_setopt(cl, CURLOPT_VERBOSE, 1L);
|
||||
curl_easy_perform(cl);
|
||||
|
||||
/* re-use handle, do a second transfer */
|
||||
/* reuse handle, do a second transfer */
|
||||
curl_easy_setopt(cl, CURLOPT_URL, URL2);
|
||||
curl_easy_perform(cl);
|
||||
curl_easy_cleanup(cl);
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ int test(char *URL)
|
|||
/* first remove the only handle we use */
|
||||
curl_multi_remove_handle(m, curl[0]);
|
||||
|
||||
/* make us re-use the same handle all the time, and try resetting
|
||||
/* make us reuse the same handle all the time, and try resetting
|
||||
the handle first too */
|
||||
curl_easy_reset(curl[0]);
|
||||
easy_setopt(curl[0], CURLOPT_URL, URL);
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ int test(char *URL)
|
|||
/* remove the handle we use */
|
||||
curl_multi_remove_handle(m, curl);
|
||||
|
||||
/* make us re-use the same handle all the time, and try resetting
|
||||
/* make us reuse the same handle all the time, and try resetting
|
||||
the handle first too */
|
||||
curl_easy_reset(curl);
|
||||
easy_setopt(curl, CURLOPT_URL, libtest_arg2);
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ sub scanmanpage {
|
|||
|
||||
my $r;
|
||||
|
||||
# check for define alises
|
||||
# check for define aliases
|
||||
open($r, "<", "$curlh") ||
|
||||
die "no curl.h";
|
||||
while(<$r>) {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#
|
||||
# - Get all options mentioned in the $cmddir.
|
||||
# - Make sure they're all mentioned in the $opts document
|
||||
# - Make usre that the version in $opts matches the version in the file in
|
||||
# - Make sure that the version in $opts matches the version in the file in
|
||||
# $cmddir
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -1288,7 +1288,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
/*
|
||||
** As soon as this server acepts a connection from the test harness it
|
||||
** As soon as this server accepts a connection from the test harness it
|
||||
** must set the server logs advisor read lock to indicate that server
|
||||
** logs should not be read until this lock is removed by this server.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ UNITTEST_START
|
|||
|
||||
fail_unless(llist.size == 0, "list initial size should be zero");
|
||||
fail_unless(llist.head == NULL, "list head should initiate to NULL");
|
||||
fail_unless(llist.tail == NULL, "list tail should intiate to NULL");
|
||||
fail_unless(llist.tail == NULL, "list tail should initiate to NULL");
|
||||
fail_unless(llist.dtor == test_Curl_llist_dtor,
|
||||
"list dtor should initiate to test_Curl_llist_dtor");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue