summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* multi interface: missed storing connection timeDaniel Stenberg2010-05-079-12/+189
| | | | | | | | | | | | | | | Dirk Manske reported a regression. When connecting with the multi interface, there were situations where libcurl wouldn't store connect time correctly as it used to (and is documented to) do. Using his fine sample program we could repeat it, and I wrote up test case 573 using that code. The problem does not easily show itself using the local test suite though. The fix, also as suggested by Dirk, is a bit on the ugly side as it adds yet another call to Curl_verboseconnect() and setting the TIMER_CONNECT time. That situation is subject for some closer inspection in the future.
* verboseconnect: so the verbose checking within the functionDaniel Stenberg2010-05-071-8/+6
| | | | | | As the function is used more than once and libcurl can be built without it, do the conditional check within the verboseconnect() function itself.
* changelogs: split the I/O handlingDaniel Stenberg2010-05-072-1/+14
|
* sendrecv: split the I/O handling into private handlerHoward Chu2010-05-0726-424/+288
| | | | | | | | | | | | | | Howard Chu brought the bulk work of this patch that properly moves out the sending and recving of data to the parts of the code that are properly responsible for the various ways of doing so. Daniel Stenberg assisted with polishing a few bits and fixed some minor flaws in the original patch. Another upside of this patch is that we now abuse CURLcodes less with the "magic" -1 return codes and instead use CURLE_AGAIN more consistently.
* changelog: PolarSSLDaniel Stenberg2010-05-052-1/+6
|
* PolarSSL: initial support addedHoi-Ho Chan2010-05-0510-6/+592
| | | | | | This is Hoi-Ho Chan's patch with some minor fixes by me. There are some potential issues in this, but none worse than we can sort out on the list and over time.
* TODO: we've done PRET already, consider HOST for the futureDaniel Stenberg2010-04-291-26/+12
| | | | | ... and GnuTLS connects are non-blocking, TFTP is better integrated as a "real" protocol and RTSP is supported.
* TODO: GnuTLS connects are now non-blockingDaniel Stenberg2010-04-291-1/+0
| | | | Since commit c288860 by Jerome Vouillon
* INTERNALS: tftp is decent now, ldap is notDaniel Stenberg2010-04-291-1/+1
| | | | | It's not quite fair to list TFTP is a "crappy" member of the libcurl family so I removed its mentioning.
* changelog: mention Ben Greear's telnet workDaniel Stenberg2010-04-292-2/+18
|
* telnet: Allow programatic use of telnet.Ben Greear2010-04-294-30/+86
| | | | | | | | | | | | | | | | | | The main change is to allow input from user-specified methods, when they are specified with CURLOPT_READFUNCTION. All calls to fflush(stdout) in telnet.c were removed, which makes using 'curl telnet://foo.com' painful since prompts and other data are not always returned to the user promptly. Use 'curl --no-buffer telnet://foo.com' instead. In general, the user should have their CURLOPT_WRITEFUNCTION do a fflush for interactive use. Also fix assumption that reading from stdin never returns < 0. Old code could crash in that case. Call progress functions in telnet main loop. Signed-off-by: Ben Greear <greearb@candelatech.com>
* test: enable valgrind for 604, seems to workDaniel Stenberg2010-04-281-3/+0
|
* add 1s post-command delay to tests 513 and 514Paul Howarth2010-04-282-2/+4
| | | | addressing http://curl.haxx.se/mail/lib-2009-12/0031.html
* Allow tools to be defined with full path in buildconfKalle Vahlman2010-04-261-0/+5
| | | | | | This is required in Scratchbox where LIBTOOL=/targets/links/arch_tools/bin/libtool is set in the environment.
* progress callback: can be called more than once per secDaniel Stenberg2010-04-261-5/+5
|
* SSH: init and cleanup libssh2 in global_init/cleanupDaniel Stenberg2010-04-262-0/+16
| | | | The necessary libssh2 functions require libssh2 1.2.5 or later.
* new configure option --enable-threaded-resolverDaniel Stenberg2010-04-254-5/+61
|
* configure: check for libssh2_init and libssh2_exitDaniel Stenberg2010-04-251-1/+2
|
* nss: fix SSL handshake timeout underflowKamil Dudka2010-04-243-1/+13
|
* encourage users to take latest lib dependencies.Guenter Knauf2010-04-244-8/+8
|
* socks5: please static code analyzerDaniel Stenberg2010-04-241-4/+6
| | | | | | | | | | | Make sure we don't call memcpy() if the argument is NULL even though we also passed a zero length then, as the clang analyzer whined and we want to limit warnings (even false positives) when they're this easy to fix. The change of (char) to (unsigned char) will fix long user names and passwords on systems that have the char type signed by default.
* gzip: Value stored to 'data' is never readDaniel Stenberg2010-04-241-1/+0
|
* RELEASE-NOTES: update top numbersDaniel Stenberg2010-04-241-2/+2
|
* changelog: added the --proto and -proto-redir optionsDaniel Stenberg2010-04-242-2/+7
|
* curl: added --proto and --proto-redirAlex Bligh2010-04-242-0/+177
| | | | | | | | --proto tells curl to use the listed protocols for its initial retrieval --proto-redir tells curl to use the listed protocols after a redirect
* test536: do not fail with threaded DNS resolverKamil Dudka2010-04-248-22/+46
| | | | Also tweaked comments in certain examples using curl_multi_fdset().
* curl: -O crash on windowsDaniel Stenberg2010-04-213-1/+7
| | | | | The -O option caused curl to crash on windows and DOS due to the tool writing out of boundary memory.
* hmac.c related compilation adjustmentYang Tse2010-04-201-2/+3
|
* hmac.c related compilation adjustmentYang Tse2010-04-205-6/+11
|
* Add compilation directives for hmac in Watcom,riscos and vc6 ↵monnerat2010-04-203-2/+6
| | | | platform-specific makefiles.
* replaced wsock32.lib usage with ws2_32.lib in MSVC makefilesRuslan Gazizov2010-04-205-12/+16
|
* Merge branch 'master' of github.com:bagder/curlmonnerat2010-04-194-10/+34
|\
| * changelog: -J/--remote-header-name strips CRLFDaniel Stenberg2010-04-192-0/+5
| |
| * parse_filename: strip trailing CRs and LFsDaniel Stenberg2010-04-191-3/+20
| | | | | | | | | | | | | | The feature that uses the file name given in a Content-disposition: header didn't properly skip trailing carriage returns and linefeed characters from the end of the file name when it was given without quotes.
| * Curl_HMAC_MD5: fix the array init to not warn with picky compilersDaniel Stenberg2010-04-191-7/+9
| |
* | Remove null-effect leftover code.monnerat2010-04-191-1/+0
|/
* Fix GnuTLS compilation problem in md5.cmonnerat2010-04-191-1/+1
|
* Fix compilation problem: declare Curl_HMAC_MD5 as extern in include file.monnerat2010-04-191-1/+1
|
* Merge branch 'master' of github.com:bagder/curlmonnerat2010-04-1925-224/+281
|\
| * parseconfig: Value stored to 'line' is never readDaniel Stenberg2010-04-171-1/+1
| | | | | | | | | | Make the function call with (void) as we don't care about the return code.
| * parsedate: Value stored to 'found' is never readDaniel Stenberg2010-04-171-2/+1
| |
| * check_gzip_header: Value stored to 'data' is never readDaniel Stenberg2010-04-171-1/+0
| |
| * dprintf_formatf: Value stored to 'left' is never readDaniel Stenberg2010-04-161-1/+0
| |
| * curl_version: remove superfluous assignmentsDaniel Stenberg2010-04-161-0/+6
| |
| * FTP PORT: Value stored to 'rc' is never readDaniel Stenberg2010-04-161-1/+1
| |
| * Curl_setup_transfer: no longer returns anythingDaniel Stenberg2010-04-1612-111/+78
| | | | | | | | | | This function could only return CURLE_OK and by changing it to a void instead, we can simplify code all over.
| * PASV response: Value stored to 'rc' is never readDaniel Stenberg2010-04-161-1/+1
| |
| * Curl_perform: Value stored to 'res2' is never readDaniel Stenberg2010-04-161-3/+3
| |
| * sftp range: remove unnecessary check for NULL pointerDaniel Stenberg2010-04-161-1/+1
| |
| * ftp_range: remove unnecessary check for NULL pointerDaniel Stenberg2010-04-161-1/+1
| |