curl: make code work with protocol-disabled libcurl

Closes #3844
This commit is contained in:
Daniel Stenberg 2019-05-14 10:03:54 +02:00
parent e91e481612
commit 697b1f911b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 22 additions and 12 deletions

View file

@ -59,6 +59,7 @@ s/(USERAGENT, \")[^\"]+/${1}stripped/
$_ = '' if /CURLOPT_SSL_VERIFYPEER/
$_ = '' if /CURLOPT_SSH_KNOWNHOSTS/
$_ = '' if /CURLOPT_HTTP_VERSION/
$_ = '' if /CURLOPT_INTERLEAVEDATA/
</stripfile>
<file name="log/test1402.c" mode="text">
/********* Sample code generated by the curl command line tool **********
@ -88,7 +89,6 @@ int main(int argc, char *argv[])
them yourself.
CURLOPT_WRITEDATA set to a objectpointer
CURLOPT_INTERLEAVEDATA set to a objectpointer
CURLOPT_WRITEFUNCTION set to a functionpointer
CURLOPT_READDATA set to a objectpointer
CURLOPT_READFUNCTION set to a functionpointer