platform/upstream/curl.git
17 years agoused for test 535 too
Daniel Stenberg [Mon, 9 Oct 2006 21:26:09 +0000 (21:26 +0000)]
used for test 535 too

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

17 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

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

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

17 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

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

17 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.

17 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.

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

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

17 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...

17 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

17 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)

17 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

17 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.

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

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

17 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

17 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.

17 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

17 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

17 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.

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

17 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

17 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

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

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

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

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

17 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

17 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)

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

17 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

17 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)

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

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

17 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

17 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

17 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

17 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".

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

17 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.

17 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

17 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

17 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.

17 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.

17 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.

17 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

17 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.

17 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

17 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.

17 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.

17 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().

17 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.

17 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.

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

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

17 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

17 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.

17 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

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

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

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

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

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

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

17 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

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

17 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.

17 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.

17 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.

17 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

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

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

17 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

17 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).

17 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.

17 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.

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

17 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.

17 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).

17 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'.

17 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().

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

17 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.

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

17 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...

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

17 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

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

17 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

17 years agoCompilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.
Gisle Vanem [Fri, 8 Sep 2006 12:03:39 +0000 (12:03 +0000)]
Compilation fix; 'reqdata' is not a pointer. 'path' is part of SessionHandle.

17 years agotest 530 is the first ever HTTP pipelining test for libcurl
Daniel Stenberg [Fri, 8 Sep 2006 11:56:56 +0000 (11:56 +0000)]
test 530 is the first ever HTTP pipelining test for libcurl

17 years agoCompilation fix
Yang Tse [Fri, 8 Sep 2006 05:18:07 +0000 (05:18 +0000)]
Compilation fix

17 years agoMajor overhaul introducing http pipelining support and shared connection
Daniel Stenberg [Thu, 7 Sep 2006 21:49:20 +0000 (21:49 +0000)]
Major overhaul introducing http pipelining support and shared connection
cache within the multi handle.

17 years agoFix compiler warning
Yang Tse [Thu, 7 Sep 2006 01:18:46 +0000 (01:18 +0000)]
Fix compiler warning

17 years agoInvoke memanalyze from the source path and hush up about killing the FTP
Daniel Stenberg [Wed, 6 Sep 2006 10:03:34 +0000 (10:03 +0000)]
Invoke memanalyze from the source path and hush up about killing the FTP
server as part of test cases

17 years agoadded some fresh new blurb
Daniel Stenberg [Tue, 5 Sep 2006 21:17:04 +0000 (21:17 +0000)]
added some fresh new blurb

17 years agospell fix and added Jari
Daniel Stenberg [Mon, 4 Sep 2006 22:21:32 +0000 (22:21 +0000)]
spell fix and added Jari