platform/upstream/curl.git
20 years agonew test case for a simple curl_easy_duphandle() test
Daniel Stenberg [Thu, 29 Apr 2004 10:56:22 +0000 (10:56 +0000)]
new test case for a simple curl_easy_duphandle() test

20 years agoupdated to work with the new Digest code
Daniel Stenberg [Thu, 29 Apr 2004 10:47:13 +0000 (10:47 +0000)]
updated to work with the new Digest code

20 years agoLuca Altea's major HTTP Digest update
Daniel Stenberg [Thu, 29 Apr 2004 08:18:32 +0000 (08:18 +0000)]
Luca Altea's major HTTP Digest update

20 years agoGisle made the code use ERR_error_string_n()
Daniel Stenberg [Thu, 29 Apr 2004 07:36:40 +0000 (07:36 +0000)]
Gisle made the code use ERR_error_string_n()

20 years agothe new way of accessing the host name
Daniel Stenberg [Wed, 28 Apr 2004 20:34:04 +0000 (20:34 +0000)]
the new way of accessing the host name

20 years agoAdded LICENSE-MIXING to the release archive
Daniel Stenberg [Tue, 27 Apr 2004 18:31:35 +0000 (18:31 +0000)]
Added LICENSE-MIXING to the release archive

20 years agoIDN: Gisle Vanem made the win32 version handle a missing CHARSET environment
Daniel Stenberg [Tue, 27 Apr 2004 15:19:28 +0000 (15:19 +0000)]
IDN: Gisle Vanem made the win32 version handle a missing CHARSET environment
and then figure it out with a suitable windows call.

20 years agooutputed elsewhere already
Daniel Stenberg [Tue, 27 Apr 2004 15:13:46 +0000 (15:13 +0000)]
outputed elsewhere already

20 years agoidn stuff in code and configure script
Daniel Stenberg [Tue, 27 Apr 2004 14:22:58 +0000 (14:22 +0000)]
idn stuff in code and configure script

20 years agowe released yesterday, we have heaps of new stuff today! :-)
Daniel Stenberg [Tue, 27 Apr 2004 14:22:40 +0000 (14:22 +0000)]
we released yesterday, we have heaps of new stuff today! :-)

20 years agoprovide our own inet_ntoa_r() proto if the system has none on its own
Daniel Stenberg [Tue, 27 Apr 2004 14:17:36 +0000 (14:17 +0000)]
provide our own inet_ntoa_r() proto if the system has none on its own

20 years agoMade host name and proxy name get stored in a 'struct hostname' and set
Daniel Stenberg [Tue, 27 Apr 2004 13:56:23 +0000 (13:56 +0000)]
Made host name and proxy name get stored in a 'struct hostname' and set
all things up to work with encoded host names internally, as well as keeping
'display names' to show in debug messages. IDN resolves work for me now using
ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.

20 years agowithout-libidn works too now
Daniel Stenberg [Tue, 27 Apr 2004 12:08:53 +0000 (12:08 +0000)]
without-libidn works too now

20 years agohugehelp.c fix, without-ssl fix
Daniel Stenberg [Tue, 27 Apr 2004 11:16:46 +0000 (11:16 +0000)]
hugehelp.c fix, without-ssl fix

20 years agomake the loop use a fixed number of attempts to prevent eternal loops
Daniel Stenberg [Tue, 27 Apr 2004 10:59:43 +0000 (10:59 +0000)]
make the loop use a fixed number of attempts to prevent eternal loops

20 years agoadded curl_*_strerror
Daniel Stenberg [Tue, 27 Apr 2004 07:05:40 +0000 (07:05 +0000)]
added curl_*_strerror

20 years agoadded doctype tag to get HTML compliant
Daniel Stenberg [Tue, 27 Apr 2004 07:05:22 +0000 (07:05 +0000)]
added doctype tag to get HTML compliant

20 years agoWe now make sure to only scan for SSL options with pkg-config if we haven't
Daniel Stenberg [Mon, 26 Apr 2004 22:13:36 +0000 (22:13 +0000)]
We now make sure to only scan for SSL options with pkg-config if we haven't
disabled SSL with --without-ssl. This previously made the Makefiles use
the SSL libs even though told not to.

20 years agoInclude "setup.h" and not "config.h" since setup.h is made to include
Daniel Stenberg [Mon, 26 Apr 2004 21:15:48 +0000 (21:15 +0000)]
Include "setup.h" and not "config.h" since setup.h is made to include
the correct config.h for the platform, and when this is done the USE_MANUAL
define is properly known.

20 years agomy nroff 1.18.1 complained the URL as it contains a nroff combo somehow
Daniel Stenberg [Mon, 26 Apr 2004 21:12:10 +0000 (21:12 +0000)]
my nroff 1.18.1 complained the URL as it contains a nroff combo somehow
and when I modified it slightly the warning dissappeared...

20 years agooops, .obj not .c!
Daniel Stenberg [Mon, 26 Apr 2004 20:41:33 +0000 (20:41 +0000)]
oops, .obj not .c!

20 years agoimproved libidn detection to correct the false positives we got
Daniel Stenberg [Mon, 26 Apr 2004 15:31:43 +0000 (15:31 +0000)]
improved libidn detection to correct the false positives we got

20 years agomade the verbose connect use the proper host name string even when using
Daniel Stenberg [Mon, 26 Apr 2004 15:19:55 +0000 (15:19 +0000)]
made the verbose connect use the proper host name string even when using
a proxy

20 years agoNI_MAXHOST is not generally available, we use plain 256 bytes for the hostname
Daniel Stenberg [Mon, 26 Apr 2004 15:14:19 +0000 (15:14 +0000)]
NI_MAXHOST is not generally available, we use plain 256 bytes for the hostname
instead, its only for debug verbose output anyway

20 years agocorrected mistake
Daniel Stenberg [Mon, 26 Apr 2004 15:11:56 +0000 (15:11 +0000)]
corrected mistake

20 years agoGisle fixed a mistaken check
Daniel Stenberg [Mon, 26 Apr 2004 14:18:42 +0000 (14:18 +0000)]
Gisle fixed a mistaken check

20 years agoMade defines instead of plain numbers for the Curl_resolv() return code to
Daniel Stenberg [Mon, 26 Apr 2004 14:18:00 +0000 (14:18 +0000)]
Made defines instead of plain numbers for the Curl_resolv() return code to
make the code easier to read

20 years agotypedef CURL in the curl.h file instead of only having a single useful typedef
Daniel Stenberg [Mon, 26 Apr 2004 14:06:51 +0000 (14:06 +0000)]
typedef CURL in the curl.h file instead of only having a single useful typedef
in the separate types.h

20 years agoIDN adjustments and host cleanups by Gisle
Daniel Stenberg [Mon, 26 Apr 2004 14:03:25 +0000 (14:03 +0000)]
IDN adjustments and host cleanups by Gisle

20 years agono longer include curl/types.h, it serves no purpose
Daniel Stenberg [Mon, 26 Apr 2004 14:02:51 +0000 (14:02 +0000)]
no longer include curl/types.h, it serves no purpose

20 years agoignore the curl/types.h header file
Daniel Stenberg [Mon, 26 Apr 2004 14:02:01 +0000 (14:02 +0000)]
ignore the curl/types.h header file

20 years agoMoved down the ares check again to the bottom of the script since it
Daniel Stenberg [Mon, 26 Apr 2004 13:42:39 +0000 (13:42 +0000)]
Moved down the ares check again to the bottom of the script since it
modified the compiler and link options so nothing can be tested for after
this check, as the c-ares lib might not have been built yet!

20 years agoadded the new files to the build
Daniel Stenberg [Mon, 26 Apr 2004 12:33:14 +0000 (12:33 +0000)]
added the new files to the build

20 years ago"configure summary"
Daniel Stenberg [Mon, 26 Apr 2004 12:29:30 +0000 (12:29 +0000)]
"configure summary"

20 years agoRemoved the FTPS test cases, they only annoy us as they don't work for anyone
Daniel Stenberg [Mon, 26 Apr 2004 12:04:34 +0000 (12:04 +0000)]
Removed the FTPS test cases, they only annoy us as they don't work for anyone
anywhere. We need to write a better ftps-server for test purposes and then
we can re-introduced FTPS tests.

20 years agoCurl_ip2addr() now takes an in_addr_t argument instead to prevent compiler
Daniel Stenberg [Mon, 26 Apr 2004 12:02:33 +0000 (12:02 +0000)]
Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler
warnings

20 years agoremoved assignment of variable never used
Daniel Stenberg [Mon, 26 Apr 2004 11:56:05 +0000 (11:56 +0000)]
removed assignment of variable never used

20 years agoTor Arntsen fixed a 'Statement not reachable'-warning
Daniel Stenberg [Mon, 26 Apr 2004 11:52:43 +0000 (11:52 +0000)]
Tor Arntsen fixed a 'Statement not reachable'-warning

20 years agoKim Karlsson pointed out that error 57 was wrongly documented
Daniel Stenberg [Mon, 26 Apr 2004 09:28:02 +0000 (09:28 +0000)]
Kim Karlsson pointed out that error 57 was wrongly documented

20 years agoTommyTam made a patch to handle stdin redirection for win32.
Daniel Stenberg [Mon, 26 Apr 2004 07:50:51 +0000 (07:50 +0000)]
TommyTam made a patch to handle stdin redirection for win32.

20 years agosome fixed, one removed, edited some. 7.12.0 in progress.
Daniel Stenberg [Mon, 26 Apr 2004 07:47:16 +0000 (07:47 +0000)]
some fixed, one removed, edited some. 7.12.0 in progress.

20 years agothe recent commits explained
Daniel Stenberg [Mon, 26 Apr 2004 07:26:16 +0000 (07:26 +0000)]
the recent commits explained

20 years agoMajor hostip.c cleanup and split into multiple files and easier #ifdef
Daniel Stenberg [Mon, 26 Apr 2004 07:20:11 +0000 (07:20 +0000)]
Major hostip.c cleanup and split into multiple files and easier #ifdef
usage.

20 years agosupports showing "IDN" as a libcurl feature, now outputs the features
Daniel Stenberg [Mon, 26 Apr 2004 07:14:47 +0000 (07:14 +0000)]
supports showing "IDN" as a libcurl feature, now outputs the features
in alphabetical order

20 years agoadded libidn awareness
Daniel Stenberg [Mon, 26 Apr 2004 07:14:08 +0000 (07:14 +0000)]
added libidn awareness

20 years agoadded many comments
Daniel Stenberg [Mon, 26 Apr 2004 07:12:52 +0000 (07:12 +0000)]
added many comments

20 years agomajor update of the error strings
Daniel Stenberg [Mon, 26 Apr 2004 07:12:29 +0000 (07:12 +0000)]
major update of the error strings

20 years agoadded comments
Daniel Stenberg [Mon, 26 Apr 2004 07:11:39 +0000 (07:11 +0000)]
added comments

20 years agoadded function headers and comments
Daniel Stenberg [Mon, 26 Apr 2004 07:11:06 +0000 (07:11 +0000)]
added function headers and comments

20 years ago--with-libidn[=PATH] is now supported
Daniel Stenberg [Mon, 26 Apr 2004 07:08:36 +0000 (07:08 +0000)]
--with-libidn[=PATH] is now supported

20 years agothe next release is planned to become 7.12.0
Daniel Stenberg [Mon, 26 Apr 2004 07:04:40 +0000 (07:04 +0000)]
the next release is planned to become 7.12.0

20 years agostart all over again
Daniel Stenberg [Mon, 26 Apr 2004 07:03:51 +0000 (07:03 +0000)]
start all over again

20 years ago7.11.2 coming today
Daniel Stenberg [Mon, 26 Apr 2004 06:05:49 +0000 (06:05 +0000)]
7.11.2 coming today

20 years agoupdated the warning text when SSL is explicitly disabled
Daniel Stenberg [Sun, 25 Apr 2004 15:23:23 +0000 (15:23 +0000)]
updated the warning text when SSL is explicitly disabled

20 years agoUSE_MANUAL is now defined by default
Daniel Stenberg [Sun, 25 Apr 2004 15:21:16 +0000 (15:21 +0000)]
USE_MANUAL is now defined by default

20 years agomoved older changes to the CHANGES.2003 file
Daniel Stenberg [Sun, 25 Apr 2004 08:33:06 +0000 (08:33 +0000)]
moved older changes to the CHANGES.2003 file

20 years agodisable-manual
Daniel Stenberg [Sun, 25 Apr 2004 08:19:55 +0000 (08:19 +0000)]
disable-manual

20 years agomake the generated hugehelp.c file use the USE_MANUAL define so that it
Daniel Stenberg [Sun, 25 Apr 2004 08:13:07 +0000 (08:13 +0000)]
make the generated hugehelp.c file use the USE_MANUAL define so that it
will be properly built with configure --disable-manual even if the source
file is already present

20 years agotest164 HTTP range with multiple ranges
Daniel Stenberg [Sat, 24 Apr 2004 09:33:25 +0000 (09:33 +0000)]
test164 HTTP range with multiple ranges

20 years agoremoved a memory leak when doing a windows threaded resolve and it failed
Daniel Stenberg [Fri, 23 Apr 2004 14:10:29 +0000 (14:10 +0000)]
removed a memory leak when doing a windows threaded resolve and it failed

20 years ago Gisle Vanem found and fixed a memory leak when doing (failing) Windows
Daniel Stenberg [Fri, 23 Apr 2004 14:04:30 +0000 (14:04 +0000)]
 Gisle Vanem found and fixed a memory leak when doing (failing) Windows
 threaded name resolves.

20 years agoonly a minor comment/format change
Daniel Stenberg [Fri, 23 Apr 2004 11:00:47 +0000 (11:00 +0000)]
only a minor comment/format change

20 years agoReplaced Curl_FormReadOneLine with Curl_formpostheader as that is the only use
Daniel Stenberg [Fri, 23 Apr 2004 10:37:52 +0000 (10:37 +0000)]
Replaced Curl_FormReadOneLine with Curl_formpostheader as that is the only use
for it. It saves one extra copy of the header.

I also added comments for several functions in formdata.c

20 years ago o --proxy-ntlm now checks if libcurl supports NTLM before using it
Daniel Stenberg [Fri, 23 Apr 2004 08:50:28 +0000 (08:50 +0000)]
 o --proxy-ntlm now checks if libcurl supports NTLM before using it
 o minor --fail with authentication bugfix

20 years ago--proxy-ntlm fix and test case 163
Daniel Stenberg [Fri, 23 Apr 2004 08:47:20 +0000 (08:47 +0000)]
--proxy-ntlm fix and test case 163

20 years agoMade --proxy-ntlm check if the underlying library actually supports NTLM
Daniel Stenberg [Fri, 23 Apr 2004 08:44:27 +0000 (08:44 +0000)]
Made --proxy-ntlm check if the underlying library actually supports NTLM

20 years agominor format fix
Daniel Stenberg [Fri, 23 Apr 2004 08:40:20 +0000 (08:40 +0000)]
minor format fix

20 years agoadded test 163 - a simple test case that use -F field<file, to verify that
Daniel Stenberg [Fri, 23 Apr 2004 08:40:11 +0000 (08:40 +0000)]
added test 163 - a simple test case that use -F field<file, to verify that
we can pass on "odd" characters (newline, CR, tab) like this.

20 years agoNo longer uses the valgrind option '--logfile-fd', we use the --logfile
Daniel Stenberg [Fri, 23 Apr 2004 08:38:43 +0000 (08:38 +0000)]
No longer uses the valgrind option '--logfile-fd', we use the --logfile
option instead (even though it appends the pid to the file name, making it
harder to figure out its name to parse it after a test has run).

Also made sure we only use valgrind for the actual test command command lines,
not when for example running curl to detect if there are any already running
servers are present etc.

20 years agodefine the obsolete options to different values to prevent "duplicate case"
Daniel Stenberg [Fri, 23 Apr 2004 06:29:41 +0000 (06:29 +0000)]
define the obsolete options to different values to prevent "duplicate case"
situtations in bindings that still have switch() cases for them

20 years agorequire SSL as otherwise NTLM doesn't work!
Daniel Stenberg [Fri, 23 Apr 2004 06:04:52 +0000 (06:04 +0000)]
require SSL as otherwise NTLM doesn't work!

20 years agomissing brace
Daniel Stenberg [Thu, 22 Apr 2004 21:27:32 +0000 (21:27 +0000)]
missing brace

20 years agoallow newlines in the contents when doing -F "var=[contents]"
Daniel Stenberg [Thu, 22 Apr 2004 20:09:33 +0000 (20:09 +0000)]
allow newlines in the contents when doing -F "var=[contents]"
Robert Marlow reported.

20 years ago- David Byron found and fixed a small bug with the --fail and authentication
Daniel Stenberg [Thu, 22 Apr 2004 20:07:41 +0000 (20:07 +0000)]
- David Byron found and fixed a small bug with the --fail and authentication
  stuff added a few weeks ago.  Turns out that if you specify --proxy-ntlm and
  communicate with a proxy that requires basic authentication, the proxy
  properly returns a 407, but the failure detection code doesn't realize it
  should give up, so curl returns with exit code 0. Test case 162 verifies
  this.

20 years agoallow newlines in the contents when doing -F "var=[contents]"
Daniel Stenberg [Thu, 22 Apr 2004 15:26:30 +0000 (15:26 +0000)]
allow newlines in the contents when doing -F "var=[contents]"

20 years agoremoved Curl_ftp_quit() as it was turned into a static in ftp.c
Daniel Stenberg [Thu, 22 Apr 2004 13:15:17 +0000 (13:15 +0000)]
removed Curl_ftp_quit() as it was turned into a static in ftp.c

20 years agoIf a transfer is found out to be only partial, libcurl will now treat that
Daniel Stenberg [Thu, 22 Apr 2004 13:10:43 +0000 (13:10 +0000)]
If a transfer is found out to be only partial, libcurl will now treat that
as a problem serious enough to skip the final QUIT command before closing
the control connection. To avoid the risk that it will "hang" waiting for
the QUIT response. Added test case 161 to verify this.

20 years agoIf only a partial file was transfered, we consider that a fatal problem so
Daniel Stenberg [Thu, 22 Apr 2004 13:09:00 +0000 (13:09 +0000)]
If only a partial file was transfered, we consider that a fatal problem so
we won't try to QUIT the control connection and risk "hanging" waiting for
a response. Test case 161 verifies this. The quit-sending function was
also made static.

20 years agoAdded comments
Daniel Stenberg [Thu, 22 Apr 2004 12:35:45 +0000 (12:35 +0000)]
Added comments

20 years agomodified how valgrind is run to make sure that file handle 3 exists when
Daniel Stenberg [Thu, 22 Apr 2004 10:33:55 +0000 (10:33 +0000)]
modified how valgrind is run to make sure that file handle 3 exists when
we tell valgrind to use that to send the logfile to

20 years agodanish mirror
Daniel Stenberg [Thu, 22 Apr 2004 08:54:34 +0000 (08:54 +0000)]
danish mirror

20 years agoGisle's items
Daniel Stenberg [Wed, 21 Apr 2004 19:35:06 +0000 (19:35 +0000)]
Gisle's items

20 years agoinclude unistd.h as well for the close() proto on some platforms (like Tru64)
Daniel Stenberg [Wed, 21 Apr 2004 11:18:42 +0000 (11:18 +0000)]
include unistd.h as well for the close() proto on some platforms (like Tru64)

20 years agotypecast the tolower() argument to an int to prevent compiler warning
Daniel Stenberg [Wed, 21 Apr 2004 11:15:35 +0000 (11:15 +0000)]
typecast the tolower() argument to an int to prevent compiler warning

20 years agotypecast tolower/toupper arguments to int to make picky compilers complain
Daniel Stenberg [Wed, 21 Apr 2004 11:15:02 +0000 (11:15 +0000)]
typecast tolower/toupper arguments to int to make picky compilers complain
less

20 years agotest case 160 "should work" now
Daniel Stenberg [Wed, 21 Apr 2004 08:56:02 +0000 (08:56 +0000)]
test case 160 "should work" now

20 years agoFix the "lingering close" problem when re-using a connection, as test case
Daniel Stenberg [Wed, 21 Apr 2004 08:49:14 +0000 (08:49 +0000)]
Fix the "lingering close" problem when re-using a connection, as test case
160 shows.

We got no data and we attempted to re-use a connection. This might happen if
the connection was left alive when we were done using it before, but that was
closed when we wanted to read from it again. Bad luck. Retry the same request
on a fresh connect!

Deleted the sockerror variable again, it serves no purpose anymore.

20 years agoincrease the headerbytecount for incoming "headers"
Daniel Stenberg [Wed, 21 Apr 2004 08:47:57 +0000 (08:47 +0000)]
increase the headerbytecount for incoming "headers"

20 years agolog the WAIT command
Daniel Stenberg [Wed, 21 Apr 2004 06:56:54 +0000 (06:56 +0000)]
log the WAIT command

20 years agocleanup leftovers
Daniel Stenberg [Tue, 20 Apr 2004 09:46:10 +0000 (09:46 +0000)]
cleanup leftovers

20 years agotest160 - for a more controlled testing of the case where libcurl starts
Daniel Stenberg [Tue, 20 Apr 2004 08:35:37 +0000 (08:35 +0000)]
test160 - for a more controlled testing of the case where libcurl starts
to re-use a connection that is closed when re-used and libcurl should then
make a new fresh connection and use instead

20 years agoCleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
Daniel Stenberg [Tue, 20 Apr 2004 07:53:24 +0000 (07:53 +0000)]
Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
length limit of the hostname part of the URL.

20 years agonew mirror and one that changed domain
Daniel Stenberg [Tue, 20 Apr 2004 07:52:16 +0000 (07:52 +0000)]
new mirror and one that changed domain

20 years agomake the first response get a "connection: close" header as that is how
Daniel Stenberg [Tue, 20 Apr 2004 07:36:09 +0000 (07:36 +0000)]
make the first response get a "connection: close" header as that is how
most 1.1 connections will be closed. The case where it gets closed anyway
is subject for a new separate test.

20 years agochanged the logging to work when the logfile is removed during testing
Daniel Stenberg [Mon, 19 Apr 2004 15:20:30 +0000 (15:20 +0000)]
changed the logging to work when the logfile is removed during testing

20 years agoMake the server include "Connection: close" in the headers of the replies
Daniel Stenberg [Mon, 19 Apr 2004 08:41:36 +0000 (08:41 +0000)]
Make the server include "Connection: close" in the headers of the replies
it actually will close. This is after all what HTTP 1.1 says a server should
do.

20 years agoGisle Vanem corrected a mistake in a recent progress fix
Daniel Stenberg [Mon, 19 Apr 2004 07:18:26 +0000 (07:18 +0000)]
Gisle Vanem corrected a mistake in a recent progress fix

20 years agoGisle Vanem: patches to make sws.c compile under MingW/MSVC is
Daniel Stenberg [Sat, 17 Apr 2004 11:38:41 +0000 (11:38 +0000)]
Gisle Vanem: patches to make sws.c compile under MingW/MSVC is
attached. And some cosmetic fixes.

20 years agoGisle made a failed connect output the reason for it
Daniel Stenberg [Sat, 17 Apr 2004 11:33:47 +0000 (11:33 +0000)]
Gisle made a failed connect output the reason for it

20 years agoNDEBUG should not be defined when CURLDEBUG is
Daniel Stenberg [Sat, 17 Apr 2004 11:33:14 +0000 (11:33 +0000)]
NDEBUG should not be defined when CURLDEBUG is