mirror of
https://github.com/curl/curl.git
synced 2026-07-24 11:37:21 +03:00
duphandle: make sure CURLOPT_RESOLVE is duplicated fine too
Verified in test 1502 now Fixes #2485 Closes #2486 Reported-by: Ernst Sjöstrand
This commit is contained in:
parent
462d8378ea
commit
2b126cd708
2 changed files with 14 additions and 1 deletions
|
|
@ -892,6 +892,9 @@ static CURLcode dupset(struct Curl_easy *dst, struct Curl_easy *src)
|
|||
/* Duplicate mime data. */
|
||||
result = Curl_mime_duppart(&dst->set.mimepost, &src->set.mimepost);
|
||||
|
||||
if(src->set.resolve)
|
||||
dst->change.resolve = dst->set.resolve;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue