]> git.ipfire.org Git - thirdparty/curl.git/commit
connect: return CURLE_OPERATION_TIMEDOUT for errno == ETIMEDOUT
authorDaniel Stenberg <daniel@haxx.se>
Fri, 4 Oct 2019 11:29:04 +0000 (13:29 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 9 Oct 2019 12:16:28 +0000 (14:16 +0200)
commit490effc193f548d02f7cc9b05eb19350e28cc5e7
tree05531f8a34af22bcb15be814d421aa79576b386c
parent5584aa96f81b5808e47f62cfd1d0f726f49ec2fa
connect: return CURLE_OPERATION_TIMEDOUT for errno == ETIMEDOUT

Previosly all connect() failures would return CURLE_COULDNT_CONNECT, no
matter what errno said.

This makes for example --retry work on these transfer failures.

Reported-by: Nathaniel J. Smith
Fixes #4461
Clsoes #4462
lib/connect.c