1. 06 Dec, 2011 2 commits
  2. 05 Dec, 2011 9 commits
  3. 04 Dec, 2011 1 commit
  4. 02 Dec, 2011 3 commits
    • Jason Glasgow's avatar
      CURLOPT_DNS_SERVERS: set name servers if possible (fix) · 62d3652b
      Jason Glasgow authored
      Ensure that CURLE_OK is returned if setting the name servers is successfull.
      62d3652b
    • Daniel Stenberg's avatar
      multi interface: only use non-NULL function pointer! · d81f5ea3
      Daniel Stenberg authored
      If the socket callback function pointer hasn't been set, we must not
      attempt to use it. Commit adc88ca2 made it more likely to occur.
      d81f5ea3
    • Jason Glasgow's avatar
      multi: handle timeouts on DNS servers by checking for new sockets · adc88ca2
      Jason Glasgow authored
      If the first name server is not available, the multi interface does
      not invoke the socket_cb when the DNS request to the first name server
      timesout.  Ensure that the list of sockets are always updated after
      calling Curl_resolver_is_resolved.
      
      This bug can be reproduced if Curl is complied with --enable_ares and
      your code uses the multi socket interfaces and the
      CURLMOPT_SOCKETFUNCTION option.  To test try:
        iptables -I INPUT \
                 -s $(sed -n -e '/name/{s/.* //p;q}' /etc/resolv.conf)/32 \
                 -j REJECT
      and then run a program which uses the multi-interface.
      adc88ca2
  5. 01 Dec, 2011 1 commit
  6. 30 Nov, 2011 4 commits
  7. 29 Nov, 2011 4 commits
  8. 28 Nov, 2011 2 commits
  9. 27 Nov, 2011 1 commit
  10. 25 Nov, 2011 10 commits
  11. 24 Nov, 2011 3 commits
    • Daniel Stenberg's avatar
      RELEASE-NOTES: synced with 2c905fd1 · f712ace9
      Daniel Stenberg authored
      f712ace9
    • Jonas Schnelli's avatar
      query-part: ignore the URI part for given protocols · 2c905fd1
      Jonas Schnelli authored
      By setting PROTOPT_NOURLQUERY in the protocol handler struct, the
      protocol will get the "query part" of the URL cut off before the data is
      handled by the protocol-specific code. This makes libcurl adhere to
      RFC3986 section 2.2.
      
      Test 1220 is added to verify a file:// URL with query-part.
      2c905fd1
    • Daniel Stenberg's avatar
      symbols.pl: provide LIBCURL_HAS macro for apps · 4403e82f
      Daniel Stenberg authored
      Experience has shown that the symbols-in-versions file is very useful to
      applications that want to build with a wide range of libcurl versions.
      It is however easy to get it wrong and the source gets a bit messy with
      all the fixed numerical comparisions.
      
      The point of this script is to provide an easy-to-use macro for libcurl-
      using applications to do preprocessor checks for specific libcurl
      defines, and yet make the code clearly show what the macro is used for.
      4403e82f