]> git.ipfire.org Git - thirdparty/curl.git/commit
connect: fix strategy testing for attempts, timeouts and happy-eyeball
authorStefan Eissing <stefan@eissing.org>
Tue, 17 Jan 2023 14:58:49 +0000 (15:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 31 Jan 2023 10:28:14 +0000 (11:28 +0100)
commitd55de24dce9d51eac913e20c17022c732124b83f
tree01db7bd74c68a18115cf1d7ed5b2c7d9b706c558
parent5651a36d1ae46db61a31771a8d4d6dcf2a510856
connect: fix strategy testing for attempts, timeouts and happy-eyeball

- add test2600 as a unit test that triggers various connect conditions
  and monitors behaviour, available in a debug build only.

- this exposed edge cases in connect.c that have been fixed

Closes #10312
lib/connect.c
lib/connect.h
lib/urldata.h
tests/data/Makefile.inc
tests/data/test2600 [new file with mode: 0644]
tests/unit/Makefile.inc
tests/unit/unit2600.c [new file with mode: 0644]