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>
Daniel Stenberg [Fri, 9 Apr 2010 14:54:52 +0000 (16:54 +0200)]
FTP quote commands prefixed with '*' now can fail without aborting
Prefixing the FTP quote commands with an asterisk really only
worked for the postquote actions. This is now fixed and test case
227 has been extended to verify.
Kamil Dudka [Wed, 7 Apr 2010 08:07:29 +0000 (10:07 +0200)]
qssl: reflect recent code changes in SSL interface
Reported by Guenter Knauf.
Kamil Dudka [Tue, 6 Apr 2010 11:42:11 +0000 (13:42 +0200)]
nss: handle client certificate related errors
Ben Greear [Mon, 5 Apr 2010 23:41:33 +0000 (01:41 +0200)]
ssl: Fix build when SSL isn't enabled
Signed-off-by: Ben Greear <greearb@candelatech.com>
Kamil Dudka [Sun, 4 Apr 2010 21:37:18 +0000 (23:37 +0200)]
refactorize interface of Curl_ssl_recv/Curl_ssl_send
Kamil Dudka [Sun, 4 Apr 2010 21:35:21 +0000 (23:35 +0200)]
simplify code of Curl_resolv_timeout()
Kamil Dudka [Sun, 4 Apr 2010 21:34:24 +0000 (23:34 +0200)]
eliminate a race condition in Curl_resolv_timeout()
Ben Greear [Fri, 2 Apr 2010 19:02:35 +0000 (21:02 +0200)]
fixed compiler warnings
Daniel Stenberg [Fri, 2 Apr 2010 15:12:58 +0000 (17:12 +0200)]
updated contributor count
Daniel Stenberg [Fri, 2 Apr 2010 15:10:40 +0000 (17:10 +0200)]
add contributors from the 7.20.0 release notes
Daniel Stenberg [Thu, 1 Apr 2010 20:39:15 +0000 (22:39 +0200)]
fix SFTP download hang
Matt Wixson found and fixed a bug in the SCP/SFTP area where the
code treated a 0 return code from libssh2 to be the same as
EAGAIN while in reality it isn't. The problem caused a hang in
SFTP transfers from a MessageWay server.
Dan Fandrich [Thu, 1 Apr 2010 05:22:37 +0000 (22:22 -0700)]
Fixed misleading test message
Daniel Stenberg [Wed, 31 Mar 2010 21:55:57 +0000 (23:55 +0200)]
update the generic copyright year range
Daniel Stenberg [Wed, 31 Mar 2010 21:05:16 +0000 (23:05 +0200)]
removed README.cmake due to the improved situation
Guenter Knauf [Wed, 31 Mar 2010 00:09:49 +0000 (02:09 +0200)]
fix compiler warning with a cast.
Guenter Knauf [Tue, 30 Mar 2010 23:10:09 +0000 (01:10 +0200)]
make folks use latest available dependent libraries.
Dan Fandrich [Tue, 30 Mar 2010 19:52:44 +0000 (12:52 -0700)]
Call curl_global_cleanup() in test 560 to avoid a memory leak
Dan Fandrich [Tue, 30 Mar 2010 18:40:34 +0000 (11:40 -0700)]
Allow test 538 to run even when proxy support is disabled
Daniel Stenberg [Mon, 29 Mar 2010 14:30:35 +0000 (16:30 +0200)]
use (s)size_t for string lengths to fix compiler warns
Daniel Stenberg [Mon, 29 Mar 2010 14:11:02 +0000 (16:11 +0200)]
use size_t to hold string length
using int is not fine on 64bit systems
Ben Greear [Sun, 28 Mar 2010 06:45:17 +0000 (08:45 +0200)]
Fix compile warnings in ssh.c
strlen() returns size_t, but ssh libraries are wanting 'unsigned int'. Add
explicit casts and use _ex versions of the ssh library calls.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Ben Greear [Sun, 28 Mar 2010 06:45:16 +0000 (08:45 +0200)]
fix smtp compile warning
Use ssize_t instead of int for the Curl_smtp_escape_eob nread
argument.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Daniel Stenberg [Sun, 28 Mar 2010 21:52:37 +0000 (23:52 +0200)]
Ben's POP3 change
Ben Greear [Sun, 28 Mar 2010 21:49:00 +0000 (23:49 +0200)]
pop3: Get message listing if no mailbox in URL
If you pass a URL to pop3 that does not contain a message ID as
part of the URL, it will currently ask for 'INBOX' which just
causes the pop3 server to return an error.
The change makes libcurl treat en empty message ID as a request
for LIST (list of pop3 message IDs). User's code could then
parse this and download individual messages as desired.
Ben Greear [Sun, 28 Mar 2010 05:50:07 +0000 (07:50 +0200)]
Allow running ./tests/testcurl.pl from within git repo.
My first instinct was to run the test script within the checked out
repository. This small change to the script allows that to work as
expected.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Daniel Stenberg [Sat, 27 Mar 2010 22:05:06 +0000 (23:05 +0100)]
minor language fix
Ben Greear [Sat, 27 Mar 2010 22:00:51 +0000 (23:00 +0100)]
allow user+password in the URL for all protocols
Ben Greear brought a patch that from now on allows all protocols
to specify name and user within the URL, in the same manner HTTP
and FTP have been allowed to in the past - although far from all
of the libcurl supported protocols actually have that feature in
their URL definition spec.
Daniel Stenberg [Sat, 27 Mar 2010 21:56:47 +0000 (22:56 +0100)]
ignore pid files and stunnel.conf
all used while running tests
Daniel Stenberg [Sat, 27 Mar 2010 17:57:24 +0000 (18:57 +0100)]
make sure git pull is actually done!
Daniel Stenberg [Fri, 26 Mar 2010 22:35:24 +0000 (23:35 +0100)]
changelogged: smoother rate limiting
Ben Greear [Fri, 26 Mar 2010 22:33:02 +0000 (23:33 +0100)]
Make rate-limitation logic smoother
This gives a smoother rate limitation performance by using
sub-second pauses and also taking the buffer sizes into
account.
Daniel Stenberg [Thu, 25 Mar 2010 22:22:03 +0000 (23:22 +0100)]
remove all .cvsignore files
Daniel Stenberg [Thu, 25 Mar 2010 18:56:50 +0000 (19:56 +0100)]
PROT_CLOSEACTION should not include TFTP
TFTP is not a protocol that uses close actions so it should
not be set in that bitmask!
Tor Arntsen [Thu, 25 Mar 2010 15:43:01 +0000 (16:43 +0100)]
Avoid double newline for the 'last commits' log in testcurl.pl
The backtick command which extracts 'git log' lines come with a
newline, so chomp the newline before calling logit(), as the logit
function adds a newline by itself.
Tor Arntsen [Thu, 25 Mar 2010 15:23:27 +0000 (16:23 +0100)]
Change to version-independent git option for 'git log --oneline'
'git log --oneline' is a relatively recent Git function. It is
documented to be the same as 'git log --pretty=oneline --abbrev-commit',
so use that instead. It works all the way back to Git 1.5.0.
Daniel Stenberg [Thu, 25 Mar 2010 12:56:01 +0000 (13:56 +0100)]
show 5 commits even if no git pull was made
Daniel Stenberg [Thu, 25 Mar 2010 12:44:13 +0000 (13:44 +0100)]
don't touch ares/aclocal.m4 and show recent git commits
since c-ares no longer embedded, we must not touch such files
anymore
we show the 5 last git commits if git was proven in use, to help
us see exactly what's being tested
Daniel Stenberg [Thu, 25 Mar 2010 10:39:13 +0000 (11:39 +0100)]
use CURL_SIZEOF_LONG instead of SIZEOF_LONG
That's the symbol we have or generate in include/curl/curlbuild.h
Daniel Stenberg [Thu, 25 Mar 2010 09:38:17 +0000 (10:38 +0100)]
s/CVS/DEV in the version string from the git repo
Bill Hoffman [Thu, 25 Mar 2010 03:49:26 +0000 (23:49 -0400)]
Merge branch 'master' of github.com:bagder/curl
Bill Hoffman [Thu, 25 Mar 2010 03:48:35 +0000 (23:48 -0400)]
Add .gitattributes files to turn off CRLF translation for some files
Daniel Stenberg [Wed, 24 Mar 2010 21:40:56 +0000 (22:40 +0100)]
provide a version number as today's date
It should at least help visualize which autobuilds that are
using this script.
Daniel Stenberg [Wed, 24 Mar 2010 21:26:41 +0000 (22:26 +0100)]
testcurl now uses git instead of CVS
Bill Hoffman [Wed, 24 Mar 2010 18:19:50 +0000 (14:19 -0400)]
Merge branch 'master' of github.com:bagder/curl
Bill Hoffman [Wed, 24 Mar 2010 18:16:41 +0000 (14:16 -0400)]
Enable LDAP by default since it is now disabled when ldap.h is not found,
Bill Hoffman [Wed, 24 Mar 2010 18:07:18 +0000 (14:07 -0400)]
CMake fixes for Linux.
Make sure <sys/socket.h> is included if around when testing/using
socklen_t. Also, disable LDAP if LDAP_H is not found on the system.
Bob Richmond [Wed, 24 Mar 2010 16:02:17 +0000 (17:02 +0100)]
fix: timeout after last data chunk was handled
Bob Richmond: There's an annoying situation where libcurl will
read new HTTP response data from a socket, then check if it's a
timeout if one is set. If the last packet received constitutes
the end of the response body, libcurl still treats it as a
timeout condition and reports a message like:
"Operation timed out after 3000 milliseconds with 876 out of 876
bytes received"
It should only a timeout if the timer lapsed and we DIDN'T
receive the end of the response body yet.
Daniel Stenberg [Wed, 24 Mar 2010 16:00:20 +0000 (17:00 +0100)]
avoid compiler warning without USE_ALARM_TIMEOUT
Bill Hoffman [Wed, 24 Mar 2010 14:57:54 +0000 (10:57 -0400)]
Fix curl CMake build.
This commit fixes the cmake build of curl, and cleans up the
cmake code a little. It removes some commented out code and
some trailing whitespace. To get curl to build the binary
tree include/curl directory needed to be added to the include
path. Also, SIZEOF_SHORT needed to be added. A check for the
lack of defines of SIZEOF_* for warnless.c was added.
Chris Conroy [Wed, 24 Mar 2010 13:21:33 +0000 (09:21 -0400)]
remove debug printfs
Daniel Stenberg [Wed, 24 Mar 2010 12:28:02 +0000 (13:28 +0100)]
RTSP GET_PARAMETER fix
Christopher Conroy fixed a problem with RTSP and GET_PARAMETER
reported to us by Massimo Callegari. There's a new test case 572
that verifies this now.
Daniel Stenberg [Wed, 24 Mar 2010 12:27:49 +0000 (13:27 +0100)]
remove trace of CVS
Chris Conroy [Wed, 24 Mar 2010 05:35:03 +0000 (01:35 -0400)]
Fix RTSP GET_PARAMETER empty and non-empty operation.
Test coverage included. Thanks to Massimo Callegari for the bug report
Daniel Stenberg [Wed, 24 Mar 2010 10:30:34 +0000 (11:30 +0100)]
s/CVS/DEV/ in the version string for repo versions
Daniel Stenberg [Wed, 24 Mar 2010 10:20:34 +0000 (11:20 +0100)]
scrapped all left-over TODOs
In order to get back on track, I've removed all the plans for
stuff I had in the queue. I will instead focus on fixing bugs and
relying on that people who truly want things added will come back
on the mailing list and nag and provide patches.
7.20.1 should be possible to release in April 2010
Daniel Stenberg [Wed, 24 Mar 2010 10:07:35 +0000 (11:07 +0100)]
restore executable bits on some files
Daniel Stenberg [Wed, 24 Mar 2010 10:02:54 +0000 (11:02 +0100)]
remove the CVSish $Id$ lines
Daniel Stenberg [Wed, 24 Mar 2010 09:47:48 +0000 (10:47 +0100)]
The 'ares' subtree has been removed from the source repository
Daniel Stenberg [Wed, 24 Mar 2010 09:45:47 +0000 (10:45 +0100)]
s/CVS/git
Daniel Stenberg [Wed, 24 Mar 2010 09:44:25 +0000 (10:44 +0100)]
update to current state
Daniel Stenberg [Wed, 24 Mar 2010 09:34:30 +0000 (10:34 +0100)]
remove the ares subtree
c-ares is now hosted entirely separate from the curl project
see http://c-ares.haxx.se/ for all details concerning c-ares,
its source repository and more.
Daniel Stenberg [Tue, 23 Mar 2010 22:29:23 +0000 (23:29 +0100)]
mark connection as connected
Kenny To filed the bug report #2963679 with patch to fix a
problem he experienced with doing multi interface HTTP POST over
a proxy using PROXYTUNNEL. He found a case where it would connect
fine but bits.tcpconnect was not set correct so libcurl didn't
work properly.
(http://curl.haxx.se/bug/view.cgi?id=2963679)
Daniel Stenberg [Tue, 23 Mar 2010 22:25:04 +0000 (23:25 +0100)]
enabled valgrind
I ran it now successfully and it helped to pinpoint a libssh2
memory leak!
Dan Fandrich [Tue, 23 Mar 2010 22:25:00 +0000 (15:25 -0700)]
Updated Symbian notes
Daniel Stenberg [Tue, 23 Mar 2010 14:26:45 +0000 (15:26 +0100)]
chunked-encoding with Content-Length: header problem
Akos Pasztory filed debian bug report #572276
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276
mentioning a problem with a resource that returns chunked-encoded
_and_ with a Content-Length and libcurl failed to properly ignore
the latter information.
Daniel Stenberg [Tue, 23 Mar 2010 12:18:30 +0000 (13:18 +0100)]
delayed easy handle kill caused double Curl_close() call
Hauke Duden provided an example program that made the multi
interface crash. His example simply used the multi interface and
did first one FTP transfer and after completion it used a second
easy handle and did another FTP transfer on the same FTP server.
This triggered a bug in the "delayed easy handle kill" system
that curl uses: when an FTP connection is left alive it must keep
an easy handle around internally - only for the purpose of having
an easy handle when it later disconnects it. The code assumed
that when the easy handle was removed and an internal reference
was made, that version could be killed later on when a new easy
handle came using the same connection. This was wrong as Hauke's
example showed that the removed handle wasn't killed for real
until later. This caused a double close attempt => segfault.
Daniel Stenberg [Tue, 23 Mar 2010 11:43:42 +0000 (12:43 +0100)]
ignore more files generated when tests run in the source tree
Daniel Stenberg [Mon, 22 Mar 2010 21:00:55 +0000 (22:00 +0100)]
Thomas Lopatic fixed the alarm()-based DNS timeout
Thomas Lopatic [Mon, 22 Mar 2010 20:57:48 +0000 (21:57 +0100)]
fix the alarm()-based DNS timeout
Looking at the code of Curl_resolv_timeout() in hostip.c, I think
that in case of a timeout, the signal handler for SIGALRM never
gets removed. I think that in my case it gets executed at some
point later on when execution has long left Curl_resolv_timeout()
or even the cURL library.
The code that is jumped to with siglongjmp() simply sets the
error message to "name lookup timed out" and then returns with
CURLRESOLV_ERROR. I guess that instead of simply returning
without cleaning up, the code should have a goto that jumps to
the spot right after the call to Curl_resolv().
Daniel Johnson [Mon, 22 Mar 2010 00:46:33 +0000 (20:46 -0400)]
Fix warnings for clang
Daniel Stenberg [Mon, 22 Mar 2010 08:51:52 +0000 (09:51 +0100)]
Merge branch 'master' of github.com:bagder/curl
douglas steinwand [Mon, 22 Mar 2010 08:25:03 +0000 (09:25 +0100)]
Fix insufficient initialization in Curl_clone_ssl_config()
which could have caused a double free when reusing curl handle.
Daniel Stenberg [Sun, 21 Mar 2010 23:42:06 +0000 (00:42 +0100)]
we never used this file anyway
Daniel Stenberg [Sun, 21 Mar 2010 23:41:34 +0000 (00:41 +0100)]
s/CVS/git
Daniel Stenberg [Sun, 21 Mar 2010 23:34:09 +0000 (00:34 +0100)]
various changes of CVS to git
Daniel Stenberg [Sun, 21 Mar 2010 23:26:29 +0000 (00:26 +0100)]
remove references to CVS in the code and use DEV instead
Daniel Stenberg [Sun, 21 Mar 2010 22:34:29 +0000 (23:34 +0100)]
Ben Greear's two fixes explained