]> git.ipfire.org Git - thirdparty/curl.git/commit
connnect: fix timeout handling to use full duration
authorStefan Eissing <stefan@eissing.org>
Wed, 15 Feb 2023 09:31:52 +0000 (10:31 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 16 Feb 2023 10:24:29 +0000 (11:24 +0100)
commitcc52bc45f625d285a3634fe28372d2db7854a614
treee086931c530a06f940b3915919dfa7012ae2b346
parentce24ea373f12732692872c412e97bc872a1ee4c0
connnect: fix timeout handling to use full duration

- connect timeout was used at half the configured value, if the
  destination had 1 ip version 4 and other version 6 addresses
  (or the other way around)
- extended test2600 to reproduce these cases

Reported-by: Michael Kaufmann
Fixes #10514
Closes #10517
lib/connect.c
tests/unit/unit2600.c