platform/upstream/curl.git
18 years agoInclusion of time header files based on header existance
Yang Tse [Thu, 12 Oct 2006 03:57:33 +0000 (03:57 +0000)]
Inclusion of time header files based on header existance

18 years agoRemove redundant __CYGWIN__ symbol check
Yang Tse [Wed, 11 Oct 2006 16:01:16 +0000 (16:01 +0000)]
Remove redundant __CYGWIN__ symbol check

18 years agoCompiler warning fix
Yang Tse [Tue, 10 Oct 2006 23:58:02 +0000 (23:58 +0000)]
Compiler warning fix

18 years agoCall curl_global_cleanup() in all code paths before exiting test
Yang Tse [Tue, 10 Oct 2006 23:50:37 +0000 (23:50 +0000)]
Call curl_global_cleanup() in all code paths before exiting test

18 years agorepair id string
Daniel Stenberg [Tue, 10 Oct 2006 19:48:24 +0000 (19:48 +0000)]
repair id string

18 years agoAdded ghiper.c, Jeff Pohlmeyer's example code using the curl_multi_socket()
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

18 years agomark the handle as no longer having a broken pipe when a transfer has failed
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

18 years agoAdded test case 536 in an attempt to add Bogdan Nicula's problematic case
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.

18 years agoused for test 535 too
Daniel Stenberg [Mon, 9 Oct 2006 21:26:09 +0000 (21:26 +0000)]
used for test 535 too

18 years agominor indent fix
Daniel Stenberg [Mon, 9 Oct 2006 21:24:50 +0000 (21:24 +0000)]
minor indent fix

18 years agowhen going to completed due to error, mark the handle as not in a pipeline
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

18 years agonew mirrors
Daniel Stenberg [Mon, 9 Oct 2006 21:04:48 +0000 (21:04 +0000)]
new mirrors

18 years agokill trailing whitespace
Daniel Stenberg [Mon, 9 Oct 2006 14:59:53 +0000 (14:59 +0000)]
kill trailing whitespace

18 years agochanged the wording about removal of internal headers with -H
Daniel Stenberg [Mon, 9 Oct 2006 14:54:11 +0000 (14:54 +0000)]
changed the wording about removal of internal headers with -H

18 years agoCompiler warning fix
Yang Tse [Mon, 9 Oct 2006 11:21:40 +0000 (11:21 +0000)]
Compiler warning fix

18 years agoBogdan Nicula's second test case (posted Sun, 08 Oct 2006) converted to test
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.

18 years agoCygwin 1.5.21 needs this hack to pass test 160.
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.

18 years agoslightly improved
Daniel Stenberg [Sun, 8 Oct 2006 22:19:25 +0000 (22:19 +0000)]
slightly improved

18 years agoclarified more
Daniel Stenberg [Sun, 8 Oct 2006 21:41:22 +0000 (21:41 +0000)]
clarified more

18 years agotest 534 added in an attempt to repeat Bogdan Nicula's bug...
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...

18 years agomodified lib533 to accept both URLs on the command line
Daniel Stenberg [Sun, 8 Oct 2006 08:50:12 +0000 (08:50 +0000)]
modified lib533 to accept both URLs on the command line

18 years agoFix a "sockfilt" leak. When a new 'data' connection sockfilt server is started,
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)

18 years agodon't display or act on state changes that doesn't actually change state
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

18 years agoBogdan Nicula's hanging test case was converted to test case 533 and the test
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.

18 years agocatch silly mistakes better
Daniel Stenberg [Fri, 6 Oct 2006 21:19:40 +0000 (21:19 +0000)]
catch silly mistakes better

18 years agoupdated for latest OpenSSL release.
Gunter Knauf [Fri, 6 Oct 2006 00:24:25 +0000 (00:24 +0000)]
updated for latest OpenSSL release.

18 years agoplanned stuff to do before release
Daniel Stenberg [Thu, 5 Oct 2006 14:33:23 +0000 (14:33 +0000)]
planned stuff to do before release

18 years agoDmitriy Sergeyev provided an example source code that crashed CVS libcurl
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.

18 years agoremoved more dead code that is unused since the removal of the third party
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

18 years agoSupport for FTP third party transfers is now dropped
Daniel Stenberg [Sat, 30 Sep 2006 20:31:11 +0000 (20:31 +0000)]
Support for FTP third party transfers is now dropped

18 years agoReported in #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470), libcurl
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.

18 years agoadded more explanations
Daniel Stenberg [Wed, 27 Sep 2006 21:15:36 +0000 (21:15 +0000)]
added more explanations

18 years agoAs reported in bug: #1566077 the former URL mentioned in the generated cookie
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

18 years agoArmel Asselin's fix for the RESUME_FROM docu
Daniel Stenberg [Tue, 26 Sep 2006 10:38:24 +0000 (10:38 +0000)]
Armel Asselin's fix for the RESUME_FROM docu

18 years agoCompiler warning fix
Yang Tse [Mon, 25 Sep 2006 00:54:32 +0000 (00:54 +0000)]
Compiler warning fix

18 years agoCompiler warning fix
Yang Tse [Mon, 25 Sep 2006 00:16:23 +0000 (00:16 +0000)]
Compiler warning fix

18 years agoCompiler warning fix
Yang Tse [Mon, 25 Sep 2006 00:05:39 +0000 (00:05 +0000)]
Compiler warning fix

18 years agoCompiler warning fix
Yang Tse [Sun, 24 Sep 2006 23:55:53 +0000 (23:55 +0000)]
Compiler warning fix

18 years agoBernard Leak fixed configure --with-gssapi-libs
Daniel Stenberg [Sun, 24 Sep 2006 22:03:01 +0000 (22:03 +0000)]
Bernard Leak fixed configure --with-gssapi-libs

18 years agoCory Nelson made libcurl use the WSAPoll() function if built for Windows
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)

18 years agoeeep, tab completion error
Daniel Stenberg [Sun, 24 Sep 2006 10:33:25 +0000 (10:33 +0000)]
eeep, tab completion error

18 years ago--ftp-ssl-control requires SSL/TLS, it does not "try" it
Daniel Stenberg [Sun, 24 Sep 2006 10:30:40 +0000 (10:30 +0000)]
--ftp-ssl-control requires SSL/TLS, it does not "try" it

18 years agoallow user in passwd state for test 280 to work (--ftp-alternative-to-user)
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)

18 years agoupdated numbers
Daniel Stenberg [Sat, 23 Sep 2006 20:50:44 +0000 (20:50 +0000)]
updated numbers

18 years agominor edits
Daniel Stenberg [Sat, 23 Sep 2006 20:46:07 +0000 (20:46 +0000)]
minor edits

18 years agofilled in some docs for the FTP server control commands
Daniel Stenberg [Sat, 23 Sep 2006 20:39:34 +0000 (20:39 +0000)]
filled in some docs for the FTP server control commands

18 years agoadded simple test of --ftp-alternative-to-user
Daniel Stenberg [Sat, 23 Sep 2006 20:39:15 +0000 (20:39 +0000)]
added simple test of --ftp-alternative-to-user

18 years ago--ftp-alternative-to-user was missing in the help text
Daniel Stenberg [Sat, 23 Sep 2006 20:25:45 +0000 (20:25 +0000)]
--ftp-alternative-to-user was missing in the help text

18 years agoMike Protts added --ftp-ssl-control to make curl use FTP-SSL, but only
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".

18 years agostandard curl source code headers
Daniel Stenberg [Sat, 23 Sep 2006 19:09:39 +0000 (19:09 +0000)]
standard curl source code headers

18 years agoDmitriy Sergeyev provided a patch that made the SOCKS[45] code work better as
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.

18 years ago-z works on FTP, too
Dan Fandrich [Thu, 21 Sep 2006 22:15:05 +0000 (22:15 +0000)]
-z works on FTP, too

18 years ago(FTP) a failed upload does not invalidate the control connection
Daniel Stenberg [Thu, 21 Sep 2006 20:52:58 +0000 (20:52 +0000)]
(FTP) a failed upload does not invalidate the control connection

18 years agoAdded test case 531 in an attempt to repeat bug report #1561470
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.

18 years agoExtended the explanation for CURLM_CALL_MULTI_PERFORM somewhat.
Daniel Stenberg [Thu, 21 Sep 2006 11:09:54 +0000 (11:09 +0000)]
Extended the explanation for CURLM_CALL_MULTI_PERFORM somewhat.

18 years agoArmel Asselin fixed problems when you gave a proxy URL with user name and
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.

18 years agolots of "HTTPS" features are really "SSL" ones as they are also valid for
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

18 years agoMichael Wallner's test program again help me track down a problem. This time
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.

18 years agoPEM is default type for key and cert
Daniel Stenberg [Wed, 20 Sep 2006 11:35:13 +0000 (11:35 +0000)]
PEM is default type for key and cert

18 years agoResize the connection cache upwards when adding more handles than what
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.

18 years agoArmel Asselin - When the easy handle is removed from the multi while libcurl
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.

18 years agofile-local function should be static and not use Curl_ prefix!
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().

18 years agoUse CSOURCES as other makefiles. Add line for dependency generation.
Gisle Vanem [Wed, 13 Sep 2006 13:51:03 +0000 (13:51 +0000)]
Use CSOURCES as other makefiles. Add line for dependency generation.

18 years ago'in6addr_any' must be placed in .c-file. Added 'REAL_WIN32' for
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.

18 years agoCompiler warning fix
Yang Tse [Wed, 13 Sep 2006 12:42:12 +0000 (12:42 +0000)]
Compiler warning fix

18 years agonicer reporting of disabled tests
Daniel Stenberg [Wed, 13 Sep 2006 10:48:03 +0000 (10:48 +0000)]
nicer reporting of disabled tests

18 years agoadded CVS id and clarified the comment lines
Daniel Stenberg [Wed, 13 Sep 2006 10:18:01 +0000 (10:18 +0000)]
added CVS id and clarified the comment lines

18 years agoAdded a generic way to disable test cases when "all" is run, and added the
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.

18 years agoFix error introduced in file version 1.369
Yang Tse [Wed, 13 Sep 2006 01:35:28 +0000 (01:35 +0000)]
Fix error introduced in file version 1.369

18 years agoCompiler warning fix
Yang Tse [Tue, 12 Sep 2006 23:51:01 +0000 (23:51 +0000)]
Compiler warning fix

18 years agostuff we do
Daniel Stenberg [Tue, 12 Sep 2006 11:31:34 +0000 (11:31 +0000)]
stuff we do

18 years agohiperfifo.c by Jeff Pohlmeyer
Daniel Stenberg [Tue, 12 Sep 2006 11:25:00 +0000 (11:25 +0000)]
hiperfifo.c by Jeff Pohlmeyer

18 years agopipelining support is added now
Daniel Stenberg [Tue, 12 Sep 2006 09:39:16 +0000 (09:39 +0000)]
pipelining support is added now

18 years agoexample code by Michael Wallner
Daniel Stenberg [Tue, 12 Sep 2006 07:54:55 +0000 (07:54 +0000)]
example code by Michael Wallner

18 years agocorrected URL
Daniel Stenberg [Tue, 12 Sep 2006 06:28:34 +0000 (06:28 +0000)]
corrected URL

18 years agoso it seems SOCKS5 too (still) has problems with connect timeouts
Daniel Stenberg [Tue, 12 Sep 2006 06:14:10 +0000 (06:14 +0000)]
so it seems SOCKS5 too (still) has problems with connect timeouts

18 years agoCygwin preprocessor adjustments
Yang Tse [Tue, 12 Sep 2006 01:17:16 +0000 (01:17 +0000)]
Cygwin preprocessor adjustments

18 years agoIf the current connection doesn't fit to get added to the connection cache,
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.

18 years ago- Guilherme Balena Versiani: I noted a strange BUG in Win32 port
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.

18 years ago- Fixed my breakage from earlier today so that doing curl_easy_cleanup() on a
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.

18 years agostupid mistake rectified by Jeff Pohlmeyer
Daniel Stenberg [Mon, 11 Sep 2006 11:25:47 +0000 (11:25 +0000)]
stupid mistake rectified by Jeff Pohlmeyer

18 years agoCompiler warning fix
Yang Tse [Sun, 10 Sep 2006 23:45:54 +0000 (23:45 +0000)]
Compiler warning fix

18 years agoCompiler warning fix
Yang Tse [Sun, 10 Sep 2006 23:37:42 +0000 (23:37 +0000)]
Compiler warning fix

18 years agocurl_multi_socket() fix thanks to Jeff's test code
Daniel Stenberg [Sun, 10 Sep 2006 22:15:57 +0000 (22:15 +0000)]
curl_multi_socket() fix thanks to Jeff's test code

18 years ago Jeff Pohlmeyer presented a *multi_socket()-using program that exposed a
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).

18 years agoAdded a useful debug function within #if 0. The function makes it easy to
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.

18 years agoAdded select_test() function to allow selecting on no sockets on
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.

18 years agoSIGALARM -> SIGALRM.
Gisle Vanem [Sat, 9 Sep 2006 19:13:13 +0000 (19:13 +0000)]
SIGALARM -> SIGALRM.

18 years ago#ifdef around alarmfunc() to supress warning.
Gisle Vanem [Sat, 9 Sep 2006 19:11:54 +0000 (19:11 +0000)]
#ifdef around alarmfunc() to supress warning.

18 years agoiconv-data needs to be fully reallocated (to prevent a double-free).
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).

18 years agoPrint usage in case 'arg2 == NULL'.
Gisle Vanem [Sat, 9 Sep 2006 16:55:21 +0000 (16:55 +0000)]
Print usage in case 'arg2 == NULL'.

18 years agoDuplicate iconv-data too in curl_easy_duphandle().
Gisle Vanem [Sat, 9 Sep 2006 16:36:05 +0000 (16:36 +0000)]
Duplicate iconv-data too in curl_easy_duphandle().

18 years agoCompiler warning fix
Yang Tse [Sat, 9 Sep 2006 13:24:42 +0000 (13:24 +0000)]
Compiler warning fix

18 years agoMichele Bini fixed how the hostname is put in NTLM packages. As servers
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.

18 years agotab => space
Daniel Stenberg [Sat, 9 Sep 2006 11:45:05 +0000 (11:45 +0000)]
tab => space

18 years agoPeter Sylvester cleaned up and fixed the getsockname() uses in ftp.c. Some
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...

18 years agosignal() returns 'void (*)(int)'.
Gisle Vanem [Fri, 8 Sep 2006 13:06:41 +0000 (13:06 +0000)]
signal() returns 'void (*)(int)'.

18 years agoMention that CURLOPT_MAX_RECV/SEND* were added in 7.15.5
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

18 years agoUpdate comment reflecting structure change.
Gisle Vanem [Fri, 8 Sep 2006 12:17:58 +0000 (12:17 +0000)]
Update comment reflecting structure change.

18 years agoremoved the comment that isn't valid for this file, just a copy'n paste error
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