Yang Tse [Thu, 12 Oct 2006 03:57:33 +0000 (03:57 +0000)]
Inclusion of time header files based on header existance
Yang Tse [Wed, 11 Oct 2006 16:01:16 +0000 (16:01 +0000)]
Remove redundant __CYGWIN__ symbol check
Yang Tse [Tue, 10 Oct 2006 23:58:02 +0000 (23:58 +0000)]
Compiler warning fix
Yang Tse [Tue, 10 Oct 2006 23:50:37 +0000 (23:50 +0000)]
Call curl_global_cleanup() in all code paths before exiting test
Daniel Stenberg [Tue, 10 Oct 2006 19:48:24 +0000 (19:48 +0000)]
repair id string
Daniel Stenberg [Tue, 10 Oct 2006 19:46:57 +0000 (19:46 +0000)]
Added ghiper.c, Jeff Pohlmeyer's example code using the curl_multi_socket()
API with glib2
Daniel Stenberg [Tue, 10 Oct 2006 14:23:34 +0000 (14:23 +0000)]
mark the handle as no longer having a broken pipe when a transfer has failed
Daniel Stenberg [Mon, 9 Oct 2006 21:29:53 +0000 (21:29 +0000)]
Added test case 536 in an attempt to add Bogdan Nicula's problematic case
with multi interface and pipelining. This test just works and did not repeat
the problem his test code showed, but could still serve as a useful test.
Daniel Stenberg [Mon, 9 Oct 2006 21:26:09 +0000 (21:26 +0000)]
used for test 535 too
Daniel Stenberg [Mon, 9 Oct 2006 21:24:50 +0000 (21:24 +0000)]
minor indent fix
Daniel Stenberg [Mon, 9 Oct 2006 21:24:34 +0000 (21:24 +0000)]
when going to completed due to error, mark the handle as not in a pipeline
anymore
Daniel Stenberg [Mon, 9 Oct 2006 21:04:48 +0000 (21:04 +0000)]
new mirrors
Daniel Stenberg [Mon, 9 Oct 2006 14:59:53 +0000 (14:59 +0000)]
kill trailing whitespace
Daniel Stenberg [Mon, 9 Oct 2006 14:54:11 +0000 (14:54 +0000)]
changed the wording about removal of internal headers with -H
Yang Tse [Mon, 9 Oct 2006 11:21:40 +0000 (11:21 +0000)]
Compiler warning fix
Daniel Stenberg [Mon, 9 Oct 2006 06:58:05 +0000 (06:58 +0000)]
Bogdan Nicula's second test case (posted Sun, 08 Oct 2006) converted to test
case 535 and it now runs fine. Again a problem with the pipelining code not
taking all possible (error) conditions into account.
Yang Tse [Mon, 9 Oct 2006 00:35:36 +0000 (00:35 +0000)]
Cygwin 1.5.21 needs this hack to pass test 160.
In this way 304 tests out of 304 reported OK.
Daniel Stenberg [Sun, 8 Oct 2006 22:19:25 +0000 (22:19 +0000)]
slightly improved
Daniel Stenberg [Sun, 8 Oct 2006 21:41:22 +0000 (21:41 +0000)]
clarified more
Daniel Stenberg [Sun, 8 Oct 2006 10:51:53 +0000 (10:51 +0000)]
test 534 added in an attempt to repeat Bogdan Nicula's bug...
Daniel Stenberg [Sun, 8 Oct 2006 08:50:12 +0000 (08:50 +0000)]
modified lib533 to accept both URLs on the command line
Daniel Stenberg [Sun, 8 Oct 2006 08:43:32 +0000 (08:43 +0000)]
Fix a "sockfilt" leak. When a new 'data' connection sockfilt server is started,
make sure that a previously used one is killed first (since they re-use the
same .pid file etc)
Daniel Stenberg [Sat, 7 Oct 2006 21:04:57 +0000 (21:04 +0000)]
don't display or act on state changes that doesn't actually change state
Daniel Stenberg [Fri, 6 Oct 2006 21:19:57 +0000 (21:19 +0000)]
Bogdan Nicula's hanging test case was converted to test case 533 and the test
now runs fine.
Daniel Stenberg [Fri, 6 Oct 2006 21:19:40 +0000 (21:19 +0000)]
catch silly mistakes better
Gunter Knauf [Fri, 6 Oct 2006 00:24:25 +0000 (00:24 +0000)]
updated for latest OpenSSL release.
Daniel Stenberg [Thu, 5 Oct 2006 14:33:23 +0000 (14:33 +0000)]
planned stuff to do before release
Daniel Stenberg [Wed, 4 Oct 2006 21:11:08 +0000 (21:11 +0000)]
Dmitriy Sergeyev provided an example source code that crashed CVS libcurl
but that worked nicely in 7.15.5. I converted it into test case 532 and
fixed the problem.
Daniel Stenberg [Mon, 2 Oct 2006 13:00:54 +0000 (13:00 +0000)]
removed more dead code that is unused since the removal of the third party
transfer support
Daniel Stenberg [Sat, 30 Sep 2006 20:31:11 +0000 (20:31 +0000)]
Support for FTP third party transfers is now dropped
Daniel Stenberg [Thu, 28 Sep 2006 21:26:06 +0000 (21:26 +0000)]
Reported in #1561470 (curl.haxx.se/bug/view.cgi?id=1561470), libcurl
would crash if a bad function sequence was used when shutting down after
using the multi interface (i.e using easy_cleanup after multi_cleanup) so
precautions have been added to make sure it doesn't any more - test case 529
was added to verify.
Daniel Stenberg [Wed, 27 Sep 2006 21:15:36 +0000 (21:15 +0000)]
added more explanations
Daniel Stenberg [Wed, 27 Sep 2006 21:00:45 +0000 (21:00 +0000)]
As reported in bug: #1566077 the former URL mentioned in the generated cookie
jar has died and we now instead point out our own version of that
Daniel Stenberg [Tue, 26 Sep 2006 10:38:24 +0000 (10:38 +0000)]
Armel Asselin's fix for the RESUME_FROM docu
Yang Tse [Mon, 25 Sep 2006 00:54:32 +0000 (00:54 +0000)]
Compiler warning fix
Yang Tse [Mon, 25 Sep 2006 00:16:23 +0000 (00:16 +0000)]
Compiler warning fix
Yang Tse [Mon, 25 Sep 2006 00:05:39 +0000 (00:05 +0000)]
Compiler warning fix
Yang Tse [Sun, 24 Sep 2006 23:55:53 +0000 (23:55 +0000)]
Compiler warning fix
Daniel Stenberg [Sun, 24 Sep 2006 22:03:01 +0000 (22:03 +0000)]
Bernard Leak fixed configure --with-gssapi-libs
Daniel Stenberg [Sun, 24 Sep 2006 10:41:00 +0000 (10:41 +0000)]
Cory Nelson made libcurl use the WSAPoll() function if built for Windows
Vista (_WIN32_WINNT >= 0x0600)
Daniel Stenberg [Sun, 24 Sep 2006 10:33:25 +0000 (10:33 +0000)]
eeep, tab completion error
Daniel Stenberg [Sun, 24 Sep 2006 10:30:40 +0000 (10:30 +0000)]
--ftp-ssl-control requires SSL/TLS, it does not "try" it
Daniel Stenberg [Sun, 24 Sep 2006 10:30:02 +0000 (10:30 +0000)]
allow user in passwd state for test 280 to work (--ftp-alternative-to-user)
Daniel Stenberg [Sat, 23 Sep 2006 20:50:44 +0000 (20:50 +0000)]
updated numbers
Daniel Stenberg [Sat, 23 Sep 2006 20:46:07 +0000 (20:46 +0000)]
minor edits
Daniel Stenberg [Sat, 23 Sep 2006 20:39:34 +0000 (20:39 +0000)]
filled in some docs for the FTP server control commands
Daniel Stenberg [Sat, 23 Sep 2006 20:39:15 +0000 (20:39 +0000)]
added simple test of --ftp-alternative-to-user
Daniel Stenberg [Sat, 23 Sep 2006 20:25:45 +0000 (20:25 +0000)]
--ftp-alternative-to-user was missing in the help text
Daniel Stenberg [Sat, 23 Sep 2006 19:37:23 +0000 (19:37 +0000)]
Mike Protts added --ftp-ssl-control to make curl use FTP-SSL, but only
encrypt the control connection and use the data connection "plain".
Daniel Stenberg [Sat, 23 Sep 2006 19:09:39 +0000 (19:09 +0000)]
standard curl source code headers
Daniel Stenberg [Sat, 23 Sep 2006 19:07:20 +0000 (19:07 +0000)]
Dmitriy Sergeyev provided a patch that made the SOCKS[45] code work better as
it now will read the full data sent from servers. The SOCKS-related code was
also moved to the new lib/socks.c source file.
Dan Fandrich [Thu, 21 Sep 2006 22:15:05 +0000 (22:15 +0000)]
-z works on FTP, too
Daniel Stenberg [Thu, 21 Sep 2006 20:52:58 +0000 (20:52 +0000)]
(FTP) a failed upload does not invalidate the control connection
Daniel Stenberg [Thu, 21 Sep 2006 20:52:20 +0000 (20:52 +0000)]
Added test case 531 in an attempt to repeat bug report #1561470
(http://curl.haxx.se/bug/view.cgi?id=1561470) that is said to crash when an
FTP upload fails with the multi interface. It did not, but I made a failed
upload still assume the control connection to be fine.
Daniel Stenberg [Thu, 21 Sep 2006 11:09:54 +0000 (11:09 +0000)]
Extended the explanation for CURLM_CALL_MULTI_PERFORM somewhat.
Daniel Stenberg [Wed, 20 Sep 2006 21:49:41 +0000 (21:49 +0000)]
Armel Asselin fixed problems when you gave a proxy URL with user name and
empty password or no password at all. Test case 278 and 279 were added to
verify.
Daniel Stenberg [Wed, 20 Sep 2006 13:09:27 +0000 (13:09 +0000)]
lots of "HTTPS" features are really "SSL" ones as they are also valid for
FTPS
Daniel Stenberg [Wed, 20 Sep 2006 12:03:50 +0000 (12:03 +0000)]
Michael Wallner's test program again help me track down a problem. This time
it basically was that we didn't remove the current connection from the pipe
list when following a redirect. Also in this commit: several cases of
additional debug code for debug builds helping to check and track down some
signs of run-time trouble.
Daniel Stenberg [Wed, 20 Sep 2006 11:35:13 +0000 (11:35 +0000)]
PEM is default type for key and cert
Daniel Stenberg [Sat, 16 Sep 2006 21:50:29 +0000 (21:50 +0000)]
Resize the connection cache upwards when adding more handles than what
currently fits in the cache, to make the cache work better especially for
pipelining cases but also for "mere" (persistent) connection re-use.
Daniel Stenberg [Sat, 16 Sep 2006 20:57:59 +0000 (20:57 +0000)]
Armel Asselin - When the easy handle is removed from the multi while libcurl
is still trying to resolve the host name, it seems that the ftp struct is not
yet initialized, but the removal action calls Curl_done() which calls
Curl_ftp_done. So we simply return success from there if no ftp pointer is
set.
Daniel Stenberg [Fri, 15 Sep 2006 08:47:55 +0000 (08:47 +0000)]
file-local function should be static and not use Curl_ prefix!
Curl_signalPipeClose is now signalPipeClose().
Gisle Vanem [Wed, 13 Sep 2006 13:51:03 +0000 (13:51 +0000)]
Use CSOURCES as other makefiles. Add line for dependency generation.
Gisle Vanem [Wed, 13 Sep 2006 13:41:53 +0000 (13:41 +0000)]
'in6addr_any' must be placed in .c-file. Added 'REAL_WIN32' for
all Win32 targets except CygWin. Cleanup.
Yang Tse [Wed, 13 Sep 2006 12:42:12 +0000 (12:42 +0000)]
Compiler warning fix
Daniel Stenberg [Wed, 13 Sep 2006 10:48:03 +0000 (10:48 +0000)]
nicer reporting of disabled tests
Daniel Stenberg [Wed, 13 Sep 2006 10:18:01 +0000 (10:18 +0000)]
added CVS id and clarified the comment lines
Daniel Stenberg [Wed, 13 Sep 2006 10:16:36 +0000 (10:16 +0000)]
Added a generic way to disable test cases when "all" is run, and added the
FTP 3rd party transfers to that file for now until I have them sorted out.
Yang Tse [Wed, 13 Sep 2006 01:35:28 +0000 (01:35 +0000)]
Fix error introduced in file version 1.369
Yang Tse [Tue, 12 Sep 2006 23:51:01 +0000 (23:51 +0000)]
Compiler warning fix
Daniel Stenberg [Tue, 12 Sep 2006 11:31:34 +0000 (11:31 +0000)]
stuff we do
Daniel Stenberg [Tue, 12 Sep 2006 11:25:00 +0000 (11:25 +0000)]
hiperfifo.c by Jeff Pohlmeyer
Daniel Stenberg [Tue, 12 Sep 2006 09:39:16 +0000 (09:39 +0000)]
pipelining support is added now
Daniel Stenberg [Tue, 12 Sep 2006 07:54:55 +0000 (07:54 +0000)]
example code by Michael Wallner
Daniel Stenberg [Tue, 12 Sep 2006 06:28:34 +0000 (06:28 +0000)]
corrected URL
Daniel Stenberg [Tue, 12 Sep 2006 06:14:10 +0000 (06:14 +0000)]
so it seems SOCKS5 too (still) has problems with connect timeouts
Yang Tse [Tue, 12 Sep 2006 01:17:16 +0000 (01:17 +0000)]
Cygwin preprocessor adjustments
Daniel Stenberg [Mon, 11 Sep 2006 20:50:58 +0000 (20:50 +0000)]
If the current connection doesn't fit to get added to the connection cache,
we certainly MUST NOT kill an active connection... Problem tracked down thanks
to Michael Wallner's excellent test program.
Daniel Stenberg [Mon, 11 Sep 2006 20:25:13 +0000 (20:25 +0000)]
- Guilherme Balena Versiani: I noted a strange BUG in Win32 port
(ares_init.c/get_iphlpapi_dns_info() function): when I disable the network
by hand or disconnect the network cable in Windows 2000 or Windows XP, my
application gets 127.0.0.1 as the only name server. The problem comes from
'GetNetworkParams' function, that returns the empty string "" as the only
name server in that case. Moreover, the Windows implementation of
inet_addr() returns INADDR_LOOPBACK instead of INADDR_NONE.
Daniel Stenberg [Mon, 11 Sep 2006 17:18:18 +0000 (17:18 +0000)]
- Fixed my breakage from earlier today so that doing curl_easy_cleanup() on a
handle that is part of a multi handle first removes the handle from the
stack.
- Added CURLOPT_SSL_SESSIONID_CACHE and --no-sessionid to disable SSL
session-ID re-use on demand since there obviously are broken servers out
there that misbehave with session-IDs used.
Daniel Stenberg [Mon, 11 Sep 2006 11:25:47 +0000 (11:25 +0000)]
stupid mistake rectified by Jeff Pohlmeyer
Yang Tse [Sun, 10 Sep 2006 23:45:54 +0000 (23:45 +0000)]
Compiler warning fix
Yang Tse [Sun, 10 Sep 2006 23:37:42 +0000 (23:37 +0000)]
Compiler warning fix
Daniel Stenberg [Sun, 10 Sep 2006 22:15:57 +0000 (22:15 +0000)]
curl_multi_socket() fix thanks to Jeff's test code
Daniel Stenberg [Sun, 10 Sep 2006 22:15:32 +0000 (22:15 +0000)]
Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a
problem with it (SIGSEGV-style). It clearly showed that the existing
socket-state and state-difference function wasn't good enough so I rewrote
it and could then re-run Jeff's program without any crash. The previous
version clearly could miss to tell the application when a handle changed
from using one socket to using another.
While I was at it (as I could use this as a means to track this problem
down), I've now added a 'magic' number to the easy handle struct that is
inited at curl_easy_init() time and cleared at curl_easy_cleanup() time that
we can use internally to detect that an easy handle seems to be fine, or at
least not closed or freed (freeing in debug builds fill the area with 0x13
bytes but in normal builds we can of course not assume any particular data
in the freed areas).
Daniel Stenberg [Sun, 10 Sep 2006 22:12:24 +0000 (22:12 +0000)]
Added a useful debug function within #if 0. The function makes it easy to
"dump" a hash table which is useful when tracking problems with data stored
in one of our hashes.
Gisle Vanem [Sun, 10 Sep 2006 19:01:04 +0000 (19:01 +0000)]
Added select_test() function to allow selecting on no sockets on
Winsock.
Gisle Vanem [Sat, 9 Sep 2006 19:13:13 +0000 (19:13 +0000)]
SIGALARM -> SIGALRM.
Gisle Vanem [Sat, 9 Sep 2006 19:11:54 +0000 (19:11 +0000)]
#ifdef around alarmfunc() to supress warning.
Gisle Vanem [Sat, 9 Sep 2006 18:23:29 +0000 (18:23 +0000)]
iconv-data needs to be fully reallocated (to prevent a double-free).
Gisle Vanem [Sat, 9 Sep 2006 16:55:21 +0000 (16:55 +0000)]
Print usage in case 'arg2 == NULL'.
Gisle Vanem [Sat, 9 Sep 2006 16:36:05 +0000 (16:36 +0000)]
Duplicate iconv-data too in curl_easy_duphandle().
Yang Tse [Sat, 9 Sep 2006 13:24:42 +0000 (13:24 +0000)]
Compiler warning fix
Daniel Stenberg [Sat, 9 Sep 2006 11:45:27 +0000 (11:45 +0000)]
Michele Bini fixed how the hostname is put in NTLM packages. As servers
don't expect fully qualified names we need to cut them off at the first dot.
Daniel Stenberg [Sat, 9 Sep 2006 11:45:05 +0000 (11:45 +0000)]
tab => space
Daniel Stenberg [Fri, 8 Sep 2006 22:17:39 +0000 (22:17 +0000)]
Peter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some
of them can be completetly removed though...
Gisle Vanem [Fri, 8 Sep 2006 13:06:41 +0000 (13:06 +0000)]
signal() returns 'void (*)(int)'.
Daniel Stenberg [Fri, 8 Sep 2006 12:46:41 +0000 (12:46 +0000)]
Mention that CURLOPT_MAX_RECV/SEND* were added in 7.15.5
Gisle Vanem [Fri, 8 Sep 2006 12:17:58 +0000 (12:17 +0000)]
Update comment reflecting structure change.
Daniel Stenberg [Fri, 8 Sep 2006 12:03:55 +0000 (12:03 +0000)]
removed the comment that isn't valid for this file, just a copy'n paste error