Skip to content
  1. Dec 20, 2011
    • Daniel Stenberg's avatar
      FTP: move FTP-specific struct field to ftpc_conn · 377471f3
      Daniel Stenberg authored
      "wait_data_conn" was added to the connectionbits in commit c834213a for
      handling active FTP connections but as it is purely FTP specific and now
      only ever accessed by ftp.c I moved it into the FTP connection struct.
      377471f3
    • Daniel Stenberg's avatar
      non-blocking active FTP: cleanup multi state usage · dfdac615
      Daniel Stenberg authored
      Backpedaled out the funny double-change of state in the multi state
      machine by adding a new argument to the do_more() function to signal
      completion. This way it can remain in the DO_MORE state properly until
      done. Long term, the entire DO_MORE logic should be moved into the FTP
      code and be hidden from the multi code as the logic is only used for
      FTP.
      dfdac615
    • 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. Dec 19, 2011
  3. Dec 16, 2011
  4. Dec 15, 2011
  5. Dec 13, 2011
  6. Dec 12, 2011
    • 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. Dec 11, 2011
  8. Dec 09, 2011
  9. Dec 07, 2011
  10. Dec 06, 2011