Yang Tse [Tue, 22 Apr 2008 12:40:05 +0000 (12:40 +0000)]
Remove fflush() + fsync() previously introduced accelerated writing of
server input and response request files of the test harness sws server.
Reintroduce, for test # 1001, the <postcheck> small delay. The delay is
needed even with the accelerated writing of server input and response
request files in test harness sws server.
Yang Tse [Tue, 22 Apr 2008 00:23:18 +0000 (00:23 +0000)]
Remove previously introduced small delay to verify if it can be avoided
with the accelerated writing of server input and response request files
in test harness sws server.
Yang Tse [Fri, 18 Apr 2008 17:25:54 +0000 (17:25 +0000)]
test 1001 needs a small delay between client part execution and test
result file verifications to allow the test server to completely write
out all files
Yang Tse [Fri, 18 Apr 2008 17:17:14 +0000 (17:17 +0000)]
test 1001 needs a small delay between client part execution and test
result file verifications to allow the test server to completely write
out all files
Daniel Stenberg [Wed, 16 Apr 2008 21:11:46 +0000 (21:11 +0000)]
Added test case 555, a variation of 547 but using multi interface instead of
easy. This was reported not working by Penugonda Chenna Reddy in
http://curl.haxx.se/mail/lib-2008-04/0046.html but I fail to repeat that
problem.
Daniel Stenberg [Mon, 14 Apr 2008 15:26:34 +0000 (15:26 +0000)]
- Stefan Krause reported a case where the OpenSSL handshake phase wasn't
properly acknowledging the timeout values, like if you pulled the network
plug in the midst of it.
Daniel Stenberg [Mon, 14 Apr 2008 15:19:05 +0000 (15:19 +0000)]
- Sandor Feldi reported bug #1942022
(http://curl.haxx.se/bug/view.cgi?id=1942022) pointing out a mistake in the
lib/Makefile.vc[68] makefiles' release-ssl-dll target.
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.
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: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 [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 [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 [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: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!
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
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 [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.