1. 20 Dec, 2011 9 commits
    • Gokhan Sengun's avatar
      FTP: perform active connections non-blocking · c834213a
      Gokhan Sengun authored
      1- Two new error codes are introduced.
      
      CURLE_FTP_ACCEPT_FAILED to be set whenever ACCEPTing fails because of
      FTP server connected.
      
      CURLE_FTP_ACCEPT_TIMEOUT to be set whenever ACCEPTing timeouts.
      
      Neither of these errors are considered fatal and control connection
      remains OK because it could just be a firewall blocking server to
      connect to the client.
      
      2- One new setopt option was introduced.
      
      CURLOPT_ACCEPTTIMEOUT_MS
      
      It sets the maximum amount of time FTP client is going to wait for a
      server to connect. Internal default accept timeout is 60 seconds.
      c834213a
    • Daniel Stenberg's avatar
      sockets: new Curl_socket_check() can wait for 3 sockets · 5527417a
      Daniel Stenberg authored
      This offers an alternative to the existing Curl_socket_ready() API which
      only checks one socket for read and one for write.
      5527417a
    • Cédric Deltheil's avatar
      curl.h: add __ANDROID__ macro check · bedfafe3
      Cédric Deltheil authored
      When working with the Android Standalone Toolchain the compiler defines
      this macro:
      
        /path/to/arm-linux-androideabi-gcc -E -dM - < /dev/null \
        | grep -i android
        #define __ANDROID__ 1
      
      We really need to check both ANDROID and __ANDROID__ since I've observed
      that:
      
      * if you use Android.mk file(s) and the 'ndk-build' script (aka vanilla
      way), ANDROID is predefined (see -DANDROID extra C flag),
      
      * if you use the Android Standalone Toolchain, then __ANDROID__ is
      predefined as stated by the compiler
      bedfafe3
    • Daniel Stenberg's avatar
      lib500: verify timers relative each other · e9040f29
      Daniel Stenberg authored
      As commit ce896875 fixed a timer that accidentally had been moved in
      code and then returned a bad timer, the lib500.c code (used in test 500
      and some others) now verifies 5 timers against each other to verify that
      they have the correct relative values. We cannot compare against
      absolute values as the timings will vary a lot.
      e9040f29
    • Daniel Stenberg's avatar
      Curl_pgrsTime: store now in an auto variable · 51d4885c
      Daniel Stenberg authored
      It makes it easier to introduce debug outputs in this function, and
      everything in the function is using the value anyway so it might even be
      more efficient.
      51d4885c
    • Daniel Stenberg's avatar
      timer: restore PRETRANSFER timing · ce896875
      Daniel Stenberg authored
      Regression introduced in 7.23.0 with commit 9dd85bce. The function in
      which the PRETRANSFER time stamp was recorded was moved in time causing
      it be stored very quickly after the start timestamp. On most systems
      shorter than 1 millisecond and thus it wouldn't even show with -w
      "%{time_pretransfer}" using the command line tool.
      
      Bug: http://curl.haxx.se/mail/archive-2011-12/0022.html
      Reported by: Toni Moreno
      ce896875
    • Bernhard Reutner-Fischer's avatar
      libcurl.m4: Fix quoting arguments of AC_LANG_PROGRAM · eb6e9593
      Bernhard Reutner-Fischer authored
      
      
      Parameters were underquoted, resulting in
      warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
      
      Signed-off-by: default avatarBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
      eb6e9593
    • Daniel Stenberg's avatar
      5c71544f
    • Daniel Stenberg's avatar
      tutorial: remove CURLM_CALL_MULTI_PERFORM add sharing · 7799ac43
      Daniel Stenberg authored
      The CURLM_CALL_MULTI_PERFORM reference is an old leftover I had to
      remove.
      
      I also added some blurb to the previously blank "sharing" section.
      7799ac43
  2. 19 Dec, 2011 7 commits
  3. 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
  4. 15 Dec, 2011 4 commits
  5. 13 Dec, 2011 5 commits
  6. 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
  7. 11 Dec, 2011 1 commit
  8. 09 Dec, 2011 1 commit
  9. 07 Dec, 2011 5 commits
  10. 06 Dec, 2011 2 commits
  11. 05 Dec, 2011 2 commits