Permalink
Commits on Mar 14, 2011
  1. mk-ca-bundle.pl: Only download if modified

    abh authored and bagder committed Mar 14, 2011
    Only download and convert the certdata to the ca-bundle.crt if Mozilla
    changed the data
    
    The Perl LWP module (which in a bit of a circular reference is used by
    mk-ca-bundle.pl) is now indirectly using this script. I made this small
    tweak to make it easier to automatically maintain the generated
    ca-bundle.crt file in version control.
Commits on Mar 13, 2011
  1. SSH: add protocol lock direction

    bagder committed Mar 13, 2011
    Some protocols have to call the underlying functions without regard to
    what exact state the socket signals. For example even if the socket says
    "readable", the send function might need to be called while uploading,
    or vice versa. This is the case for libssh2 based protocols: SCP and
    SFTP and we now introduce a define to set those protocols and we make
    the multi interface code aware of this concept.
    
    This is another fix to make test 582 run properly.
  2. state: add missing state to debug table

    bagder committed Mar 13, 2011
    As a new state recently was added to the IMAP state machine it has to be
    in the array of names as well as otherwise libcurl crashes when a debug
    version runs...
  3. test 582: enabled again

    bagder committed Mar 13, 2011
    Commit ca37692 should now hopefully make it run
  4. ssh_statemach_act: set cselect for sftp upload

    bagder committed Mar 13, 2011
    For uploads we want to use the _sending_ function even when the socket
    turns out readable as the underlying libssh2 sftp send function will
    deal with both accordingly. This is what the cselect_bits magic is for.
    
    Fixes test 582.
Commits on Mar 12, 2011
  1. Revert "test582: enabled"

    bagder committed Mar 12, 2011
    This reverts commit b847818.
  2. TODO-RELEASE: fixed four isues

    bagder committed Mar 12, 2011
    These issues are now addressed:
    
    276 - Karl M's vc makefile patch
    277 - The "Stall when uploading to sftp using multi interface"  bug
    279 - curl_multi_remove_handle() crashes
    280 - Marcus Sundberg's gss patch
  3. VC: add missing file

    Karl M authored and bagder committed Mar 12, 2011
    http_negotiate_sspi.c was added to the source tree recently
  4. GSS: handle reuse fix

    adamel authored and bagder committed Mar 12, 2011
    Make GSS authentication work when a curl handle is reused for multiple
    authenticated requests, by always setting negdata->state in
    output_auth_headers().
    
    Signed-off-by: Marcus Sundberg <marcus.sundberg@aptilo.com>
  5. test583: verify early SSH multi remove handle

    bagder committed Mar 12, 2011
    This test case is meant to verify that the logic in commit
    60172a0 actually works. This test failed for me before that
    change and it works after it.
  6. SFTP: gracefully handle shutdown early

    bagder committed Mar 12, 2011
    When using the multi interface and a handle using SFTP was removed very
    early on, we would get a segfault due to the code assumed data was there
    that hadn't yet been setup.
    
    Bug: http://curl.haxx.se/mail/lib-2011-03/0066.html
    Reported by: Saqib Ali
  7. CURL_CHECK_FUNC_RECVFROM: android/bionic fix

    mmassing authored and bagder committed Mar 12, 2011
    recvfrom in bionic (the android libc) deviates from POSIX and uses a
    const in the 5th argument ("const struct sockaddr *") so the check now
    tests for that as well.
  8. test582: enabled

    bagder committed Mar 12, 2011
  9. PROT_CLOSEACTION: added SFTP and SCP

    bagder committed Mar 12, 2011
    Both SFTP and SCP are protocols that need to shut down stuff properly
    when the connection is about to get torned down. The primary effect of
    not doing this shows up as memory leaks (when using SCP or SFTP with the
    multi interface).
    
    This is one of the problems detected by test 582.
  10. readwrite_upload: stop upload at file size

    bagder committed Mar 12, 2011
    As we know how much to send, we can and should stop once we've sent that
    much data as it avoids having to rely on other mechanisms to detect the
    end.
    
    This is one of the problems detected by test 582.
    
    Reported by: Henry Ludemann <misc@hl.id.au>
  11. sftp upload: expire to advance state machine

    bagder committed Mar 12, 2011
    When using the multi_socket API to do SFTP upload, it is important that
    we set a quick expire when leaving the SSH_SFTP_UPLOAD_INIT state as
    there's nothing happening on the socket so there's no read or write to
    wait for, but the next libssh2 API function needs to be called to get
    the ball rolling.
    
    This is one of the problems detected by test 582.
    
    Reported by: Henry Ludemann <misc@hl.id.au>
Commits on Mar 11, 2011
Commits on Mar 10, 2011
  1. sources: update source headers

    bagder committed Mar 10, 2011
    All C and H files now (should) feature the proper project curl source
    code header, which includes basic info, a copyright statement and some
    basic disclaimers.
Commits on Mar 9, 2011
  1. tests: phase out haxx.se

    bagder committed Mar 9, 2011
    Instead of using haxx.se as a fixed magic host name in lots of tests,
    this is a first step to move toward the generic example.com host
    instead.
  2. test523: avoid using haxx.se

    bagder committed Mar 9, 2011
    ... since search engines find what they think is a URL in this, they
    hammer www.haxx.se on this port!
Commits on Mar 8, 2011
  1. cyassl: fix compiler warnings

    bagder committed Mar 8, 2011
  2. SSL: (part 2) Added CyaSSL to SSL abstraction layer

    toddouska authored and bagder committed Mar 8, 2011
    This is the modified existing files commit.
  3. SSL: Added CyaSSL to SSL abstraction layer

    toddouska authored and bagder committed Mar 1, 2011
    CyaSSL (available from git@github.com:cyassl/cyassl.git) has been
    added to the SSL abstraction layer.
    
    To test:
    1) git CyaSSL sources
    2) autoreconf -i
    3) ./configure --disable-static
    4) make
    5) sudo make install
    6) autoreconf -i
    7) git curl sources (and this patch)
    8) ./configure --disable-shared --with-cyassl --without-ssl --enable-debug
    9) make
    10) normal testing
    
    Please send questions or comments to todd@yassl.com .
  4. curl.1: clarify -E

    bagder committed Mar 8, 2011
    Stress that it is for client certificates and then mention that it also
    works for all other SSL-based protocols apart from HTTPS and
    FTPS. Namely POP3S, IMAPS and SMTPS for now.
  5. lib582: used for test 582

    bagder committed Mar 8, 2011
    Accidentally not included in commit 0e74e1d
Commits on Mar 7, 2011
  1. sftp-multi: test 582 added

    Henry Ludemann authored and bagder committed Mar 7, 2011
    Add test 582 for uploading a file using sftp and the multi interface.
    
    (Patch and test slightly tweaked by Daniel Stenberg)
    
    Initially marked as disabled until it is fixed in the source.