SHARE
TWEET

libcurl getaddrinfo list order issue

FabianFrank Jan 8th, 2014 26 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SUCCESS ON UBUNTU
  2. =================
  3. XXX@ubuntu:~/curl $ ./src/curl www.yahoo.com/nothing
  4. Curl_resolv :: START
  5. Curl_resolv :: BEFORE Curl_getaddrinfo
  6. Curl_resolv :: AFTER Curl_getaddrinfo
  7. curl_addrinfo.c :: Curl_getaddrinfo_ex :: START
  8. curl_addrinfo.c :: curl_dogetaddrinfo : START
  9. curl_addrinfo.c :: curl_dogetaddrinfo : RES: 0
  10.  GETADDRINFO ENTRY BEGIN
  11.  ca->ai_protocol: 6
  12.  GETADDRINFO ENTRY END
  13.  
  14.  GETADDRINFO ENTRY BEGIN
  15.  ca->ai_protocol: 17
  16.  GETADDRINFO ENTRY END
  17.  
  18.  GETADDRINFO ENTRY BEGIN
  19.  ca->ai_protocol: 0
  20.  GETADDRINFO ENTRY END
  21.  
  22.  GETADDRINFO ENTRY BEGIN
  23.  ca->ai_protocol: 6
  24.  GETADDRINFO ENTRY END
  25.  
  26.  GETADDRINFO ENTRY BEGIN
  27.  ca->ai_protocol: 17
  28.  GETADDRINFO ENTRY END
  29.  
  30.  GETADDRINFO ENTRY BEGIN
  31.  ca->ai_protocol: 0
  32.  GETADDRINFO ENTRY END
  33.  
  34. connect.c :: singleipconnect
  35.  to 206.190.36.105
  36.  ai->ai_protocol: 6
  37. connect.c :: Curl_socket START
  38. ai->ai_protocol: 6
  39. BEFORE SOCKET
  40. FAMILY: 2
  41. SOCKTYPE: 1
  42. PROTOCOL: 6
  43. AFTER SOCKET
  44. [SUCCESSFUL DOWNLOAD FROM HERE ON]
  45.  
  46.  
  47.  
  48. FAILURE ON MACOS
  49. ================
  50. XXX@macos:~/curl $
  51. Curl_resolv :: START
  52. Curl_resolv :: BEFORE Curl_getaddrinfo
  53. Curl_resolv :: AFTER Curl_getaddrinfo
  54. curl_addrinfo.c :: Curl_getaddrinfo_ex :: START
  55. curl_addrinfo.c :: curl_dogetaddrinfo : START
  56. curl_addrinfo.c :: curl_dogetaddrinfo : RES: 0
  57.  GETADDRINFO ENTRY BEGIN
  58.  ca->ai_protocol: 17
  59.  GETADDRINFO ENTRY END
  60.  
  61.  GETADDRINFO ENTRY BEGIN
  62.  ca->ai_protocol: 6
  63.  GETADDRINFO ENTRY END
  64.  
  65.  GETADDRINFO ENTRY BEGIN
  66.  ca->ai_protocol: 6
  67.  GETADDRINFO ENTRY END
  68.  
  69.  GETADDRINFO ENTRY BEGIN
  70.  ca->ai_protocol: 17
  71.  GETADDRINFO ENTRY END
  72.  
  73.  GETADDRINFO ENTRY BEGIN
  74.  ca->ai_protocol: 6
  75.  GETADDRINFO ENTRY END
  76.  
  77.  GETADDRINFO ENTRY BEGIN
  78.  ca->ai_protocol: 17
  79.  GETADDRINFO ENTRY END
  80.  
  81. connect.c :: singleipconnect
  82.  to 98.138.252.30
  83.  ai->ai_protocol: 17
  84. connect.c :: Curl_socket START
  85. ai->ai_protocol: 17
  86. BEFORE SOCKET
  87. FAMILY: 2
  88. SOCKTYPE: 1
  89. PROTOCOL: 17
  90. AFTER SOCKET
  91. connect.c :: singleipconnect res: 7
  92. connect.c :: singleipconnect : bailing out, Curl_socket failed
  93. [FAILURE]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top