1. 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 Autoconf 2.57, so let's
      use it instead.
      c07a6f3f
  2. 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
  3. 06 Dec, 2012 1 commit
  4. 05 Dec, 2012 5 commits
  5. 04 Dec, 2012 4 commits
  6. 03 Dec, 2012 2 commits
  7. 30 Nov, 2012 3 commits
  8. 29 Nov, 2012 1 commit
  9. 28 Nov, 2012 2 commits
  10. 27 Nov, 2012 1 commit
  11. 26 Nov, 2012 3 commits
  12. 25 Nov, 2012 2 commits
  13. 23 Nov, 2012 3 commits
    • Yang Tse's avatar
      build: fix AIX compilation and usage · 665adcd4
      Yang Tse authored
      AIX sys/poll.h header file defines 'events' and 'revents' as C
      preprocessor macros. Usage of these literals in libcurl's external
      API was introduced in commit de24d7bd causing AIX build failures.
      Appropriate inclusion of sys/poll.h by libcurl's external interface
      fixes AIX build and usage issues while avoiding a SONAME bump.
      665adcd4
    • Steve Holme's avatar
    • Daniel Stenberg's avatar
      test: offer "automake" output and check for perl better · 14dc679c
      Daniel Stenberg authored
      runtests.pl -am now uses the "PASS/FAIL: [desc]" output for each
      executed test. You can run 'make test-am' in the root build directory to
      invoke that. The reason for this output style is to better allow generic
      test suite parsers to also grok our test output.
      
      The test Makefile now also tests that perl was indeed found and that the
      PERL variable points to an executable before it tries to run the main
      test perl script runtests.pl,
      14dc679c
  14. 21 Nov, 2012 5 commits
  15. 20 Nov, 2012 4 commits
  16. 19 Nov, 2012 2 commits