]> git.ipfire.org Git - thirdparty/curl.git/commit
vtls: reinstantiate engine on duplicated handles
authorLaurent Bonnans <laurent.bonnans@here.com>
Fri, 17 Aug 2018 15:39:01 +0000 (17:39 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 18 Aug 2018 13:46:23 +0000 (15:46 +0200)
commit4939f3652473c1519d2b604068efb87ef7531874
tree2b538ce93d1edf5070abd297b29bee5a848c327b
parentc7ea4ddd2e5db304bc3170eeb8d5aa91f1921013
vtls: reinstantiate engine on duplicated handles

Handles created with curl_easy_duphandle do not use the SSL engine set
up in the original handle. This fixes the issue by storing the engine
name in the internal url state and setting the engine from its name
inside curl_easy_duphandle.

Reported-by: Anton Gerasimov
Signed-of-by: Laurent Bonnans
Fixes #2829
Closes #2833
lib/easy.c
lib/setopt.c
lib/urldata.h