Daniel Stenberg [Fri, 9 May 2008 13:10:34 +0000 (13:10 +0000)]
Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is too
liberal for me. Also, autoconf 2.61 and earlier doesn't work with icc 10.1
for this macro. (2.62 confirmed to work though). See discusson on the mailing
list starting here:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2008-05/0001.shtml
Daniel Stenberg [Fri, 9 May 2008 12:59:24 +0000 (12:59 +0000)]
- Stefan Krause reported a busy-looping case when using the multi interface
and doing CONNECT to a proxy. The app would then busy-loop until the proxy
completed its response.
Daniel Stenberg [Fri, 9 May 2008 12:53:42 +0000 (12:53 +0000)]
Removed an unused variable and one do-while loop that wasn't used either.
Added a few comments while at it.
Michal Marek [Fri, 9 May 2008 11:27:54 +0000 (11:27 +0000)]
- Make Curl_write and it's callees accept a const pointer, in preparation
of tetetest's patch for curl_easy_send()
Daniel Stenberg [Thu, 8 May 2008 22:14:17 +0000 (22:14 +0000)]
include strings.h (if available) for the strcasecmp() proto
Daniel Stenberg [Thu, 8 May 2008 22:11:38 +0000 (22:11 +0000)]
check for strings.h in configure and use it for the strcasecmp() proto
Yang Tse [Thu, 8 May 2008 05:45:01 +0000 (05:45 +0000)]
fix compiler warning: format '%ld' expects type 'long int'
Daniel Stenberg [Wed, 7 May 2008 21:27:35 +0000 (21:27 +0000)]
adjusted to work with the updated configure.ac
Daniel Stenberg [Wed, 7 May 2008 21:20:45 +0000 (21:20 +0000)]
- Sebastian made c-ares able to return all PTR-records when doing reverse
lookups. It is not common practice to have multiple PTR-Records for a single
IP, but its perfectly legal and some sites have those.
Daniel Stenberg [Wed, 7 May 2008 21:16:06 +0000 (21:16 +0000)]
- Doug Goldstein provided a configure patch: updates autoconf 2.13 usage to
autoconf 2.57 usage (which is the version you have specified as the minimum
version). It's a minor change but it does clean up some warnings with newer
autoconf (specifically 2.62).
Daniel Stenberg [Wed, 7 May 2008 21:11:27 +0000 (21:11 +0000)]
-135 - Busy looping bug in multi_socket interface by
- Christopher Palow
Daniel Stenberg [Wed, 7 May 2008 21:02:21 +0000 (21:02 +0000)]
- Liam Healy filed the debian bug report #480044
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044) identifying a
segfault when using krb5 ftp, but the krb4 code had the same problem.
Yang Tse [Wed, 7 May 2008 15:41:41 +0000 (15:41 +0000)]
Christopher Palow provided the patch (edited by me) that introduces
the use of microsecond resolution keys for internal splay trees.
http://curl.haxx.se/mail/lib-2008-04/0513.html
Yang Tse [Tue, 6 May 2008 04:37:06 +0000 (04:37 +0000)]
fix compiler warning: enumerated type mixed with another type
Daniel Stenberg [Mon, 5 May 2008 22:27:28 +0000 (22:27 +0000)]
mention four outstanding issues we should deal with before release
Yang Tse [Mon, 5 May 2008 17:48:25 +0000 (17:48 +0000)]
Improved parsing of resolver configuration files
Daniel Stenberg [Sat, 3 May 2008 22:04:39 +0000 (22:04 +0000)]
- Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
built debug-enabled.
Daniel Stenberg [Sat, 3 May 2008 21:49:16 +0000 (21:49 +0000)]
minor spell and language fix of a comment
Daniel Stenberg [Sat, 3 May 2008 21:45:12 +0000 (21:45 +0000)]
- Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twice
when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240).
The problem was that when libcurl rewound a stream meant for upload when it
would prepare for a second request, it could accidentally continue the
sending of the rewound data on the first request instead of on the second.
Ben also provided test case 1030 that verifies this fix.
Daniel Stenberg [Sat, 3 May 2008 21:44:50 +0000 (21:44 +0000)]
Added comments, check Curl_http_auth_act()'s return code and added a check
that closes the connection somewhat faster when perhapsrewind() has marked
the connection for closure.
Daniel Stenberg [Sat, 3 May 2008 13:43:35 +0000 (13:43 +0000)]
- Jean-Francois Bertrand reported a libcurl crash with CURLOPT_TCP_NODELAY
since libcurl used getprotobyname() and that isn't thread-safe. We now
switched to use IPPROTO_TCP unconditionally, but perhaps the proper fix is
to detect the thread-safe version of the function and use that.
http://curl.haxx.se/mail/lib-2008-05/0011.html
Daniel Stenberg [Thu, 1 May 2008 21:34:34 +0000 (21:34 +0000)]
- Bart Whiteley provided a patch that made libcurl work properly when an app
uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket
to a http server.
Daniel Stenberg [Thu, 1 May 2008 20:58:38 +0000 (20:58 +0000)]
53. SFTP busy-loop problem when doing SFTP uploads.
Dan Fandrich [Thu, 1 May 2008 17:48:00 +0000 (17:48 +0000)]
Document that variable replacement now takes place in the test file <stdout> section.
Daniel Stenberg [Thu, 1 May 2008 10:52:12 +0000 (10:52 +0000)]
use variables to support other IPs and port numbers
Daniel Stenberg [Thu, 1 May 2008 10:51:16 +0000 (10:51 +0000)]
do variable replacement in the stdout data read from the test case
Dan Fandrich [Thu, 1 May 2008 00:20:01 +0000 (00:20 +0000)]
Added precheck for hard-coded test server address and port
Dan Fandrich [Thu, 1 May 2008 00:18:16 +0000 (00:18 +0000)]
Made file XML compatible
Daniel Stenberg [Wed, 30 Apr 2008 21:32:35 +0000 (21:32 +0000)]
Christian Vogt told us about OS21 in
http://curl.haxx.se/mail/lib-2008-04/0443.html
Daniel Stenberg [Wed, 30 Apr 2008 21:20:08 +0000 (21:20 +0000)]
- To make it easier for applications that want lots of magic stuff done on
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
introduce the new CURLINFO_REDIRECT_URL option that lets applications
extract the URL libcurl would've redirected to if it had been told to. This
then enables the application to continue to that URL as it thinks is
suitable, without having to re-implement the magic of creating the new URL
from the Location: header etc. Test 1029 verifies it.
Yang Tse [Tue, 29 Apr 2008 04:28:40 +0000 (04:28 +0000)]
improved easy interface resolving timeout handling in c-ares enabled builds
Yang Tse [Tue, 29 Apr 2008 04:18:02 +0000 (04:18 +0000)]
improve easy interface resolving timeout handling in c-ares enabled builds
Dan Fandrich [Tue, 29 Apr 2008 02:30:09 +0000 (02:30 +0000)]
Added test 1028 to test an HTTP redirect to a FTP URL.
Daniel Stenberg [Mon, 28 Apr 2008 21:29:17 +0000 (21:29 +0000)]
- Norbert Frese filed bug report #1951588: "Problem with curlftpfs and
libcurl" (http://curl.haxx.se/bug/view.cgi?id=1951588) which seems to be an
identical report to what Denis Golovan reported in
http://curl.haxx.se/mail/lib-2008-02/0108.html The FTP code didn't reset the
user/password pointers properly even though there might've been a new
struct/cconnection getting used.
Daniel Stenberg [Sat, 26 Apr 2008 22:02:07 +0000 (22:02 +0000)]
mention the automake problems and solution even though it doesn't strictly
caused any change in curl-related files
Dan Fandrich [Fri, 25 Apr 2008 22:49:18 +0000 (22:49 +0000)]
Updated Symbian UIDs. Added .pkg files for creating .sis packages.
Yang Tse [Fri, 25 Apr 2008 11:01:26 +0000 (11:01 +0000)]
tests/libtest/delay.pl no longer used. The 'delay' attribute of the
test harness <command> subsection now provides this functionality.
Yang Tse [Fri, 25 Apr 2008 04:19:50 +0000 (04:19 +0000)]
Add 'timeout' and 'delay' attributes support for the test harness <command> subsection
Dan Fandrich [Fri, 25 Apr 2008 00:41:44 +0000 (00:41 +0000)]
Made --stderr able to redirect all stderr messages.
Dan Fandrich [Thu, 24 Apr 2008 23:24:57 +0000 (23:24 +0000)]
Reduced the requested Symbian capabilities.
Correctly noted what happens to stderr.
Yang Tse [Wed, 23 Apr 2008 23:58:00 +0000 (23:58 +0000)]
<postcheck> delay no longer needed for this test.
http://curl.haxx.se/mail/lib-2008-04/0392.html
Yang Tse [Wed, 23 Apr 2008 23:55:34 +0000 (23:55 +0000)]
improve synchronization between test harness runtests.pl script
and test harness servers to minimize risk of false test failures.
http://curl.haxx.se/mail/lib-2008-04/0392.html
Dan Fandrich [Wed, 23 Apr 2008 18:29:44 +0000 (18:29 +0000)]
Symbian OS is a.k.a. EPOC32
Dan Fandrich [Wed, 23 Apr 2008 18:14:25 +0000 (18:14 +0000)]
Mention that P.I.P.S. is needed for Symbian.
Dan Fandrich [Wed, 23 Apr 2008 05:14:14 +0000 (05:14 +0000)]
List extra files individually instead of by directory to avoid including
CVS directories.
Dan Fandrich [Tue, 22 Apr 2008 22:53:53 +0000 (22:53 +0000)]
Added support for running on Symbian OS.
Yang Tse [Tue, 22 Apr 2008 13:07:27 +0000 (13:07 +0000)]
fix minor memory leak triggered upon test failure
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.
http://curl.haxx.se/mail/lib-2008-04/0385.html
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.
Dan Fandrich [Mon, 21 Apr 2008 23:17:20 +0000 (23:17 +0000)]
Allocate the decompression buffer for the --manual option on the heap
instead of the stack.
Dan Fandrich [Mon, 21 Apr 2008 23:16:24 +0000 (23:16 +0000)]
Fixed typo in log message
Daniel Stenberg [Mon, 21 Apr 2008 21:44:03 +0000 (21:44 +0000)]
added Haskell binding, unified the formatting somewhat
Yang Tse [Mon, 21 Apr 2008 19:17:42 +0000 (19:17 +0000)]
HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems
Dan Fandrich [Mon, 21 Apr 2008 17:19:44 +0000 (17:19 +0000)]
Ignore the result of the postcheck command in torture mode
Dan Fandrich [Mon, 21 Apr 2008 16:57:27 +0000 (16:57 +0000)]
Make the test work with nroffs that use special escaping for bold output.
Yang Tse [Sun, 20 Apr 2008 19:15:08 +0000 (19:15 +0000)]
accelerate the writing of server input and response request files
to disk, trying to defeat file and disk write-behind algorithms
Dan Fandrich [Fri, 18 Apr 2008 22:31:52 +0000 (22:31 +0000)]
Added test cases 1026 and 1027 to do some rudimentary tests on the --manual
and --help options.
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
Yang Tse [Thu, 17 Apr 2008 11:59:46 +0000 (11:59 +0000)]
fix compiler warning: enumerated type mixed with another type
Dan Fandrich [Thu, 17 Apr 2008 00:45:33 +0000 (00:45 +0000)]
Some trivial changes
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 [Wed, 16 Apr 2008 14:48:01 +0000 (14:48 +0000)]
Removed 129 and 130 due to lack of response on those issues
Michal Marek [Mon, 14 Apr 2008 19:01:41 +0000 (19:01 +0000)]
allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as
discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html
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:22:45 +0000 (15:22 +0000)]
- Andre Guibert de Bruet fixed a second case of not checking the malloc()
return code in the Negotiate code.
Daniel Stenberg [Mon, 14 Apr 2008 15:20:07 +0000 (15:20 +0000)]
mention Sandor as contributor
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.
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.