Commits on May 16, 2012
  1. Commit the results of ./buildconf

    certik committed May 16, 2012
    So that we don't depend on autotools to build this package
Commits on Dec 5, 2011
  1. Fix the spkg-install

    certik committed Dec 5, 2011
  2. Add spkg-install

    certik committed Dec 5, 2011
  3. Curl_resolver_is_resolved: differentiate between host/proxy errors

    bagder committed Dec 5, 2011
    As there are different return codes for host vs proxy errors, this function
    now properly returns the code properly depending on what was attempted to get
    Reported by: Jason Liu
  4. c-ares: return proxy failure for all proxy types

    bagder committed Dec 5, 2011
    When making a distinction which return code to return, the code previously
    only regarded HTTP proxies to be proxies and thus return host-related errors
    for failures on other proxy types than HTTP. Now all proxy types will be
    considered proxies...
  5. FTP: close callback fix

    bagder committed Dec 5, 2011
    Keep track of which sockets that are the result of accept() calls and
    refuse to call the closesocket callback for those sockets. Test case 596
    now verifies that the open socket callback is called the same number of
    times as the closed socket callback for active FTP connections.
    Reported by: Gokhan Sengun
  6. FTP: call opensocket callback properly

    bagder committed Dec 5, 2011
    When the new socket is created for an active connection, it is now done
    using the open socket callback.
    Test case 596 was modified to run fine, although it hides the fact that
    the close callback is still called too many times, as it also gets
    called for closing sockets that were created with accept().
  7. Curl_socket: internal replacement for socket()

    bagder committed Dec 5, 2011
    Moved out into a separate function to work as a "generic" socket()
Commits on Dec 4, 2011
  1. test: verify the opensocket callback for FTP

    bagder committed Dec 4, 2011
    test 595: for passive FTP
    test 596: for active FTP
Commits on Dec 2, 2011
  1. CURLOPT_DNS_SERVERS: set name servers if possible (fix)

    Jason Glasgow committed with bagder Dec 1, 2011
    Ensure that CURLE_OK is returned if setting the name servers is successfull.
  2. multi interface: only use non-NULL function pointer!

    bagder committed Dec 2, 2011
    If the socket callback function pointer hasn't been set, we must not
    attempt to use it. Commit adc88ca made it more likely to occur.
  3. multi: handle timeouts on DNS servers by checking for new sockets

    Jason Glasgow committed with bagder Nov 30, 2011
    If the first name server is not available, the multi interface does
    not invoke the socket_cb when the DNS request to the first name server
    timesout.  Ensure that the list of sockets are always updated after
    calling Curl_resolver_is_resolved.
    This bug can be reproduced if Curl is complied with --enable_ares and
    your code uses the multi socket interfaces and the
    CURLMOPT_SOCKETFUNCTION option.  To test try:
      iptables -I INPUT \
               -s $(sed -n -e '/name/{s/.* //p;q}' /etc/resolv.conf)/32 \
               -j REJECT
    and then run a program which uses the multi-interface.
Commits on Dec 1, 2011
Commits on Nov 30, 2011
  1. POP3: fixed escaped dot not being striped out

    captain-caveman2k committed with bagder Nov 30, 2011
    Changed the eob detection to work across the whole of the buffer so that
    lines that begin with a dot (which the server will have escaped) are
    passed to the client application correctly.
  2. buildconf: fix libtool 1.5.x warnings triggered with autoconf 2.6x or…

    yangtse committed Nov 30, 2011
    … later
    Using libtool 1.5.x (x < 26) with autoconf 2.6x or later generates warnings
    due to some libtool variables not following naming convention for variables
    that will be cached.
    This is addressed renaming a couple of variables to make these follow expected
    naming convention.
  3. RELEASE-NOTES: synced with 1038d0a

    bagder committed Nov 30, 2011
    5 bugfixes and 1 new contributor
Commits on Nov 29, 2011
  1. pop3.c: fix compiler warning

    yangtse committed Nov 29, 2011
  2. configure: avoid usage of macro PKG_CHECK_MODULES

    yangtse committed Nov 29, 2011
    libidn option adjusted in order to use pkg-config info when available
    in a similar way as we already do for other libraries.
  3. POP3: detect when LIST returns no mails

    bagder committed Nov 29, 2011
    By making sure the function can detect an "end of body" sequence
    immediately on the first line, test 811 is now enabled.
  4. ftpserver: output CRLF in logs

    bagder committed Nov 29, 2011
    Previously the log function would just filter out all CR and LF
    occurances from the log to make it more readable. This had the downside
    that it made it very hard to see CR LFs when they actually matters.
    Now, they're instead converted to "[CR]" and "[LR]" in the log to become
    apparent to readers.
Commits on Nov 28, 2011
  1. POP3: fix end of body detection

    bagder committed Nov 28, 2011
    Curl_pop3_write() now has a state machine that scans for the end of a
    POP3 body so that the CR LF '.' CR LF sequence can come in everything
    from one up to five subsequent packets.
    Test case 810 is modified to use SLOWDOWN which makes the server pause
    between each single byte and thus makes the POP3 body get sent to curl
    basically one byte at a time.
  2. test: added POP3 test with dot-prefixed line

    bagder committed Nov 28, 2011
    Test 815 is disabled for now since libcurl currently doesn't unescape
    such lines the way it should. See mail:
Commits on Nov 27, 2011
  1. configure: fix to make older pkg-config play well

    bagder committed Nov 27, 2011 error: possibly undefined macro: PKG_CONFIG_LIBDIR
    Obviously this is not a problem with pkg-config 0.26 but older versions
    seem to show this.
    Fix suggested by: Kamil Dudka
    Reported by: Guenter
Commits on Nov 25, 2011
  1. test 1211: FTP test to repeat bug #3429299

    bagder committed Nov 25, 2011
    "Active FTP hangs if server does not open data connection"
    The server first sends a 150 and then when libcurl waits for the data
    transfer, the server sends a 425.
  2. FTP tests 1206 - 1209: don't expect QUIT

    bagder committed Nov 25, 2011
    The protocol parts for these tests do not include QUIT simply because
    the error is CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout
    error without specificly saying for which connection it concerns, and
    for timeouts libcurl marks the control channel as "invalid". As this
    test case times out for the data connection it could still use the
    control channel.
  3. rectify comment

    jonasschnelli committed with bagder Nov 25, 2011
  4. SSLSESSION_SHARED: new macro to check if session is shared

    bagder committed Nov 25, 2011
    Added convenience macro to use to check if a handle is using a shared
    SSL session, and fixed so that Curl_ssl_close_all() doesn't lock when
    the session isn't shared.
  5. tvdiff_secs(): sub-zero time difference adjustment

    yangtse committed Nov 25, 2011
    Skip a floating point addition operation when integral part of time difference
    is zero. This avoids potential floating point addition rounding problems while
    preserving decimal part value.
  6. telnet: fix macros to allow proper semicolon use

    bagder committed Nov 25, 2011
    Macros that look like function calls need to be made so that we can use
    semicolons properly for indentation and for reducing the risk for
    mistakes when using them.
  7. TELNET: improved treatment of options

    Laurent Rabret committed with bagder Nov 25, 2011
    1) enables the Window Size option
    2) allows the server to enable the echo mode
    3) allows an app using libcurl to disable the default binary mode
    Signed-off-by: Laurent Rabret