Howard Chu [Wed, 12 May 2010 21:07:20 +0000 (23:07 +0200)]
RTMP: initial support added, powered by librtmp
librtmp is found at http://rtmpdump.mplayerhq.hu/
Howard Chu [Tue, 11 May 2010 20:48:38 +0000 (22:48 +0200)]
sendrecv: make them two pairs of send/recv to properly deal with FTPS
FTP(S) use two connections that can be set to different recv and
send functions independently, so by introducing recv+send pairs
in the same manner we already have sockets/connections we can
work with FTPS fine.
This commit fixes the FTPS regression introduced in change d64bd82.
Kamil Dudka [Tue, 11 May 2010 12:51:12 +0000 (14:51 +0200)]
changelog: fixed CRL support in libcurl-NSS
Kamil Dudka [Tue, 11 May 2010 12:39:08 +0000 (14:39 +0200)]
nss: make it possible to read ASCII and DER CRL
Kamil Dudka [Tue, 11 May 2010 12:10:27 +0000 (14:10 +0200)]
nss: add CRL to cache instead of read-only NSS db
Daniel Stenberg [Mon, 10 May 2010 15:25:49 +0000 (17:25 +0200)]
git: how to write a fine commit message
Daniel Stenberg [Sun, 9 May 2010 21:16:37 +0000 (23:16 +0200)]
findtool: file name as a full path requires a slash
Kalle Vahlman's patch applied a while ago broke how the findtool
function searches for tools, as it would always check if "$file"
was present first, which thus made the bad assumption that a file
in the current directory would be a match.
I noticed when it found 'libtool' in the current directory but
libtoolize is not there, which confused the script.
Hacki [Sat, 8 May 2010 03:38:42 +0000 (05:38 +0200)]
moved vars into conditional since seems that winsock implementation doesnt use them.
Daniel Stenberg [Fri, 7 May 2010 21:49:29 +0000 (23:49 +0200)]
multi interface: missed storing connection time
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.
Daniel Stenberg [Fri, 7 May 2010 21:24:47 +0000 (23:24 +0200)]
verboseconnect: so the verbose checking within the function
As the function is used more than once and libcurl can be built
without it, do the conditional check within the verboseconnect()
function itself.
Daniel Stenberg [Fri, 7 May 2010 13:53:55 +0000 (15:53 +0200)]
changelogs: split the I/O handling
Howard Chu [Fri, 7 May 2010 13:05:34 +0000 (15:05 +0200)]
sendrecv: split the I/O handling into private handler
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.
Daniel Stenberg [Wed, 5 May 2010 20:36:15 +0000 (22:36 +0200)]
changelog: PolarSSL
Hoi-Ho Chan [Wed, 5 May 2010 20:30:46 +0000 (22:30 +0200)]
PolarSSL: initial support added
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.
Daniel Stenberg [Thu, 29 Apr 2010 21:27:28 +0000 (23:27 +0200)]
TODO: we've done PRET already, consider HOST for the future
... and GnuTLS connects are non-blocking, TFTP is better
integrated as a "real" protocol and RTSP is supported.
Daniel Stenberg [Thu, 29 Apr 2010 21:23:42 +0000 (23:23 +0200)]
TODO: GnuTLS connects are now non-blocking
Since commit c288860 by Jerome Vouillon
Daniel Stenberg [Thu, 29 Apr 2010 17:19:08 +0000 (19:19 +0200)]
INTERNALS: tftp is decent now, ldap is not
It's not quite fair to list TFTP is a "crappy" member of the
libcurl family so I removed its mentioning.
Daniel Stenberg [Thu, 29 Apr 2010 07:40:48 +0000 (09:40 +0200)]
changelog: mention Ben Greear's telnet work
Ben Greear [Wed, 28 Apr 2010 22:49:04 +0000 (00:49 +0200)]
telnet: Allow programatic use of telnet.
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>
Daniel Stenberg [Tue, 27 Apr 2010 21:59:03 +0000 (23:59 +0200)]
test: enable valgrind for 604, seems to work
Paul Howarth [Tue, 27 Apr 2010 06:47:30 +0000 (08:47 +0200)]
add 1s post-command delay to tests 513 and 514
addressing http://curl.haxx.se/mail/lib-2009-12/0031.html
Kalle Vahlman [Thu, 10 Jan 2008 16:46:43 +0000 (18:46 +0200)]
Allow tools to be defined with full path in buildconf
This is required in Scratchbox where
LIBTOOL=/targets/links/arch_tools/bin/libtool
is set in the environment.
Daniel Stenberg [Mon, 26 Apr 2010 13:37:39 +0000 (15:37 +0200)]
progress callback: can be called more than once per sec
Daniel Stenberg [Sun, 25 Apr 2010 22:36:25 +0000 (00:36 +0200)]
SSH: init and cleanup libssh2 in global_init/cleanup
The necessary libssh2 functions require libssh2 1.2.5 or later.
Daniel Stenberg [Sun, 25 Apr 2010 21:24:05 +0000 (23:24 +0200)]
new configure option --enable-threaded-resolver
Daniel Stenberg [Sun, 25 Apr 2010 21:06:41 +0000 (23:06 +0200)]
configure: check for libssh2_init and libssh2_exit
Kamil Dudka [Sat, 24 Apr 2010 21:21:13 +0000 (23:21 +0200)]
nss: fix SSL handshake timeout underflow
Guenter Knauf [Sat, 24 Apr 2010 15:48:09 +0000 (17:48 +0200)]
encourage users to take latest lib dependencies.
Daniel Stenberg [Sat, 24 Apr 2010 10:40:00 +0000 (12:40 +0200)]
socks5: please static code analyzer
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.
Daniel Stenberg [Sat, 24 Apr 2010 10:37:11 +0000 (12:37 +0200)]
gzip: Value stored to 'data' is never read
Daniel Stenberg [Sat, 24 Apr 2010 10:23:47 +0000 (12:23 +0200)]
RELEASE-NOTES: update top numbers
Daniel Stenberg [Sat, 24 Apr 2010 10:19:42 +0000 (12:19 +0200)]
changelog: added the --proto and -proto-redir options
Alex Bligh [Sat, 24 Apr 2010 10:16:48 +0000 (12:16 +0200)]
curl: added --proto and --proto-redir
--proto tells curl to use the listed protocols for its initial
retrieval
--proto-redir tells curl to use the listed protocols after a
redirect
Kamil Dudka [Sat, 24 Apr 2010 10:14:21 +0000 (12:14 +0200)]
test536: do not fail with threaded DNS resolver
Also tweaked comments in certain examples using curl_multi_fdset().
Daniel Stenberg [Wed, 21 Apr 2010 21:20:18 +0000 (23:20 +0200)]
curl: -O crash on windows
The -O option caused curl to crash on windows and DOS due to the
tool writing out of boundary memory.
Yang Tse [Tue, 20 Apr 2010 19:35:31 +0000 (21:35 +0200)]
hmac.c related compilation adjustment
Yang Tse [Tue, 20 Apr 2010 19:23:53 +0000 (21:23 +0200)]
hmac.c related compilation adjustment
monnerat [Tue, 20 Apr 2010 17:22:03 +0000 (19:22 +0200)]
Add compilation directives for hmac in Watcom,riscos and vc6 platform-specific makefiles.
Ruslan Gazizov [Tue, 20 Apr 2010 14:30:10 +0000 (16:30 +0200)]
replaced wsock32.lib usage with ws2_32.lib in MSVC makefiles
monnerat [Mon, 19 Apr 2010 15:37:51 +0000 (17:37 +0200)]
Merge branch 'master' of github.com:bagder/curl
monnerat [Mon, 19 Apr 2010 15:30:20 +0000 (17:30 +0200)]
Remove null-effect leftover code.
Daniel Stenberg [Mon, 19 Apr 2010 15:08:27 +0000 (17:08 +0200)]
changelog: -J/--remote-header-name strips CRLF
Daniel Stenberg [Mon, 19 Apr 2010 15:05:46 +0000 (17:05 +0200)]
parse_filename: strip trailing CRs and LFs
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.
Daniel Stenberg [Mon, 19 Apr 2010 14:19:36 +0000 (16:19 +0200)]
Curl_HMAC_MD5: fix the array init to not warn with picky compilers
monnerat [Mon, 19 Apr 2010 12:09:45 +0000 (14:09 +0200)]
Fix GnuTLS compilation problem in md5.c
monnerat [Mon, 19 Apr 2010 10:44:17 +0000 (12:44 +0200)]
Fix compilation problem: declare Curl_HMAC_MD5 as extern in include file.
monnerat [Mon, 19 Apr 2010 09:17:46 +0000 (11:17 +0200)]
Merge branch 'master' of github.com:bagder/curl
monnerat [Mon, 19 Apr 2010 09:16:30 +0000 (11:16 +0200)]
Implement SMTP authentication
Daniel Stenberg [Sat, 17 Apr 2010 16:59:54 +0000 (18:59 +0200)]
parseconfig: Value stored to 'line' is never read
Make the function call with (void) as we don't care about the
return code.
Daniel Stenberg [Sat, 17 Apr 2010 16:57:39 +0000 (18:57 +0200)]
parsedate: Value stored to 'found' is never read
Daniel Stenberg [Sat, 17 Apr 2010 16:55:52 +0000 (18:55 +0200)]
check_gzip_header: Value stored to 'data' is never read
Daniel Stenberg [Fri, 16 Apr 2010 21:50:39 +0000 (23:50 +0200)]
dprintf_formatf: Value stored to 'left' is never read
Daniel Stenberg [Fri, 16 Apr 2010 21:49:03 +0000 (23:49 +0200)]
curl_version: remove superfluous assignments
Daniel Stenberg [Fri, 16 Apr 2010 21:43:54 +0000 (23:43 +0200)]
FTP PORT: Value stored to 'rc' is never read
Daniel Stenberg [Fri, 16 Apr 2010 21:43:04 +0000 (23:43 +0200)]
Curl_setup_transfer: no longer returns anything
This function could only return CURLE_OK and by changing it to
a void instead, we can simplify code all over.
Daniel Stenberg [Fri, 16 Apr 2010 21:28:20 +0000 (23:28 +0200)]
PASV response: Value stored to 'rc' is never read
Daniel Stenberg [Fri, 16 Apr 2010 21:27:35 +0000 (23:27 +0200)]
Curl_perform: Value stored to 'res2' is never read
Daniel Stenberg [Fri, 16 Apr 2010 21:20:50 +0000 (23:20 +0200)]
sftp range: remove unnecessary check for NULL pointer
Daniel Stenberg [Fri, 16 Apr 2010 21:20:07 +0000 (23:20 +0200)]
ftp_range: remove unnecessary check for NULL pointer
Daniel Stenberg [Fri, 16 Apr 2010 21:18:43 +0000 (23:18 +0200)]
file_range: remove unnecessary check for NULL pointer
Daniel Stenberg [Fri, 16 Apr 2010 21:03:55 +0000 (23:03 +0200)]
SOCKS4: Value stored to 'rc' is never read
Daniel Stenberg [Fri, 16 Apr 2010 21:02:15 +0000 (23:02 +0200)]
FTP PASV: Value stored to 'rc' is never read
Daniel Stenberg [Fri, 16 Apr 2010 21:00:21 +0000 (23:00 +0200)]
ftp_range: Value stored to 'totalsize' is never read
Simplified the code by removing a local variable completely.
Daniel Stenberg [Fri, 16 Apr 2010 20:58:04 +0000 (22:58 +0200)]
SOCKS5: when name resolves fail return immediately
This makes the code flow more obvious and reacts on the return
code properly, even if the code acted the same way before.
Daniel Stenberg [Fri, 16 Apr 2010 20:56:13 +0000 (22:56 +0200)]
POP3: when USER command fails, don't even try PASS
Daniel Stenberg [Fri, 16 Apr 2010 20:55:07 +0000 (22:55 +0200)]
tftp_rx: Value stored to 'sbytes' is never read
Daniel Stenberg [Fri, 16 Apr 2010 20:52:49 +0000 (22:52 +0200)]
file_range: Value stored to 'totalsize' is never read
Daniel Stenberg [Fri, 16 Apr 2010 20:45:06 +0000 (22:45 +0200)]
changelog: GnuTLS: SSL handshake phase is non-blocking
Jerome Vouillon [Fri, 16 Apr 2010 20:43:01 +0000 (22:43 +0200)]
GnuTLS: make the connection phase non-blocking
When multi interface is used, the SSL handshake is no longer
blocking when GnuTLS is used.
Daniel Stenberg [Fri, 16 Apr 2010 18:22:46 +0000 (20:22 +0200)]
krb5_auth: fix my previous change to compile
unknown [Fri, 16 Apr 2010 14:55:13 +0000 (16:55 +0200)]
OS400 version V5R2M0 not supported anymore by IBM: default target release changed to V5R3M0.
Daniel Stenberg [Fri, 16 Apr 2010 13:33:10 +0000 (15:33 +0200)]
changelog: GnuTLS fix, no reverse loopkups and fixed GSS detection
Daniel Stenberg [Fri, 16 Apr 2010 13:29:25 +0000 (15:29 +0200)]
SSL_RECV: EOF is not an error here
The recent overhaul of the SSL recv function made this treat a
zero returned from gnutls_record_recv() as an error, and this
caused our HTTPS test cases to fail. We leave it to upper layer
code to detect if an EOF is a problem or not.
Paul Howarth [Fri, 16 Apr 2010 13:09:32 +0000 (15:09 +0200)]
configure: GSSAPI detection on ancient Linux distros
On some ancient distributions such as RHEL-3, <gssapi/gssapi_krb5.h> needs
to be processed after <gssapi/gssapi.h>, but does not include it itself.
This patch checks for <gssapi/gssapi.h> first and then includes it
in the test for <gssapi/gssapi_krb5.h>, resolving the problem.
Without the patch, <gssapi/gssapi_krb5.h> is "present but cannot be
compiled".
Daniel Stenberg [Fri, 16 Apr 2010 13:03:52 +0000 (15:03 +0200)]
resolvers: no more using AI_CANONNAME
No resolver anymore needs to use AI_CANONNAME and do reverse
lookups. We should work hard to avoid having code that relies on
it.
Daniel Stenberg [Fri, 16 Apr 2010 13:02:08 +0000 (15:02 +0200)]
KRB5: use given host name instead of reverse lookup'ed name
This code would previously use dns_entry->addr->ai_canonname
instead of the given host name, which caused us grief and
problems since not all our resolver options do the reverse lookup
and I would also guess that it caused problems with KRB5/GSS with
virtual name-based hosts. Now the host name from the URL is used.
Dan Fandrich [Wed, 7 Apr 2010 05:57:20 +0000 (22:57 -0700)]
Remove redundant conditional
Dan Fandrich [Wed, 7 Apr 2010 05:51:05 +0000 (22:51 -0700)]
Eliminated an unlikely race condition in some tests.
Based on a patch from the FreeBSD ports by Peter Pentchev.
Daniel Stenberg [Thu, 15 Apr 2010 11:11:25 +0000 (13:11 +0200)]
changelog: prevent needless reverse name lookups
Daniel Stenberg [Thu, 15 Apr 2010 11:04:01 +0000 (13:04 +0200)]
Curl_ipv4_resolve_r: only set AI_CANONNAME when needed
As reported in bug report #2987196, the code for ipv6 already did
the setting of this bit correctly so we copied that logic into
the Curl_ipv4_resolve_r() function as well. KRB code is the only
code we know that might need the cannonical name so only resolve
it for such requests!
Daniel Stenberg [Wed, 14 Apr 2010 15:34:57 +0000 (17:34 +0200)]
IGNORE: files generated by maketgz
Daniel Stenberg [Wed, 14 Apr 2010 15:34:26 +0000 (17:34 +0200)]
bumped to start the journey towards 7.20.2
Daniel Stenberg [Wed, 14 Apr 2010 15:33:34 +0000 (17:33 +0200)]
added contributors from the 7.20.1 RELEASE-NOTES
Daniel Stenberg [Wed, 14 Apr 2010 15:12:34 +0000 (17:12 +0200)]
ignore files generated by 'maketgz'
Daniel Stenberg [Wed, 14 Apr 2010 14:54:22 +0000 (16:54 +0200)]
7.20.1: 14 April 2010
Guenter Knauf [Tue, 13 Apr 2010 20:55:33 +0000 (22:55 +0200)]
Use correct directory for c-ares git pull
Signed-off-by: Tor Arntsen <tor@spacetec.no>
Yang Tse [Tue, 13 Apr 2010 14:34:13 +0000 (16:34 +0200)]
fix compiler warning: variable might be clobbered by longjmp or vfork
Guenter Knauf [Tue, 13 Apr 2010 02:05:43 +0000 (04:05 +0200)]
added last git commit output for c-ares too.
Guenter Knauf [Tue, 13 Apr 2010 01:15:31 +0000 (03:15 +0200)]
changed the git update block to take care of c-ares repo if detected.
Guenter Knauf [Mon, 12 Apr 2010 21:06:31 +0000 (23:06 +0200)]
updated timestamp of the script.
Guenter Knauf [Mon, 12 Apr 2010 20:57:48 +0000 (22:57 +0200)]
removed obsolete var in gitpull() function
no need to create a var - lets just return the status var itself.
Guenter Knauf [Mon, 12 Apr 2010 14:47:48 +0000 (16:47 +0200)]
added a cast to silent compiler warning with 64bit systems.
Guenter Knauf [Mon, 12 Apr 2010 14:30:14 +0000 (16:30 +0200)]
fixed a path typo in src/Makefile.netware.
Daniel Stenberg [Mon, 12 Apr 2010 09:20:00 +0000 (11:20 +0200)]
Added text for How To Make a Patch with git
Daniel Stenberg [Mon, 12 Apr 2010 09:09:55 +0000 (11:09 +0200)]
update the section on timeouts
The section that describes how to work with timeouts was
misleading and could easily trick users to use the wrong API.
Daniel Stenberg [Mon, 12 Apr 2010 09:09:08 +0000 (11:09 +0200)]
update URL and cut out wrong info on ipv6
c-ares has had its own URL for a while and we should point
people to that. It also works with IPv6 since a long time.
Daniel Stenberg [Mon, 12 Apr 2010 09:08:06 +0000 (11:08 +0200)]
refer to CURLMOPT_TIMERFUNCTION for multi_socket users
curl_multi_timeout(3) is simply the wrong function to use
if you're using the multi_socket API and this document now
states this pretty clearly to help guiding users.
Daniel Stenberg [Sun, 11 Apr 2010 09:38:11 +0000 (11:38 +0200)]
s/CVS/git
Daniel Stenberg [Sun, 11 Apr 2010 09:35:33 +0000 (11:35 +0200)]
modified to use the git file, not cvs
I've done this blindly, and the last piece that works with ares
should possibly be done differently now that c-ares isn't a
subtree within the curl tree anymore...
Daniel Stenberg [Sat, 10 Apr 2010 21:27:04 +0000 (23:27 +0200)]
mention missing test servers for <server>