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 /lib/Makefile.netware | |
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 'lib/Makefile.netware')
0 files changed, 0 insertions, 0 deletions