Daniel Stenberg [Mon, 14 Apr 2008 14:42:06 +0000 (14:42 +0000)]
- Brock Noland reported that curl behaved differently depending on which order
you used -i and -I.
Daniel Stenberg [Sat, 12 Apr 2008 11:50:51 +0000 (11:50 +0000)]
- Andre Guibert de Bruet found and fixed a case where malloc() was called but
was not checked for a NULL return, in the Negotiate code.
Daniel Stenberg [Sat, 12 Apr 2008 08:35:04 +0000 (08:35 +0000)]
return 0 not -1 at end of data!
Dan Fandrich [Thu, 10 Apr 2008 18:18:55 +0000 (18:18 +0000)]
Added test case 1025 to test a command-line cookie with Location: following
Daniel Stenberg [Thu, 10 Apr 2008 09:06:47 +0000 (09:06 +0000)]
mention what happens to the data when a write callback returns pause
Daniel Stenberg [Thu, 10 Apr 2008 09:03:26 +0000 (09:03 +0000)]
clarify the COOKIE option a bit
Dan Fandrich [Thu, 10 Apr 2008 04:21:08 +0000 (04:21 +0000)]
Added test case 1024 to test a scenario similar to the one reported
by Ben Combee where libcurl would send the wrong cookie to a redirected
server. libcurl was doing the right thing in this test case.
Daniel Stenberg [Wed, 9 Apr 2008 11:27:47 +0000 (11:27 +0000)]
"tag" the function referals properly
Yang Tse [Mon, 7 Apr 2008 19:12:35 +0000 (19:12 +0000)]
make previous compiler warning fix more portable
Yang Tse [Mon, 7 Apr 2008 15:40:49 +0000 (15:40 +0000)]
fix compiler warning: argument is incompatible with corresponding format string conversion
Yang Tse [Mon, 7 Apr 2008 14:37:17 +0000 (14:37 +0000)]
fix compiler warning: indirection to slightly different base types
Yang Tse [Mon, 7 Apr 2008 14:20:05 +0000 (14:20 +0000)]
fix compiler warning: local variable may be used without having been initialized
Patrick Monnerat [Mon, 7 Apr 2008 13:09:17 +0000 (13:09 +0000)]
Adapt OS400 SSL (qssl.h) to V5R4
Fix qssl.c wrong error message
Upgrade OS400 wrappers and makefiles to 7.18.1
Yang Tse [Mon, 7 Apr 2008 12:44:47 +0000 (12:44 +0000)]
fix compiler warning: unreferenced formal parameter
Yang Tse [Mon, 7 Apr 2008 12:40:05 +0000 (12:40 +0000)]
fix compiler warning: assignment within conditional expression
Michal Marek [Mon, 7 Apr 2008 09:26:30 +0000 (09:26 +0000)]
- Fix the MIT / Heimdal check for good:
Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available.
Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if
GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should
avoid breakage in case we wrongly recognize Heimdal as MIT again.
Daniel Stenberg [Sat, 5 Apr 2008 21:13:44 +0000 (21:13 +0000)]
- Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly
Daniel Stenberg [Sat, 5 Apr 2008 21:13:31 +0000 (21:13 +0000)]
provide CURL_DEFAULT_PROXY_PORT set to 1080 for the default port libcurl
assumes proxies to use
Daniel Stenberg [Sat, 5 Apr 2008 21:02:38 +0000 (21:02 +0000)]
- Based on the Debian bug report #474224 that complained about the FTP error
message when libcurl doesn't get a 220 back immediately on connect, I now
changed it to be more specific on what the problem is. Also worth noticing:
while the bug report contains an example where the response is:
421 There are too many connected users, please try again later
we cannot assume that the error message will always be this readable nor
that it fits within a particular boundary etc.
Daniel Stenberg [Fri, 4 Apr 2008 20:26:06 +0000 (20:26 +0000)]
- Alexey Simak fixed the VC dsp file by adding the missing source file
ares_expand_string.c
Daniel Stenberg [Fri, 4 Apr 2008 20:24:41 +0000 (20:24 +0000)]
Alexey Simak made adig support NAPTR records
Daniel Stenberg [Fri, 4 Apr 2008 20:05:23 +0000 (20:05 +0000)]
Eino Tuominen improved the code when a file is used to seed the randomizer
Dan Fandrich [Fri, 4 Apr 2008 18:45:37 +0000 (18:45 +0000)]
Give a hint as to why a url_fopen failed.
Yang Tse [Fri, 4 Apr 2008 14:47:32 +0000 (14:47 +0000)]
SunSSH sshd ignores UsePrivilegeSeparation option
Yang Tse [Fri, 4 Apr 2008 14:08:36 +0000 (14:08 +0000)]
SunSSH 1.2 options sync
Daniel Stenberg [Fri, 4 Apr 2008 11:39:32 +0000 (11:39 +0000)]
oops, forgot to add test554
Dan Fandrich [Fri, 4 Apr 2008 02:06:35 +0000 (02:06 +0000)]
Added test627 to test SFTP with CURLOPT_NOBODY
Daniel Stenberg [Thu, 3 Apr 2008 21:44:49 +0000 (21:44 +0000)]
- Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to
GET simply because previously when you set CURLOPT_NOBODY to TRUE first and
then FALSE you'd end up in a broken state where a HTTP request would do a
HEAD by still act a lot like for a GET and hang waiting for the content etc.
Daniel Stenberg [Thu, 3 Apr 2008 20:56:59 +0000 (20:56 +0000)]
Scott Barrett added support for CURLOPT_NOBODY over SFTP
Dan Fandrich [Thu, 3 Apr 2008 20:28:32 +0000 (20:28 +0000)]
Made sure that curl_global_init is called in all the multithreaded
example programs.
Gunter Knauf [Wed, 2 Apr 2008 03:11:34 +0000 (03:11 +0000)]
removed unused var.
Gunter Knauf [Wed, 2 Apr 2008 03:08:21 +0000 (03:08 +0000)]
removed double dependency.
Daniel Stenberg [Tue, 1 Apr 2008 21:49:51 +0000 (21:49 +0000)]
128 - Phil Blundell's ares and ipv6 fix (feedback lacking)
removed
133 - Setting CURLOPT_NOBODY to "false" causes cURL to wait for content if a
content-length header is read
added
Daniel Stenberg [Tue, 1 Apr 2008 13:54:49 +0000 (13:54 +0000)]
Eetu contributed back in 2000...
Daniel Stenberg [Mon, 31 Mar 2008 20:32:31 +0000 (20:32 +0000)]
132 - Xponaut's CURLFORM_STREAM option to curl_formadd()
done
Gunter Knauf [Mon, 31 Mar 2008 12:51:44 +0000 (12:51 +0000)]
moved CURL_CA_BUNDLE define to generated config.h.
Michal Marek [Mon, 31 Mar 2008 12:09:43 +0000 (12:09 +0000)]
Removed the generated ca-bundle.h file. The verbatim value of $ca and
$capath is known to configure, so it can be defined in config.h instead.
Daniel Stenberg [Mon, 31 Mar 2008 10:16:34 +0000 (10:16 +0000)]
expanded a comment around some of the new formpost callback usage
Daniel Stenberg [Mon, 31 Mar 2008 10:02:23 +0000 (10:02 +0000)]
- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an
application to provide data for a multipart with the read callback. Note
that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the
stream option is used. This feature is verified by the new test case
554. This feature was sponsored by Xponaut.
Dan Fandrich [Mon, 31 Mar 2008 03:01:13 +0000 (03:01 +0000)]
Changed the makefile so the doc/examples/ programs are never built in a
normal build/install (only with the 'make check' target), so that a
build failure in the examples isn't fatal.
Daniel Stenberg [Sun, 30 Mar 2008 09:30:15 +0000 (09:30 +0000)]
added people from the 7.18.1 release announcement
Daniel Stenberg [Sun, 30 Mar 2008 09:22:45 +0000 (09:22 +0000)]
back to a blank for 7.18.2
Daniel Stenberg [Sun, 30 Mar 2008 09:22:22 +0000 (09:22 +0000)]
start working on 7.18.2
Daniel Stenberg [Sun, 30 Mar 2008 09:11:35 +0000 (09:11 +0000)]
7.18.1
Daniel Stenberg [Sun, 30 Mar 2008 09:08:40 +0000 (09:08 +0000)]
132 - Xponaut's CURLFORM_STREAM option to curl_formadd()
Daniel Stenberg [Sun, 30 Mar 2008 09:07:08 +0000 (09:07 +0000)]
I'm officially pushing the two remaining issues to the next release instead,
since they're still not clear enough to be to sort about before 7.18.1
Dan Fandrich [Fri, 28 Mar 2008 18:19:11 +0000 (18:19 +0000)]
Made the test work on perl 5.00
Daniel Stenberg [Thu, 27 Mar 2008 23:13:57 +0000 (23:13 +0000)]
- Stephen Collyer pointed out that configure --with-libssh2 without a given
path didn't work properly but now it does!
Daniel Stenberg [Thu, 27 Mar 2008 23:10:24 +0000 (23:10 +0000)]
fix --with-libssh2 when given without path
Daniel Stenberg [Thu, 27 Mar 2008 13:07:12 +0000 (13:07 +0000)]
- As found out and reported by Dan Petitt, libcurl didn't show progress/call
the progress callback for the first (potentially huge) piece of body data
sent together with the POST request headers in the initial send().
Daniel Stenberg [Tue, 25 Mar 2008 19:23:26 +0000 (19:23 +0000)]
spell!
Daniel Stenberg [Tue, 25 Mar 2008 19:19:49 +0000 (19:19 +0000)]
- Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case
libcurl wasn't built to use OpenSSL as that is a prerequisite for this
option to function!
Daniel Stenberg [Tue, 25 Mar 2008 19:17:26 +0000 (19:17 +0000)]
spell it out loudly and clearly that CURLOPT_SSL_CTX_FUNCTION is only
functional if libcurl is built against OpenSSL
Daniel Stenberg [Sat, 22 Mar 2008 22:00:21 +0000 (22:00 +0000)]
- Fixed the problem with doing a zero byte SCP transfer, verified with test
case 617 (which was added by Daniel Fandrich 5 Mar 2008).
Daniel Stenberg [Fri, 21 Mar 2008 11:53:59 +0000 (11:53 +0000)]
roadmap ahead
Dan Fandrich [Thu, 20 Mar 2008 20:16:01 +0000 (20:16 +0000)]
Jes reported the curl-config bug
Dan Fandrich [Thu, 20 Mar 2008 20:08:44 +0000 (20:08 +0000)]
Fixed a problem where curl-config --protocols could erroneously show LDAPS
support when curl didn't even have regular LDAP support. It looks like
this could happen when the --enable-ldaps configure switch is given but
configure couldn't find the LDAP headers or libraries.
Gunter Knauf [Thu, 20 Mar 2008 16:10:54 +0000 (16:10 +0000)]
added --extvercmd parameter which can be used to specify an external command to display 'curl --version', f.e. with MinW32 crosscompile --extvercmd=/usr/bin/wine can be used.
Michal Marek [Thu, 20 Mar 2008 08:09:23 +0000 (08:09 +0000)]
- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
default instead of a ca bundle. The configure script will also look for a
ca path if no ca bundle is found and no option given.
- Fixed detection of previously installed curl-ca-bundle.crt
Dan Fandrich [Tue, 18 Mar 2008 22:59:04 +0000 (22:59 +0000)]
Fixed an infinite loop when given an invalid SFTP quote command.
Dan Fandrich [Tue, 18 Mar 2008 17:05:29 +0000 (17:05 +0000)]
Added test 626 to reproduce an infinite loop when given an invalid
SFTP quote command reported by Vincent Le Normand, but left it disabled.
Michal Marek [Tue, 18 Mar 2008 08:14:37 +0000 (08:14 +0000)]
- Added curl_easy_getinfo typechecker.
- Added macros for curl_share_setopt and curl_multi_setopt to check at least
the correct number of arguments.
Michal Marek [Mon, 17 Mar 2008 14:22:10 +0000 (14:22 +0000)]
Mark the statement expr with __extension__ so that gcc -pedantic doesn't emit
any hard-to-grasp warnings in curl_easy_setopt() calls in applications.
Also delete superfluous semicolons.
Dan Fandrich [Sat, 15 Mar 2008 01:03:23 +0000 (01:03 +0000)]
Spell the commands right
Dan Fandrich [Thu, 13 Mar 2008 22:51:39 +0000 (22:51 +0000)]
Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that
seems to need a call curl_easy_reset() which this test case doesn't do.
Daniel Stenberg [Thu, 13 Mar 2008 21:43:39 +0000 (21:43 +0000)]
- Brian Ulm figured out that if you did an SFTP upload with
CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
handle and uploaded another file to another directory that needed to be
created, the second upload would fail. Another case of a state variable that
wasn't properly reset between requests.
- I rewrote the 100-continue code to use a single state variable instead of
the previous two ones. I think it made the logic somewhat clearer.
Daniel Stenberg [Thu, 13 Mar 2008 21:43:30 +0000 (21:43 +0000)]
- Brian Ulm figured out that if you did an SFTP upload with
CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
handle and uploaded another file to another directory that needed to be
created, the second upload would fail. Another case of a state variable that
wasn't properly reset between requests.
Daniel Stenberg [Thu, 13 Mar 2008 20:56:13 +0000 (20:56 +0000)]
Change the confusing two variables for the expect 100 continue stuff into
a single state variable to make the code easier to follow and understand.
Dan Fandrich [Thu, 13 Mar 2008 20:49:06 +0000 (20:49 +0000)]
--ftp-create-dirs works on SFTP as well
Daniel Stenberg [Thu, 13 Mar 2008 12:36:22 +0000 (12:36 +0000)]
fix code that is normally #ifdef'ed out
Daniel Stenberg [Wed, 12 Mar 2008 13:14:09 +0000 (13:14 +0000)]
Done: 125 - Michal Marek's typechecker-gcc work
Daniel Stenberg [Tue, 11 Mar 2008 22:58:52 +0000 (22:58 +0000)]
updated according to the name resolve race condition fix just committed
Daniel Stenberg [Tue, 11 Mar 2008 22:55:23 +0000 (22:55 +0000)]
- Dmitry Popov filed bug report #1911069
(http://curl.haxx.se/bug/view.cgi?id=1911069) that identified a race
condition in the name resolver code when the DNS cache is shared between
multiple easy handles, each running in simultaneous threads that could cause
crashes.
Daniel Stenberg [Tue, 11 Mar 2008 13:14:16 +0000 (13:14 +0000)]
- Added a macro for curl_easy_setopt() that accepts three arguments and simply
does nothing with them, just to make sure libcurl users always use three
arguments to this function. Due to its use of ... for the third argument, it
is otherwise hard to detect abuse.
Daniel Stenberg [Tue, 11 Mar 2008 12:18:00 +0000 (12:18 +0000)]
Recommend passing a 1 as parameter to CURLOPT_SSLENGINE_DEFAULT rather than
a "dummy" just to get things as fixed as possible in case we ever get the urge
to change this to actually mean something.
Michal Marek [Tue, 11 Mar 2008 07:37:40 +0000 (07:37 +0000)]
- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
http://curl.haxx.se/mail/lib-2008-02/0292.html )
Dan Fandrich [Mon, 10 Mar 2008 19:40:27 +0000 (19:40 +0000)]
Added tests 618-621 to test SFTP/SCP transfers of more than one file
(test 620 tests the just-fixed problem reported by Brian Ulm).
Michal Marek [Mon, 10 Mar 2008 14:32:19 +0000 (14:32 +0000)]
fixed typo
Michal Marek [Mon, 10 Mar 2008 09:56:49 +0000 (09:56 +0000)]
(try to) use LIBS for libraries (-l) and LDFLAGS for paths (-L) in the
gssapi check. Cleans up curl-config --libs output when REQUIRE_LIB_DEPS=no
Daniel Stenberg [Sun, 9 Mar 2008 11:37:48 +0000 (11:37 +0000)]
- Brian Ulm reported a crash when doing a second SFTP transfer on a re-used
easy handle if curl_easy_reset() was used between them. I fixed it and Brian
verified that it cured his problem.
- Brian Ulm reported that if you first tried to download a non-existing SFTP
file and then fetched an existing one and re-used the handle, libcurl would
still report the second one as non-existing as well! I fixed it abd Brian
verified that it cured his problem.
Daniel Stenberg [Sat, 8 Mar 2008 22:19:11 +0000 (22:19 +0000)]
Done: 123 - Mike Protts' SFTP resume download
Yang Tse [Fri, 7 Mar 2008 02:49:14 +0000 (02:49 +0000)]
VS2005 and later dafault size for time_t is 64-bit, unless
_USE_32BIT_TIME_T has been defined to get a 32-bit time_t
Michal Marek [Thu, 6 Mar 2008 17:22:45 +0000 (17:22 +0000)]
Fix the gssapi configure check to detect newer MIT Kerberos (patch by
Michael Calmer)
Daniel Stenberg [Thu, 6 Mar 2008 12:43:47 +0000 (12:43 +0000)]
spellchecked
Daniel Stenberg [Thu, 6 Mar 2008 12:37:07 +0000 (12:37 +0000)]
curl_multi_timeout() is really not recommended with curl_multi_socket()-based
usage
Yang Tse [Thu, 6 Mar 2008 03:48:33 +0000 (03:48 +0000)]
Regression fix:
select/poll calls will only be retried upon EINTR failures as
it previously was in lib/select.c revision 1.29
In this way Curl_socket_ready() and Curl_poll() will again fail
on any select/poll errors different than EINTR.
Dan Fandrich [Thu, 6 Mar 2008 01:15:28 +0000 (01:15 +0000)]
Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
so test 617 is disabled for now.
Dan Fandrich [Thu, 6 Mar 2008 01:11:43 +0000 (01:11 +0000)]
Fixed the test harness so it will write out zero-length data files.
Yang Tse [Wed, 5 Mar 2008 18:27:31 +0000 (18:27 +0000)]
fix log message used when unable to connect to destination port
Daniel Stenberg [Tue, 4 Mar 2008 11:53:15 +0000 (11:53 +0000)]
Mike Protts brought a patch that makes resumed transfers work with SFTP.
Daniel Stenberg [Sat, 1 Mar 2008 22:32:03 +0000 (22:32 +0000)]
- Anatoli Tubman found and fixed a crash with Negotiate authentication used on
a re-used connection where both requests used Negotiate.
Yang Tse [Fri, 29 Feb 2008 17:13:39 +0000 (17:13 +0000)]
Force AIX xlc to fail and not generate object code if the source code has
compiled with errors. This behaviour is needed for autoconf macros which
rely on the ability to compile with or without errors, and is safer than
xlc's default of failing only upon severe errors.
Daniel Stenberg [Thu, 28 Feb 2008 21:25:00 +0000 (21:25 +0000)]
Removed:
121 - Kaspar Brand's and Guenter Knauf's work on the TLS extension Server Name
Indication is now committed
122 - Progress callback not called during failed socket connect with the multi
interface, is now simply pending a closure since no feedback has been
received lately.
Added:
123 - Mike Protts' SFTP resume download
124 - Anatoli Tubman's fix for a Negotiate: crash
125 - Michal Marek's typechecker-gcc work
Gunter Knauf [Thu, 28 Feb 2008 11:34:08 +0000 (11:34 +0000)]
fixed commented define for SSPI.
Yang Tse [Thu, 28 Feb 2008 10:15:21 +0000 (10:15 +0000)]
signal handling to properly cleanup on SIGINT and SIGTERM
Yang Tse [Thu, 28 Feb 2008 10:13:07 +0000 (10:13 +0000)]
when terminating do it falling through cleanup code
Yang Tse [Thu, 28 Feb 2008 09:38:32 +0000 (09:38 +0000)]
avoid inclusion of setup.h in util.h
Yang Tse [Thu, 28 Feb 2008 00:55:06 +0000 (00:55 +0000)]
header inclusion cleanup
Yang Tse [Wed, 27 Feb 2008 14:54:18 +0000 (14:54 +0000)]
make comment more precise
Daniel Stenberg [Wed, 27 Feb 2008 09:06:15 +0000 (09:06 +0000)]
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
test code. Thanks to his curl_easy_setopt() typechecker work...