Loading tests/libtest/lib544.c +10 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,16 @@ int test(char *URL) /* Update the original data to detect non-copy. */ strcpy(teststring, "FAIL"); #ifdef LIB545 { CURL *handle2; handle2 = curl_easy_duphandle(curl); curl_easy_cleanup(curl); curl = handle2; } #endif /* Now, this is a POST request with binary 0 embedded in POST data. */ res = curl_easy_perform(curl); Loading Loading
tests/libtest/lib544.c +10 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,16 @@ int test(char *URL) /* Update the original data to detect non-copy. */ strcpy(teststring, "FAIL"); #ifdef LIB545 { CURL *handle2; handle2 = curl_easy_duphandle(curl); curl_easy_cleanup(curl); curl = handle2; } #endif /* Now, this is a POST request with binary 0 embedded in POST data. */ res = curl_easy_perform(curl); Loading