platform/upstream/curl.git
18 years agoHere's an effort to avoid saying 'data not shown' in the debug parts when the
Daniel Stenberg [Thu, 19 Oct 2006 14:28:50 +0000 (14:28 +0000)]
Here's an effort to avoid saying 'data not shown' in the debug parts when the
data is actually shown on screen. Like when you do 'curl -v host' with data
and debug info sent to the same terminal.

18 years agoBuilds using synchronous name resolver dislike marking the connection as async.
Yang Tse [Thu, 19 Oct 2006 02:30:02 +0000 (02:30 +0000)]
Builds using synchronous name resolver dislike marking the connection as async.

18 years agoSync with lib/setup_once.h
Yang Tse [Wed, 18 Oct 2006 21:25:12 +0000 (21:25 +0000)]
Sync with lib/setup_once.h

18 years agoCheck for USE_WINSOCK instead of WIN32 where the check was done
Yang Tse [Wed, 18 Oct 2006 21:05:40 +0000 (21:05 +0000)]
Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.

18 years agoIntroduce symbol USE_WINSOCK which will be defined when
Yang Tse [Wed, 18 Oct 2006 15:57:49 +0000 (15:57 +0000)]
Introduce symbol USE_WINSOCK which will be defined when
using winsock or winsock2 API.

18 years agothe expire timer is a bit too annoying to see all the time ;-)
Daniel Stenberg [Wed, 18 Oct 2006 15:11:24 +0000 (15:11 +0000)]
the expire timer is a bit too annoying to see all the time ;-)

18 years agoWhen a connection is re-used, it can be flagged for re-use before the name
Daniel Stenberg [Wed, 18 Oct 2006 15:10:49 +0000 (15:10 +0000)]
When a connection is re-used, it can be flagged for re-use before the name
resolving is completed so we must make sure to survive it and mark the
connection as async (ie not yet connected completely).

18 years agouse the return code from lseek() to detect problems and bail out if so
Daniel Stenberg [Wed, 18 Oct 2006 14:47:58 +0000 (14:47 +0000)]
use the return code from lseek() to detect problems and bail out if so

18 years agoAdded ISPRINT() required for src/main.c.
Gisle Vanem [Wed, 18 Oct 2006 13:50:23 +0000 (13:50 +0000)]
Added ISPRINT() required for src/main.c.

18 years agoTor's spell fixes
Daniel Stenberg [Wed, 18 Oct 2006 12:59:02 +0000 (12:59 +0000)]
Tor's spell fixes

18 years agochanges done the last few days
Daniel Stenberg [Wed, 18 Oct 2006 11:13:56 +0000 (11:13 +0000)]
changes done the last few days

18 years agocut out matching host names starting with telnet or ftps, since they hardly
Daniel Stenberg [Wed, 18 Oct 2006 11:13:39 +0000 (11:13 +0000)]
cut out matching host names starting with telnet or ftps, since they hardly
ever actually are used

18 years agothe "work in progress" for #25 was ditched a long time ago
Daniel Stenberg [Wed, 18 Oct 2006 07:53:24 +0000 (07:53 +0000)]
the "work in progress" for #25 was ditched a long time ago

18 years agoReplace is*() macros with our own IS*() ones.
Yang Tse [Wed, 18 Oct 2006 03:42:06 +0000 (03:42 +0000)]
Replace is*() macros with our own IS*() ones.
Get rid of non ANSI/ISO isascii().

18 years agoMove definition of IS*() macros to setup_once.h
Yang Tse [Wed, 18 Oct 2006 03:41:19 +0000 (03:41 +0000)]
Move definition of IS*() macros to setup_once.h

18 years agoFixed compile error in HAVE_SIGACTION case.
Dan Fandrich [Tue, 17 Oct 2006 21:45:37 +0000 (21:45 +0000)]
Fixed compile error in HAVE_SIGACTION case.

18 years agoAvoid typecasting a signed char to an int when using is*() functions, as that
Daniel Stenberg [Tue, 17 Oct 2006 21:32:56 +0000 (21:32 +0000)]
Avoid typecasting a signed char to an int when using is*() functions, as that
could very well cause a negate number get passed in and thus cause reading
outside of the array usually used for this purpose.

We avoid this by using the uppercase macro versions introduced just now that
does some extra crazy typecasts to avoid byte codes > 127 to cause negative
int values.

18 years agoclear the struct size not the pointer size, pointed out in bug report
Daniel Stenberg [Tue, 17 Oct 2006 20:34:11 +0000 (20:34 +0000)]
clear the struct size not the pointer size, pointed out in bug report
#1579171

18 years agobuildconf already runs ares/buildconf by itself if there is an ares subdir
Daniel Stenberg [Tue, 17 Oct 2006 11:46:42 +0000 (11:46 +0000)]
buildconf already runs ares/buildconf by itself if there is an ares subdir
present, so there's no use to doing it again in this script!

18 years agoExplicit typecast for Curl_debug() size argument
Yang Tse [Tue, 17 Oct 2006 10:04:13 +0000 (10:04 +0000)]
Explicit typecast for Curl_debug() size argument

18 years agoTypo
Yang Tse [Tue, 17 Oct 2006 09:07:38 +0000 (09:07 +0000)]
Typo

18 years agomake the low_speed check set the expire timer so that it has a chance to work
Daniel Stenberg [Tue, 17 Oct 2006 09:05:44 +0000 (09:05 +0000)]
make the low_speed check set the expire timer so that it has a chance to work
even when using curl_multi_socket() or even using the multi_perform() when
relying on multi_timeout() to be good.

18 years agoPlease welcome our new haxx.se curl mirror, for really fast Swedish access.
Daniel Stenberg [Tue, 17 Oct 2006 08:07:48 +0000 (08:07 +0000)]
Please welcome our new haxx.se curl mirror, for really fast Swedish access.

18 years agoJeff helped me pinpoint that we didn't properly set the expire timer during
Daniel Stenberg [Tue, 17 Oct 2006 08:06:27 +0000 (08:06 +0000)]
Jeff helped me pinpoint that we didn't properly set the expire timer during
c-ares name resolves, but now we do!

18 years agofix the name resolve abort timeout calculation (when signals are used)
Daniel Stenberg [Tue, 17 Oct 2006 08:05:41 +0000 (08:05 +0000)]
fix the name resolve abort timeout calculation (when signals are used)

18 years agoCompiler warning fix
Yang Tse [Tue, 17 Oct 2006 02:31:06 +0000 (02:31 +0000)]
Compiler warning fix

18 years agoAdded a check in configure that simply tries to run a program (not when
Daniel Stenberg [Mon, 16 Oct 2006 08:30:54 +0000 (08:30 +0000)]
Added a check in configure that simply tries to run a program (not when
cross-compiling) in order to detect problems with run-time libraries that
otherwise would occur when the sizeof tests for curl_off_t would run and
thus be much more confusing to users. The check of course should run after
all lib-checks are done and before any other test is used that would run an
executable built for testing-purposes.

18 years agoCompiler warning fix
Yang Tse [Sun, 15 Oct 2006 23:13:12 +0000 (23:13 +0000)]
Compiler warning fix

18 years agoReplace ";;" with ";".
Gisle Vanem [Sun, 15 Oct 2006 20:28:03 +0000 (20:28 +0000)]
Replace ";;" with ";".

18 years agoRearranged target HAVE_x section.
Gisle Vanem [Sun, 15 Oct 2006 19:41:15 +0000 (19:41 +0000)]
Rearranged target HAVE_x section.

18 years agoDeclare our own timeval struct if HAVE_STRUCT_TIMEVAL is not defined
Yang Tse [Sat, 14 Oct 2006 12:02:19 +0000 (12:02 +0000)]
Declare our own timeval struct if HAVE_STRUCT_TIMEVAL is not defined

18 years agoDefine HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
Yang Tse [Sat, 14 Oct 2006 12:01:44 +0000 (12:01 +0000)]
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support

18 years agoPrevent ares_getsock() to overflow if more than 16 sockets are used.
Daniel Stenberg [Fri, 13 Oct 2006 21:25:11 +0000 (21:25 +0000)]
Prevent ares_getsock() to overflow if more than 16 sockets are used.

18 years agoThe tagging of application/x-www-form-urlencoded POST body data sent
Dan Fandrich [Fri, 13 Oct 2006 21:02:27 +0000 (21:02 +0000)]
The tagging of application/x-www-form-urlencoded POST body data sent
to the CURLOPT_DEBUGFUNCTION callback has been fixed (it was erroneously
included as part of the header).  A message was also added to the
command line tool to show when data is being sent, enabled when
--verbose is used.

18 years agoprint the actual (externally known) easy handle and not the internal container
Daniel Stenberg [Fri, 13 Oct 2006 14:54:36 +0000 (14:54 +0000)]
print the actual (externally known) easy handle and not the internal container
for it

18 years agoAdded comments about checking return code and the maxfd counter
Daniel Stenberg [Fri, 13 Oct 2006 14:01:19 +0000 (14:01 +0000)]
Added comments about checking return code and the maxfd counter

18 years agoAdded curl_multi_dump() when built with CURLDEBUG - this is not a stable public
Daniel Stenberg [Fri, 13 Oct 2006 07:11:26 +0000 (07:11 +0000)]
Added curl_multi_dump() when built with CURLDEBUG - this is not a stable public
function, this is only meant to allow easier tracking of the internal handle's
state and what sockets they use. Only for research and development.

18 years agoCheck for struct timeval at configuration time
Yang Tse [Fri, 13 Oct 2006 01:35:14 +0000 (01:35 +0000)]
Check for struct timeval at configuration time

18 years agoghiper now uses the timer callback in the multi interface
Daniel Stenberg [Thu, 12 Oct 2006 21:26:50 +0000 (21:26 +0000)]
ghiper now uses the timer callback in the multi interface

18 years agoavoid an overflow if an excessive amount of servers are used
Daniel Stenberg [Thu, 12 Oct 2006 16:47:50 +0000 (16:47 +0000)]
avoid an overflow if an excessive amount of servers are used

18 years agoclarify more
Daniel Stenberg [Thu, 12 Oct 2006 14:35:20 +0000 (14:35 +0000)]
clarify more

18 years agoStarting now, adding an easy handle to a multi stack that was already added
Daniel Stenberg [Thu, 12 Oct 2006 14:30:47 +0000 (14:30 +0000)]
Starting now, adding an easy handle to a multi stack that was already added
to a multi stack will cause CURLM_BAD_EASY_HANDLE to get returned.

18 years agodeleted #19 since it concerted FTP third party transfers and they are no longer
Daniel Stenberg [Thu, 12 Oct 2006 09:02:46 +0000 (09:02 +0000)]
deleted #19 since it concerted FTP third party transfers and they are no longer
supported

18 years agowe've cut out third party transfers
Daniel Stenberg [Thu, 12 Oct 2006 08:55:01 +0000 (08:55 +0000)]
we've cut out third party transfers

18 years agopoint out the sslcert web page for -k/--insecure
Daniel Stenberg [Thu, 12 Oct 2006 08:52:20 +0000 (08:52 +0000)]
point out the sslcert web page for -k/--insecure

18 years agoJeff Pohlmeyer has been working with the hiperfifo.c example source code,
Daniel Stenberg [Thu, 12 Oct 2006 08:36:47 +0000 (08:36 +0000)]
Jeff Pohlmeyer has been working with the hiperfifo.c example source code,
and while doing so it became apparent that the current timeout system for
the socket API really was a bit awkward since it become quite some work to
be sure we have the correct timeout set.

Jeff then provided the new CURLMOPT_TIMERFUNCTION that is yet another
callback the app can set to get to know when the general timeout time
changes and thus for an application like hiperfifo.c it makes everything a
lot easier and nicer. There's a CURLMOPT_TIMERDATA option too of course in
good old libcurl tradition.

18 years agothe textual arraw for "Send SSL data" was the wrong way
Daniel Stenberg [Thu, 12 Oct 2006 08:14:13 +0000 (08:14 +0000)]
the textual arraw for "Send SSL data" was the wrong way

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