]> granicus.if.org Git - curl/commit
extract_if_dead: use a known working transfer when checking connections
authorDaniel Stenberg <daniel@haxx.se>
Fri, 11 Jan 2019 22:43:38 +0000 (23:43 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Jan 2019 16:09:14 +0000 (17:09 +0100)
commit54b201b48c90a2fb03c2baf90837c6b63adbc344
tree8fbca555cca20c416efdc4331520cac7f98c3511
parentcf8c70594fda8aaba1b2b1d1e34deefe927434f9
extract_if_dead: use a known working transfer when checking connections

Make sure that this function sets a proper "live" transfer for the
connection before calling the protocol-specific connection check
function, and then clear it again afterward as a non-used connection has
no current transfer.

Reported-by: Jeroen Ooms
Reviewed-by: Marcel Raad
Reviewed-by: Daniel Gustafsson
Fixes #3463
Closes #3464
lib/url.c