diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-08-10 15:28:46 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-08-10 23:16:08 +0200 |
commit | 37201e3c36541a1a7f14424860e1f685eaa83e7c (patch) | |
tree | 3cd377b72f5cd75d031a9e61b8cedabcb89132be /tests/data/test1085 | |
parent | 06869597c3f5b29e69786c6f51321e6783c45461 (diff) |
callbacks: acknowledge progress callback error returns
When the progress callback is called during the TCP connection, an error
return would accidentally not abort the operation as intended but would
instead be counted as a failure to connect to that particular IP and
libcurl would just continue to try the next. I made singleipconnect()
and trynextip() return CURLcode properly.
Added bonus: it corrected the error code for bad --interface usages,
like tested in test 1084 and test 1085.
Reported by: Adam Light
Bug: http://curl.haxx.se/mail/lib-2010-08/0105.html
Diffstat (limited to 'tests/data/test1085')
-rw-r--r-- | tests/data/test1085 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/test1085 b/tests/data/test1085 index 0cedefe3b..db02e6033 100644 --- a/tests/data/test1085 +++ b/tests/data/test1085 @@ -42,7 +42,7 @@ HTTP-IPv6 GET with invalid --interface # Verify data after the test has been "shot" <verify> <errorcode> -7 +45 </errorcode> </verify> </testcase> |