aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2006-12-05Jared Lundell filed bug report #1604956Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1604956) which identified setting CURLOPT_MAXCONNECTS to zero caused libcurl to SIGSEGV. Starting now, libcurl will always internally use no less than 1 entry in the connection cache.
2006-12-05better preprocessor check for recent MSVC versionsDaniel Stenberg
2006-12-05CURLOPT_FORBID_REUSE works again with a cleaned up order of doing things inDaniel Stenberg
Curl_done()
2006-12-05oops, fix belonging to the previous curl_getdate() fix since it makes MSVCDaniel Stenberg
use gmtime_r
2006-12-05Martin Skinner brought back bug report #1230118 to haunt us once again.Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1230118) curl_getdate() did not work properly for all input dates on Windows. It was mostly seen on some TZ time zones using DST. Luckily, Martin also provided a fix.
2006-12-05Alexey Simak filed bug report #1600447Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1600447) in which he noted that active FTP connections don't work with the multi interface. The problem is here that the multi interface state machine has a state during which it can wait for the data connection to connect, but the active connection is not done in the same step in the sequence as the passive one is so it doesn't quite work for active. The active FTP code still use a blocking function to allow the remote server to connect. The fix (work-around is a better word) for this problem is to set the boolean prematurely that the data connection is completed, so that the "wait for connect" phase ends at once.
2006-12-05Matt Witherspoon fixed a problem case when the CPU load went to 100% when aDaniel Stenberg
HTTP upload was disconnected: "What appears to be happening is that my system (Linux 2.6.17 and 2.6.13) is setting *only* POLLHUP on poll() when the conditions in my previous mail occur. As you can see, select.c:Curl_select() does not check for POLLHUP. So basically what was happening, is poll() was returning immediately (with POLLHUP set), but when Curl_select() looked at the bits, neither POLLERR or POLLOUT was set. This still caused Curl_readwrite() to be called, which quickly returned. Then the transfer() loop kept continuing at full speed forever."
2006-12-01Toon Verwaest reported that there are servers that send the Content-Range:Daniel Stenberg
header in a third, not suppported by libcurl, format and we agreed that we could make the parser more forgiving to accept all the three found variations.
2006-11-27no need to access it with conn->data since data is already a local variableDaniel Stenberg
holding the conn->data value
2006-11-25Venkat Akella found out that libcurl did not like HTTP responses that simplyDaniel Stenberg
responded with a single status line and no headers nor body. Starting now, a HTTP response on a persistent connection (i.e not set to be closed after the response has been taken care of) must have Content-Length or chunked encoding set, or libcurl will simply assume that there is no body. To my horror I learned that we had no less than 57(!) test cases that did bad HTTP responses like this, and even the test http server (sws) responded badly when queried by the test system if it is the test system. So although the actual fix for the problem was tiny, going through all the newly failing test cases got really painful and boring.
2006-11-25James Housley fixed SCP downloading by setting the maxdownload.Daniel Stenberg
2006-11-25Make sure RETSIGTYPE is properly definedYang Tse
2006-11-24James Housley did lots of work and introduced SFTP downloads.Daniel Stenberg
2006-11-24Define HAVE_SIGNAL_H, HAVE_SIG_ATOMIC_T and HAVE_SIG_ATOMIC_T_VOLATILEYang Tse
as appropriate for platforms that don't have autotools support
2006-11-22Added a check in configure that verifies if <signal.h> is available,Yang Tse
defining HAVE_SIGNAL_H if the header is available. Added a check in configure that tests if the sig_atomic_t type is available, defining HAVE_SIG_ATOMIC_T if it is available. Providing a suitable default in setup_once.h if not available. Added a check in configure that tests if the sig_atomic_t type is already defined as volatile, defining HAVE_SIG_ATOMIC_T_VOLATILE if it is available and already defined as volatile.
2006-11-15Call libssh2_session_free() to release memory allocated duringGisle Vanem
libssh2 startup.
2006-11-14Free 'scp->path' in case of libssh2 setup failure.Gisle Vanem
2006-11-13bug #1595348 by Ron pointed out this flaw and fixDaniel Stenberg
2006-11-11fix header to match actual protoDaniel Stenberg
2006-11-11cleaned up Curl_write() and the sub functions it uses for various protocols.Daniel Stenberg
They all now return ssize_t to Curl_write(). Unfortunately, Curl_read() is in a sorrier state but it too would benefit from a similar cleanup.
2006-11-09Nir Soffer updated libcurl.framework.make: fix symlinks, should link toDaniel Stenberg
Versions, not to ./Versions and indentation improvments
2006-11-09Dmitriy Sergeyev found a SIGSEGV with his test04.c example posted on 7 NovDaniel Stenberg
2006. It turned out we wrongly assumed that the connection cache was present when tearing down a connection.
2006-11-09Ciprian Badescu found a SIGSEGV when doing multiple TFTP transfers using theDaniel Stenberg
multi interface, but I could also repeat it doing multiple sequential ones with the easy interface. Using Ciprian's test case, I could fix it.
2006-11-08Bradford Bruce reported that when setting CURLOPT_DEBUGFUNCTION withoutDaniel Stenberg
CURLOPT_VERBOSE set to non-zero, you still got a few debug messages from the SSL handshake. This is now stopped.
2006-11-07Olaf fixed a leftover problem with the CONNECT fix of his that would leave aDaniel Stenberg
wrong error message in the error message buffer.
2006-11-06add TODO noteYang Tse
2006-11-06compiler warning fixYang Tse
2006-11-06remove redundant check for Win32Yang Tse
2006-11-05Prevent multiple initialization of memdebug configuration variables.Yang Tse
This was possible on debug c-ares enabled builds when both CURL_MEMDEBUG and CARES_MEMDEBUG environment variables were set. Leading to a file handle leak even when both variables had the same value, and wierd test suite results when different.
2006-11-03Ifdef around S_IRGRP and S_IROTH (meaningless on Win32).Gisle Vanem
2006-11-03Olaf Stueben provided a patch that I edited slightly. It fixes the notoriousDaniel Stenberg
KNOWN_BUGS #25, which happens when a proxy closes the connection when libcurl has sent CONNECT, as part of an authentication negotiation. Starting now, libcurl will re-connect accordingly and continue the authentication as it should.
2006-11-03Update the information about what c-ares version that's required. 1.3.1 hadDaniel Stenberg
a fatal bug so we must require 1.3.2 to get flawless functionality with c-ares.
2006-11-02James Housley brought support for SCP transfersDaniel Stenberg
2006-11-02prototype for gethostname is in unistd.hYang Tse
2006-10-29corrected how tests/memanalyze.pl is usedDaniel Stenberg
2006-10-29Make more human readable and maintainable previousYang Tse
compiler warning fix since it was Ok and actually avoids the targeted compiler warning.
2006-10-29updated to current statusDaniel Stenberg
2006-10-29updated to reflect realityDaniel Stenberg
2006-10-27Compiler warning fix.Yang Tse
Assigning the const value zero to a pointer to function results in a null pointer value assignment to the function pointer. Assignment of any nonzero value is what should result in a implementation compiler dependent result. Since what we want to do here is the first case, this should not trigger compiler warnings related with conversions from 'pointer to data' to 'pointer to function'. Our autobuild test suite will judge.
2006-10-27Fixed 'x_TYPE_ARG2' to match prototypes of recv() and send().Gisle Vanem
2006-10-27Get rid of the special sread()+swrite() for MSDOS. Use recv()Gisle Vanem
and send(). Added needed HAVE_x defines.
2006-10-27Added 'RECV_TYPE_ARGx' needed in getinfo.c.Gisle Vanem
2006-10-27Update copyright year, since the file has been modifiedYang Tse
2006-10-27Compiler warning fixYang Tse
2006-10-27Do an explicit typecast of data pointers to function pointersYang Tse
to avoid picky compiler warnings, since this is what we want!
2006-10-26Fix Curl_open() not reporting failure when allocation of theYang Tse
buffer used to store headers in the SessionHandle failed.
2006-10-25Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for theDaniel Stenberg
case when 401 or 407 are returned, *IF* no auth credentials have been given. The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401 and 407 cases when auth credentials is given, but we've now covered this somewhat more. You might get some amounts of headers transferred before this situation is detected, like for when a "100-continue" is received as a response to a POST/PUT and a 401 or 407 is received immediately afterwards. Added test 281 to verify this change.
2006-10-25updated copyright yearDaniel Stenberg
2006-10-24other pipelining fixes by Ravi Pratap, that now makes pipelines get used betterDaniel Stenberg
2006-10-23the check in ConnectionExists() for not re-using a non-resolved connection nowDaniel Stenberg
applies for asynch name resolves in general and not only ares