diff options
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/easy.c b/lib/easy.c index 6257b7452..b007b97ed 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -459,6 +459,7 @@ CURL *curl_easy_duphandle(CURL *incurl) outcurl->progress.flags = data->progress.flags; outcurl->progress.callback = data->progress.callback; +#ifndef CURL_DISABLE_HTTP if(data->cookies) { /* If cookies are enabled in the parent handle, we enable them in the clone as well! */ @@ -470,6 +471,7 @@ CURL *curl_easy_duphandle(CURL *incurl) break; } } +#endif /* CURL_DISABLE_HTTP */ /* duplicate all values in 'change' */ if(data->change.url) { |