1. 23 Dec, 2012 2 commits
  2. 21 Dec, 2012 6 commits
  3. 20 Dec, 2012 1 commit
  4. 19 Dec, 2012 3 commits
  5. 18 Dec, 2012 1 commit
  6. 17 Dec, 2012 2 commits
  7. 16 Dec, 2012 1 commit
  8. 15 Dec, 2012 2 commits
  9. 14 Dec, 2012 3 commits
    • Nick Zitzmann's avatar
      darwinssl: Fix implicit conversion compiler warnings · bbb4bbc0
      Nick Zitzmann authored
      The Clang compiler found a few implicit conversion problems that have
      now been fixed.
      bbb4bbc0
    • Yang Tse's avatar
      setup_once.h: HP-UX <sys/socket.h> issue workaround · 0e8e340c
      Yang Tse authored
      Issue: When building a 32bit target with large file support HP-UX
      <sys/socket.h> header file may simultaneously provide two different
      sets of declarations for sendfile and sendpath functions, one with
      static and another with external linkage. Given that we do not use
      mentioned functions we really don't care which linkage is the
      appropriate one, but on the other hand, the double declaration emmits
      warnings when using the HP-UX compiler and errors when using modern
      gcc versions resulting in fatal compilation errors.
      
      Mentioned issue is now fixed as long as we don't use sendfile nor
      sendpath functions.
      0e8e340c
    • Yang Tse's avatar
      setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h> · a0b20716
      Yang Tse authored
      Inclusion of top two most included header files now done in setup_once.h
      a0b20716
  10. 12 Dec, 2012 2 commits
  11. 11 Dec, 2012 1 commit
  12. 10 Dec, 2012 5 commits
  13. 08 Dec, 2012 1 commit
    • Colin Watson's avatar
      configure: fix cross pkg-config detection · c07a6f3f
      Colin Watson authored
      When cross-compiling, CURL_CHECK_PKGCONFIG was checking for the cross
      pkg-config using ${host}-pkg-config.
      
      The gold standard for doing this correctly is pkg-config's own macro,
      PKG_PROG_PKG_CONFIG.  However, on the assumption that you have a good
      reason not to use that directly (reduced dependencies for maintainer
      builds?), the behaviour of cURL's version should at least match.
      PKG_PROG_PKG_CONFIG uses AC_PATH_TOOL, which ultimately ends up trying
      ${host_alias}-pkg-config; this is not quite the same as what cURL does,
      and may differ because ${host} has been run through config.sub.  For
      instance, when cross-building to the armhf architecture on Ubuntu,
      ${host_alias} is arm-linux-gnueabihf while ${host} is
      arm-unknown-linux-gnueabihf.  This may also have been the cause of the
      problem reported at http://curl.haxx.se/mail/lib-2012-04/0224.html.
      
      AC_PATH_TOOL is significantly simpler than cURL's current code, and
      dates back to well before the current minimum of Autoco...
      c07a6f3f
  14. 07 Dec, 2012 1 commit
    • Linus Nielsen Feltzing's avatar
      Introducing a new persistent connection caching system using "bundles". · d021f2e8
      Linus Nielsen Feltzing authored
      A bundle is a list of all persistent connections to the same host.
      The connection cache consists of a hash of bundles, with the
      hostname as the key.
      The benefits may not be obvious, but they are two:
      
      1) Faster search for connections to reuse, since the hash
         lookup only finds connections to the host in question.
      2) It lays out the groundworks for an upcoming patch,
         which will introduce multiple HTTP pipelines.
      
      This patch also removes the awkward list of "closure handles",
      which were needed to send QUIT commands to the FTP server
      when closing a connection.
      Now we allocate a separate closure handle and use that
      one to close all connections.
      
      This has been tested in a live system for a few weeks, and of
      course passes the test suite.
      d021f2e8
  15. 06 Dec, 2012 1 commit
  16. 05 Dec, 2012 5 commits
  17. 04 Dec, 2012 3 commits
    • Yang Tse's avatar
      examples: fix compilation issues · 23f8dca6
      Yang Tse authored
      23f8dca6
    • Yang Tse's avatar
      build: explain current role of LIBS in our Makefile.am files · b908376b
      Yang Tse authored
      BLANK_AT_MAKETIME may be used in our Makefile.am files to blank
      LIBS variable used in generated makefile at makefile processing
      time. Doing this functionally prevents LIBS from being used for
      all link targets in given makefile.
      b908376b
    • Daniel Stenberg's avatar
      multi: fix re-sending request on early connection close · 8b02afd9
      Daniel Stenberg authored
      This handling already works with the easy-interface code. When a request
      is sent on a re-used connection that gets closed by the server at the
      same time as the request is sent, the situation may occur so that we can
      send the request and we discover the broken connection as a RECV_ERROR
      in the PERFORM state and then the request needs to be retried on a fresh
      connection. Test 64 broke with 'multi-always-internally'.
      8b02afd9