1. 16 Dec, 2011 2 commits
    • Daniel Stenberg's avatar
      curl -F: fix multiple file upload with custom type · 7b8590d1
      Daniel Stenberg authored
      Test case 1315 was added to verify this functionality. When passing in
      multiple files to a single -F, the parser would get all confused if one
      of the specified files had a custom type= assigned.
      
      Reported by: Colin Hogben
      7b8590d1
    • Colin Hogben's avatar
      New test for multiple file upload · 9b185aac
      Colin Hogben authored
      test 1315 checks correct behaviour when uploading multiple files.
      Buggy behaviour has been seen where only two attachments are sent.
      9b185aac
  2. 15 Dec, 2011 4 commits
  3. 13 Dec, 2011 5 commits
  4. 12 Dec, 2011 2 commits
    • Jason Glasgow's avatar
      CURLOPT_INTERFACE: avoid resolving interfaces names · 6e4835c7
      Jason Glasgow authored
      Do not try to resolve interfaces names via DNS by recognizing interface
      names in a few ways.  If the interface option argument has a prefix of
      "if!" then treat the argument as only an interface.  Similarly, if the
      interface argument is the name of an interface (even if it does not have
      an IP address assigned), treat it as an interface name.  Finally, if the
      interface argument is prefixed by "host!" treat it as a hostname that
      must be resolved by /etc/hosts or DNS.
      
      These changes allow a client using the multi interfaces to avoid
      blocking on name resolution if the interface loses its IP address or
      disappears.
      6e4835c7
    • Daniel Stenberg's avatar
      RELEASE-NOTES: synced with 1259ccf7 · ba057c2e
      Daniel Stenberg authored
      5 more bugfixes, 5 more contributors
      ba057c2e
  5. 11 Dec, 2011 1 commit
  6. 09 Dec, 2011 1 commit
  7. 07 Dec, 2011 5 commits
  8. 06 Dec, 2011 2 commits
  9. 05 Dec, 2011 9 commits
  10. 04 Dec, 2011 1 commit
  11. 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
  12. 01 Dec, 2011 1 commit
  13. 30 Nov, 2011 4 commits