Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
duphandle doesn't preserve CURLOPT_RESOLVE #2485
I did this
I expected the following
I expected my CURLOPT_RESOLVE to still have effect on c2. However it does not.
Moving the setopt for RESOLVE to c2 works.
I can't really find anything in the documentation that would hint to this behaviour.
curl 7.55.1 (x86_64-pc-linux-gnu) libcurl/7.55.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/2.0.2 libpsl/0.18.0 (+libidn2/2.0.2) librtmp/2.3
Verified in test 1502 now Fixes #2485 Reported-by: Ernst Sjöstrand