Permalink
Commits on Nov 20, 2012
Commits on Nov 19, 2012
  1. Get test 2032 working when using valgrind

    Fabian Keil committed with kdudka Nov 18, 2012
    If curl_multi_fdset() sets maxfd to -1, the socket detection
    loop is skipped and thus !found_new_socket is no cause for alarm.
  2. Fix comment typos in test 517

    Fabian Keil committed with bagder Nov 14, 2012
  3. Test 92 and 194: normalize spaces in the Server headers

    Fabian Keil committed with bagder Nov 13, 2012
    It makes no difference from curl's point of view but
    makes it more convenient to use the tests with a
    lws-normalizing proxy between curl and the test server.
  4. Add a HOSTIP precheck for tests 31 and 1105

    Fabian Keil committed with bagder Nov 18, 2012
    They currently only work for 127.0.0.1 which
    is hardcoded and can't be easily changed.
  5. Let test 8 work as long as %HOSTIP ends with ".0.0.1"

    Fabian Keil committed with bagder Nov 15, 2012
    .. and add a precheck to skip the test otherwise.
  6. Add --resolve to the keywords and name of test 1318

    Fabian Keil committed with bagder Nov 14, 2012
    This makes it easier to skip it automatically when
    the test suite is used with external proxies.
  7. Use carriage returns in all headers in test 31

    Fabian Keil committed with bagder Nov 16, 2012
    Trailing spaces were left unmodifed, assuming they were intentional.
  8. Do not mix CRLF and LF header endings in a couple of HTTP tests

    Fabian Keil committed with bagder Nov 14, 2012
    Consistently use CRLF instead. The mixed endings weren't
    documented so I assume they were unintentional.
    
    This change doesn't matter for curl itself but makes using
    the tests with a proxy between curl and the test server
    more convenient.
    
    Tests that consistently use no carriage returns were
    left unmodified as one can easily work around this.
Commits on Nov 18, 2012
  1. fixed memory leak: CURLOPT_RESOLVE with multi interface

    bagder committed Nov 18, 2012
    DNS cache entries populated with CURLOPT_RESOLVE were not properly freed
    again when done using the multi interface.
    
    Test case 1502 added to verify.
    
    Bug: http://curl.haxx.se/bug/view.cgi?id=3575448
    Reported by: Alex Gruz
Commits on Nov 17, 2012
  1. RELEASE-NOTES: synced with ee588fe

    bagder committed Nov 17, 2012
    4 more bug fixes and 4 more contributors
  2. mem-include-scan: verify memory #includes

    bagder committed Nov 16, 2012
    If we use memory functions (malloc, free, strdup etc) in C sources in
    libcurl and we fail to include curl_memory.h or memdebug.h we either
    fail to properly support user-provided memory callbacks or the memory
    leak system of the test suite fails.
    
    After Ajit's report of a failure in the first category in http_proxy.c,
    I spotted a few in the second category as well. These problems are now
    tested for by test 1132 which runs a perl program that scans for and
    attempts to check that we use the correct include files if a memory
    related function is used in the source code.
    
    Reported by: Ajit Dhumale
    Bug: http://curl.haxx.se/mail/lib-2012-11/0125.html
Commits on Nov 16, 2012
  1. tftp_rx: code style cleanup

    bagder committed Nov 16, 2012
    Fixed checksrc warnings
  2. Fix the libauthretry changes from 7c0cbcf

    Fabian Keil committed with bagder Nov 16, 2012
    They broke the NTLM tests from 2023 to 2031.
  3. tftp_rx: handle resends

    Christian Vogt committed with bagder Nov 16, 2012
    Re-send ACK for block X in case we receive block X data again while
    waiting for block X+1.
    
    Based on an earlier patch by Marcin Adamski.
  4. autoconf: don't force-disable compiler debug option

    bagder committed Nov 16, 2012
    When nothing is told to configure, we should not enforce switching off
    debug options with -g0 (or similar). We instead don't use -g at all in
    that situaion and therefore allow the user's CFLAGS settings possibly
    dictate what to do.
Commits on Nov 14, 2012
  1. winbuild: Fix PDB file output

    msnelling committed with bagder Nov 14, 2012
    And fix some newlines to be proper CRLF
    
    Bug: http://curl.haxx.se/bug/view.cgi?id=3586741
  2. RELEASE-NOTES: synced with fa1ae0a

    bagder committed Nov 14, 2012
Commits on Nov 13, 2012
  1. OpenSSL: Disable SSL/TLS compression

    crrodriguez committed with bagder Nov 12, 2012
    It either causes increased memory usage or exposes users
    to the "CRIME attack" (CVE-2012-4929)
  2. FILE: Make upload-writes unbuffered by not using FILE streams

    Sebastian Rasmussen committed with bagder Oct 8, 2012
  3. tool_metalink: fix error detection of hash alg initialization

    kdudka committed Nov 13, 2012
    The {MD5,SHA1,SHA256}_Init functions from OpenSSL are called directly
    without any wrappers and they return 1 for success, 0 otherwise.  Hence,
    we have to use the same approach in all the wrapper functions that are
    used for the other crypto libraries.
    
    This commit fixes a regression introduced in commit dca8ae5.
  4. RELEASE-NOTES: synced with 7c0cbcf

    bagder committed Nov 13, 2012
Commits on Nov 12, 2012
  1. Merge branch 'master' of github.com:bagder/curl

    Patrick Monnerat committed Nov 12, 2012
  2. OS400: upgrade wrappers for the 7.28.1 release.

    Patrick Monnerat committed Nov 12, 2012
  3. Digst: Add microseconds into nounce calculation

    gabrielsjoberg committed with bagder Nov 9, 2012
    When using only 1 second precision, curl doesn't create new cnonce
    values quickly enough for all uses.
    
    For example, issuing the following command multiple times to a recent
    Tomcat causes authentication failures:
    
    curl --digest -utest:test http://tomcat.test.com:8080/manager/list
    
    This is because curl uses the same cnonce for several seconds, but
    doesn't increment the nonce counter.  Tomcat correctly interprets
    this as a replay attack and rejects the request.
    
    When microsecond-precision is available, this commit causes curl to
    change cnonce values much more frequently.
    
    With microsecond resolution, increasing the nounce length used in the
    headers to 32 was made to further reduce the risk of duplication.
  4. SCP/SFTP: improve error code used for send failures

    bagder committed Nov 12, 2012
    Instead of relying on the generic CURLE error for SCP or SFTP send
    failures, try passing back a more suitable error if possible.
Commits on Nov 9, 2012