Mailing Lists
|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker Archives
[curl:bugs] #1191 When using a wrong hostname in --interface, the wrong host name appears in the error message
From: Anatol Belski <weltling_at_users.sf.net>
Date: Tue, 19 Feb 2013 16:06:31 +0000
Here's the code produced using --libcurl with a vc11/x86 build of 7.29.0 concerning that 'nil' issue. After applying the patch the issue disappears. The build options used
nmake /f Makefile.vc mode=static VC=11 WITH_DEVEL=c:\vc11_deps\repo\curl_deps.x86 WITH_SSL=dll WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=no GEN_PDB=yes DEBUG=no MACHINE=x86
Attachment: curl_php_1191.c (1.6 kB; application/octet-stream)
--- ** [bugs:#1191] When using a wrong hostname in --interface, the wrong host name appears in the error message** **Status:** open-confirmed **Created:** Sun Feb 10, 2013 11:30 PM UTC by Kim Vandry **Last Updated:** Tue Feb 19, 2013 09:24 AM UTC **Owner:** Daniel Stenberg While testing my patch for #1189 I discovered a related problem which is pre-existing: I can reproduce it on the current git master. For test 1084, even though the exit code is correct (45, CURLE_INTERFACE_FAILED) the error text is wrong and confusing: src/curl --interface DoesNotExist.example.com http://www.google.com/ curl: (45) Could not resolve host: www.google.com (Domain name not found) Actually it failed to resolve DoesNotExist.example.com, not www.google.com like the error message says. If you use --proxy then the error message says "Could not resolve proxy" which is also not true. I am not sure what the best way to fix this would be (I can think of a hack or two), but I just wanted to document it single I noticed it. --- Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1191/> To unsubscribe from further messages, please visit <https://sourceforge.net/auth/prefs/>Received on 2013-02-19 These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info