]> git.ipfire.org Git - thirdparty/curl.git/commit
transfer: move retrycount from connect struct to easy handle
authorStefan Yohansson <sy.fen0@gmail.com>
Mon, 10 Aug 2020 12:16:37 +0000 (13:16 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 10 Aug 2020 21:20:17 +0000 (23:20 +0200)
commit50dd05a55249c42b6a355cd0982c8e4da808b263
tree72f5c507e4f6ecc6dcc2866c611bc69aafbb18d7
parent43c68d842ea78944989e420f4cea6531df0e865b
transfer: move retrycount from connect struct to easy handle

This flag was applied to the connection struct that is released on
retry.  These changes move the retry counter into Curl_easy struct that
lives across retries and retains the new connection.

Reported-by: Cherish98 on github
Fixes #5794
Closes #5800
lib/transfer.c
lib/urldata.h