platform/upstream/curl.git
20 years agogetting only a 100 Continue response and nothing else, when talking HTTP,
Daniel Stenberg [Wed, 7 Apr 2004 14:27:54 +0000 (14:27 +0000)]
getting only a 100 Continue response and nothing else, when talking HTTP,
is now treated as an error by libcurl

20 years ago--limit-rate using -d or -F does not work
Daniel Stenberg [Wed, 7 Apr 2004 14:03:13 +0000 (14:03 +0000)]
--limit-rate using -d or -F does not work

20 years agorenamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*
Daniel Stenberg [Wed, 7 Apr 2004 07:30:40 +0000 (07:30 +0000)]
renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*
concept, and added lib/README.curlx to explain details about it

20 years agoUse curl_off_t for the limit rate values to support REALLY huge values on
Daniel Stenberg [Wed, 7 Apr 2004 07:23:52 +0000 (07:23 +0000)]
Use curl_off_t for the limit rate values to support REALLY huge values on
such platforms that support large files.

20 years agomention getting windows builds to work after rearrangements
Daniel Stenberg [Tue, 6 Apr 2004 15:30:57 +0000 (15:30 +0000)]
mention getting windows builds to work after rearrangements

20 years agoMoved long-standing issues over from TODO-RELEASE to the more long-term TODO
Daniel Stenberg [Tue, 6 Apr 2004 15:29:01 +0000 (15:29 +0000)]
Moved long-standing issues over from TODO-RELEASE to the more long-term TODO
file.

20 years agothe memory leak on windows have been addressed
Daniel Stenberg [Tue, 6 Apr 2004 15:22:21 +0000 (15:22 +0000)]
the memory leak on windows have been addressed

20 years agorequire ssl since ntlm needs it
Daniel Stenberg [Tue, 6 Apr 2004 15:16:07 +0000 (15:16 +0000)]
require ssl since ntlm needs it

20 years agoNew authentication code added, particularly noticable when doing POST or PUT
Daniel Stenberg [Tue, 6 Apr 2004 15:14:10 +0000 (15:14 +0000)]
New authentication code added, particularly noticable when doing POST or PUT
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication
and when done perform the requested POST.

20 years agomention the man page updates from the other day
Daniel Stenberg [Tue, 6 Apr 2004 15:12:50 +0000 (15:12 +0000)]
mention the man page updates from the other day

20 years agothe pack_hostent() proto isn't used/needed with ipv6 is enabled.
Daniel Stenberg [Tue, 6 Apr 2004 15:09:43 +0000 (15:09 +0000)]
the pack_hostent() proto isn't used/needed with ipv6 is enabled.

time to restructure this source file!

20 years agoGisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan.
Daniel Stenberg [Tue, 6 Apr 2004 14:51:14 +0000 (14:51 +0000)]
Gisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan.

Good enough?

20 years agoAdded the curl source header and changed some comments
Daniel Stenberg [Tue, 6 Apr 2004 14:07:04 +0000 (14:07 +0000)]
Added the curl source header and changed some comments

20 years agoimproved --limit-rate functionality, partly by the new use of curlx_tvnow()
Daniel Stenberg [Tue, 6 Apr 2004 12:06:05 +0000 (12:06 +0000)]
improved --limit-rate functionality, partly by the new use of curlx_tvnow()

20 years agoGisle Vanem caught me breaking the windows version of Curl_strerror()
Daniel Stenberg [Tue, 6 Apr 2004 12:02:36 +0000 (12:02 +0000)]
Gisle Vanem caught me breaking the windows version of Curl_strerror()

20 years agoprovide these functions as curlx_* ones as this enables the curl app to
Daniel Stenberg [Tue, 6 Apr 2004 10:15:10 +0000 (10:15 +0000)]
provide these functions as curlx_* ones as this enables the curl app to
re-use these sources and functions for subsecond resolution timing

20 years agoup-to-date with reality
Daniel Stenberg [Tue, 6 Apr 2004 07:59:11 +0000 (07:59 +0000)]
up-to-date with reality

20 years agoadded HAVE_GETTIMEOFDAY, we need it for better time resolution
Daniel Stenberg [Tue, 6 Apr 2004 07:49:57 +0000 (07:49 +0000)]
added HAVE_GETTIMEOFDAY, we need it for better time resolution

20 years agotypecasts to please picky compilers checking the printf() format string
Daniel Stenberg [Tue, 6 Apr 2004 07:48:29 +0000 (07:48 +0000)]
typecasts to please picky compilers checking the printf() format string

20 years agoone change, three bugs, one credit
Daniel Stenberg [Tue, 6 Apr 2004 06:24:37 +0000 (06:24 +0000)]
one change, three bugs, one credit

20 years agothe last couple of days
Daniel Stenberg [Tue, 6 Apr 2004 06:24:06 +0000 (06:24 +0000)]
the last couple of days

20 years agotwo issues to fix before 7.11.2, one issue to fix befor 7.12.0
Daniel Stenberg [Tue, 6 Apr 2004 06:18:48 +0000 (06:18 +0000)]
two issues to fix before 7.11.2, one issue to fix befor 7.12.0

20 years agoremove the general use of sys_nerr
Daniel Stenberg [Tue, 6 Apr 2004 06:06:10 +0000 (06:06 +0000)]
remove the general use of sys_nerr

20 years agogenerated files, no need to keep in CVS
Daniel Stenberg [Mon, 5 Apr 2004 12:38:54 +0000 (12:38 +0000)]
generated files, no need to keep in CVS

20 years agoprepend the man3 dir to the file name to work better.
Daniel Stenberg [Fri, 2 Apr 2004 11:04:34 +0000 (11:04 +0000)]
prepend the man3 dir to the file name to work better.
Robin Kay pointed this out.

20 years agoedits, mainly to make the generated html output nicer
Daniel Stenberg [Fri, 2 Apr 2004 09:56:01 +0000 (09:56 +0000)]
edits, mainly to make the generated html output nicer

20 years agominor edits
Daniel Stenberg [Fri, 2 Apr 2004 09:50:42 +0000 (09:50 +0000)]
minor edits

20 years agoDirk Manske's feedback:
Daniel Stenberg [Fri, 2 Apr 2004 07:32:03 +0000 (07:32 +0000)]
Dirk Manske's feedback:
* bring back subsecond resolution to CURLINFO_TOTAL_TIME
* Fix the Curl_pgrsDone() so that the final progress update is shown properly

20 years agoAndrés García's updated mingw makefiles
Daniel Stenberg [Fri, 2 Apr 2004 07:18:13 +0000 (07:18 +0000)]
Andrés García's updated mingw makefiles

20 years agoif select returns -1, bail out of the loop
Daniel Stenberg [Fri, 2 Apr 2004 06:40:31 +0000 (06:40 +0000)]
if select returns -1, bail out of the loop

20 years agoOnly check that the c-ares lib is valid if we don't use the "embedded"
Daniel Stenberg [Thu, 1 Apr 2004 10:26:59 +0000 (10:26 +0000)]
Only check that the c-ares lib is valid if we don't use the "embedded"
directory. The provided ares dir is probably up-to-date, but more importantly
it is often not built yet at the time when this configure script runs.

20 years agoWhen ares is enabled, we now check for the ares_cancel function to verify
Daniel Stenberg [Thu, 1 Apr 2004 09:10:33 +0000 (09:10 +0000)]
When ares is enabled, we now check for the ares_cancel function to verify
that we use a library that is recent enough to build with the latest libcurl.

20 years agoDirk Manske's fix that makes sure we cancel the ares resolve when we time out
Daniel Stenberg [Thu, 1 Apr 2004 08:40:36 +0000 (08:40 +0000)]
Dirk Manske's fix that makes sure we cancel the ares resolve when we time out
from a name resolve. Without this, we leak memory!

20 years agoDirk Manske's ares_cancel() function was added.
Daniel Stenberg [Thu, 1 Apr 2004 08:25:58 +0000 (08:25 +0000)]
Dirk Manske's ares_cancel() function was added.

20 years agoedited slightly, point out our new mailinglist
Daniel Stenberg [Thu, 1 Apr 2004 08:25:23 +0000 (08:25 +0000)]
edited slightly, point out our new mailinglist

20 years agoremind us about cvs tagging when we've built a release archive
Daniel Stenberg [Thu, 1 Apr 2004 08:23:26 +0000 (08:23 +0000)]
remind us about cvs tagging when we've built a release archive

20 years agoremoved my previously attempted fix for ares timeouts, not needed
Daniel Stenberg [Thu, 1 Apr 2004 07:04:58 +0000 (07:04 +0000)]
removed my previously attempted fix for ares timeouts, not needed

20 years agoApplied Joe Halpin's bugfixes to the NI_WITHSCOPEID test program.
Daniel Stenberg [Thu, 1 Apr 2004 06:53:11 +0000 (06:53 +0000)]
Applied Joe Halpin's bugfixes to the NI_WITHSCOPEID test program.

20 years agoDominick Meglio man page fixes
Daniel Stenberg [Thu, 1 Apr 2004 06:10:56 +0000 (06:10 +0000)]
Dominick Meglio man page fixes

20 years agoUse the new HAVE_NI_WITHSCOPEID define instead of merely checking for the
Daniel Stenberg [Wed, 31 Mar 2004 21:33:52 +0000 (21:33 +0000)]
Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for the
existance of NI_WITHSCOPEID since some platforms have that define but still
can't function with it set.

20 years agoissue 30, digest re-negotiate works now!
Daniel Stenberg [Wed, 31 Mar 2004 21:04:26 +0000 (21:04 +0000)]
issue 30, digest re-negotiate works now!

20 years agorecent changes
Daniel Stenberg [Wed, 31 Mar 2004 21:03:55 +0000 (21:03 +0000)]
recent changes

20 years agoupdates and David Byron's spellfix
Daniel Stenberg [Wed, 31 Mar 2004 21:01:20 +0000 (21:01 +0000)]
updates and David Byron's spellfix

20 years agoRoy Shan fixed a case that prevented ares name resolve timeouts to occur.
Daniel Stenberg [Wed, 31 Mar 2004 20:50:01 +0000 (20:50 +0000)]
Roy Shan fixed a case that prevented ares name resolve timeouts to occur.

20 years agowe're working on 7.11.2-CVS right now
Daniel Stenberg [Wed, 31 Mar 2004 20:22:28 +0000 (20:22 +0000)]
we're working on 7.11.2-CVS right now

20 years agoHAVE_NI_WITHSCOPEID spelled right!
Daniel Stenberg [Wed, 31 Mar 2004 20:13:53 +0000 (20:13 +0000)]
HAVE_NI_WITHSCOPEID spelled right!

20 years agoRemove the elapsed time from the most recent select() only.
Daniel Stenberg [Wed, 31 Mar 2004 13:19:41 +0000 (13:19 +0000)]
Remove the elapsed time from the most recent select() only.

20 years agoThe asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE for
Daniel Stenberg [Wed, 31 Mar 2004 12:55:24 +0000 (12:55 +0000)]
The asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE for
the specific time to wait for a resolve. The definition is at the top of
this source file.

20 years agoDirk Manske found out the Curl_wait_for_resolv() timed out too early.
Daniel Stenberg [Wed, 31 Mar 2004 12:45:26 +0000 (12:45 +0000)]
Dirk Manske found out the Curl_wait_for_resolv() timed out too early.

20 years agoadded swsbounce
Daniel Stenberg [Wed, 31 Mar 2004 12:24:08 +0000 (12:24 +0000)]
added swsbounce

20 years agoadded include to fix warning
Daniel Stenberg [Wed, 31 Mar 2004 11:55:56 +0000 (11:55 +0000)]
added include to fix warning

20 years ago* Fixed a memory leak when doing repeated re-negotiations.
Daniel Stenberg [Wed, 31 Mar 2004 11:55:07 +0000 (11:55 +0000)]
* Fixed a memory leak when doing repeated re-negotiations.
* Made the incoming line parser more forgiving to allow "name=contents" pairs
where the contents isn't within double quotes.
* Made the digest code return CURLDIGEST_BADALGO if a requested algorithm
isn't supported by the code.

20 years agotest 153 tests Digest authorization and stale=true stuff
Daniel Stenberg [Wed, 31 Mar 2004 11:51:21 +0000 (11:51 +0000)]
test 153 tests Digest authorization and stale=true stuff

20 years agoAdded "swsbounce" magic: if this keyword is present in a <data> section it
Daniel Stenberg [Wed, 31 Mar 2004 11:50:44 +0000 (11:50 +0000)]
Added "swsbounce" magic: if this keyword is present in a <data> section it
sets the "swsbounce" magic mode. If there follows a request for the SAME
test number and the SAME part number, this mode will make the server bump
the part number internally and thus return a different <dataNUM> section
than it otherwise would.

Test case 153 uses this in case you need an example. It is pretty involved
and hard-to-use, but then the situation is pretty special over all. Enjoy.

20 years agoMoved the NI_WITHSCOPEID magic #ifdef to the top of the file and made sure
Daniel Stenberg [Wed, 31 Mar 2004 10:59:48 +0000 (10:59 +0000)]
Moved the NI_WITHSCOPEID magic #ifdef to the top of the file and made sure
we use the NIFLAGS properly on both places in the code that use getnameinfo().

20 years agoFixed how the user name is extracted from http_proxy environment variable
Daniel Stenberg [Wed, 31 Mar 2004 10:46:06 +0000 (10:46 +0000)]
Fixed how the user name is extracted from http_proxy environment variable
when set.

20 years agoAndrés García fixed a warning in the ioctlsocket() usage.
Daniel Stenberg [Wed, 31 Mar 2004 10:34:53 +0000 (10:34 +0000)]
Andrés García fixed a warning in the ioctlsocket() usage.

20 years agomodified the NI_WITHSCOPEID to use an AF_INET6 socket immediately and
Daniel Stenberg [Wed, 31 Mar 2004 10:31:08 +0000 (10:31 +0000)]
modified the NI_WITHSCOPEID to use an AF_INET6 socket immediately and
added some more debug output to make it easier to detect failure reasons
in the autobuild logs

20 years agoCURLDIGEST_BADALGO is a new return code from the digest code
Daniel Stenberg [Wed, 31 Mar 2004 09:20:27 +0000 (09:20 +0000)]
CURLDIGEST_BADALGO is a new return code from the digest code

20 years agoDominick Meglio fixed a missing comma
Daniel Stenberg [Wed, 31 Mar 2004 06:10:40 +0000 (06:10 +0000)]
Dominick Meglio fixed a missing comma

20 years agoone issue less
Daniel Stenberg [Tue, 30 Mar 2004 15:35:09 +0000 (15:35 +0000)]
one issue less

20 years agotypecast setsockopt()'s 4th argument to void * to make compilers complain
Daniel Stenberg [Tue, 30 Mar 2004 13:05:45 +0000 (13:05 +0000)]
typecast setsockopt()'s 4th argument to void * to make compilers complain
less

20 years agoadjusted to the new dns cache function to hide more hostip internals
Daniel Stenberg [Tue, 30 Mar 2004 13:02:31 +0000 (13:02 +0000)]
adjusted to the new dns cache function to hide more hostip internals

20 years agoLots of comments added an clarified. Added timeout for the ares version
Daniel Stenberg [Tue, 30 Mar 2004 13:02:07 +0000 (13:02 +0000)]
Lots of comments added an clarified. Added timeout for the ares version
of Curl_is_resolved() to address Roy Shan's reported problem.

20 years agoadded stale boolean to the digest struct
Daniel Stenberg [Tue, 30 Mar 2004 13:00:53 +0000 (13:00 +0000)]
added stale boolean to the digest struct

20 years agofirst attempt to support stale=true
Daniel Stenberg [Tue, 30 Mar 2004 13:00:32 +0000 (13:00 +0000)]
first attempt to support stale=true

20 years agoAdded CURL_CHECK_NI_WITHSCOPEID that checks if NI_WITHSCOPEID exists and
Daniel Stenberg [Tue, 30 Mar 2004 10:35:54 +0000 (10:35 +0000)]
Added CURL_CHECK_NI_WITHSCOPEID that checks if NI_WITHSCOPEID exists and
works. No code actually uses the HAVE_NI_WITHSCOPEID (that a positive test
results in), but this is still only for testing purposes.

20 years agoDominick Meglio's new ares_expand_string() function
Daniel Stenberg [Tue, 30 Mar 2004 09:06:42 +0000 (09:06 +0000)]
Dominick Meglio's new ares_expand_string() function

20 years agowhen checking the automake version, cut off trailing "-p[whatever]" from the
Daniel Stenberg [Tue, 30 Mar 2004 08:28:39 +0000 (08:28 +0000)]
when checking the automake version, cut off trailing "-p[whatever]" from the
version string before doing the version number checks.

20 years agoif 0'ed out a code section that uses __FUNCTION__ etc, used for debugging
Daniel Stenberg [Tue, 30 Mar 2004 08:21:09 +0000 (08:21 +0000)]
if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging
the new "fail with auth" code

20 years agoinit the dns pointer to NULL for clarity
Daniel Stenberg [Tue, 30 Mar 2004 08:14:37 +0000 (08:14 +0000)]
init the dns pointer to NULL for clarity

20 years agoadded more comments for what the functions return
Daniel Stenberg [Tue, 30 Mar 2004 08:11:54 +0000 (08:11 +0000)]
added more comments for what the functions return

20 years agomention the fact that you can append a new CA cert to the existing bundle too
Daniel Stenberg [Tue, 30 Mar 2004 06:46:36 +0000 (06:46 +0000)]
mention the fact that you can append a new CA cert to the existing bundle too

20 years agoDavid Byron's patch was appplied to make CURLOPT_FAILONERROR work nicely
Daniel Stenberg [Tue, 30 Mar 2004 06:42:12 +0000 (06:42 +0000)]
David Byron's patch was appplied to make CURLOPT_FAILONERROR work nicely
even with authentcations such as NTLM or Digest enabled. Test cases 150, 151
and 152 were added to verify the functionality.

20 years agoDavid Byron's new test cases for the --fail and auth stuff.
Daniel Stenberg [Tue, 30 Mar 2004 06:41:33 +0000 (06:41 +0000)]
David Byron's new test cases for the --fail and auth stuff.

20 years agoDavid Byron made CURLOPT_FAILONERROR work with authentications such as NTLM
Daniel Stenberg [Tue, 30 Mar 2004 06:40:01 +0000 (06:40 +0000)]
David Byron made CURLOPT_FAILONERROR work with authentications such as NTLM
or Digest.

20 years ago'authdone' was added to the sessionhandle and thus was removed from the
Daniel Stenberg [Tue, 30 Mar 2004 06:39:24 +0000 (06:39 +0000)]
'authdone' was added to the sessionhandle and thus was removed from the
argument to the NTLM function(s)

20 years agoDavid Byron added 'authdone' to the SessionHandle.
Daniel Stenberg [Tue, 30 Mar 2004 06:38:52 +0000 (06:38 +0000)]
David Byron added 'authdone' to the SessionHandle.

20 years agothese are now in the packages/vms dir
Daniel Stenberg [Mon, 29 Mar 2004 22:45:14 +0000 (22:45 +0000)]
these are now in the packages/vms dir

20 years agoThe select() timeout is better not static since some implementation actually
Daniel Stenberg [Mon, 29 Mar 2004 21:29:24 +0000 (21:29 +0000)]
The select() timeout is better not static since some implementation actually
might change it. I don't *think* it does it when the timeout is 0,0 but it
is better to be sure...

20 years agoissue 24 is fixed by making sure the time fields use a static width
Daniel Stenberg [Mon, 29 Mar 2004 13:46:58 +0000 (13:46 +0000)]
issue 24 is fixed by making sure the time fields use a static width

20 years agoseveral noticable recent changes
Daniel Stenberg [Mon, 29 Mar 2004 13:46:16 +0000 (13:46 +0000)]
several noticable recent changes

20 years agochanges changes changes
Daniel Stenberg [Mon, 29 Mar 2004 13:45:53 +0000 (13:45 +0000)]
changes changes changes

20 years agoAll test targets now run 'make all' before they prcoeed with the actual
Daniel Stenberg [Mon, 29 Mar 2004 12:38:41 +0000 (12:38 +0000)]
All test targets now run 'make all' before they prcoeed with the actual
testing so that all test files are build first properly. David Byron reported.

20 years agoGisle Vanem's djgpp/MS-DOS updates
Daniel Stenberg [Mon, 29 Mar 2004 12:29:25 +0000 (12:29 +0000)]
Gisle Vanem's djgpp/MS-DOS updates

20 years agofix to figure out the "real" windows path when built and run with mingw
Daniel Stenberg [Mon, 29 Mar 2004 09:26:31 +0000 (09:26 +0000)]
fix to figure out the "real" windows path when built and run with mingw
Andrés García helped out!

20 years agore-indented to use curl-standard source formatting
Daniel Stenberg [Mon, 29 Mar 2004 07:25:59 +0000 (07:25 +0000)]
re-indented to use curl-standard source formatting

20 years agonetinet/tcp.h may require netinet/in.h to be include before
Daniel Stenberg [Mon, 29 Mar 2004 06:22:57 +0000 (06:22 +0000)]
netinet/tcp.h may require netinet/in.h to be include before

20 years agouse the correct struct
Daniel Stenberg [Sun, 28 Mar 2004 21:41:10 +0000 (21:41 +0000)]
use the correct struct

20 years agoTor fixed a left-over from the ip argument to setnodelay
Daniel Stenberg [Sat, 27 Mar 2004 11:15:50 +0000 (11:15 +0000)]
Tor fixed a left-over from the ip argument to setnodelay

20 years agoGisle Vanem:
Daniel Stenberg [Fri, 26 Mar 2004 13:47:46 +0000 (13:47 +0000)]
Gisle Vanem:

A patch to bypass MS' sillyness with regard to IPv6 and getaddrinfo().

The CURLDEBUG part is to avoid redefinition warning caused by memdebug.h. If
ENABLE_IPV6 isn't enabled, it doesn't matter since we never call
getaddrinfo(). Allthough we could to support weird protocols like SOCK_RDM
that Win-2K/XP has.

20 years agosome more password blurb
Daniel Stenberg [Fri, 26 Mar 2004 13:20:28 +0000 (13:20 +0000)]
some more password blurb

20 years agocheck for netinet/tcp.h precense before actually including it
Daniel Stenberg [Fri, 26 Mar 2004 07:10:15 +0000 (07:10 +0000)]
check for netinet/tcp.h precense before actually including it

20 years agoremoved the ip number from the notcpdelay function
Daniel Stenberg [Fri, 26 Mar 2004 07:03:30 +0000 (07:03 +0000)]
removed the ip number from the notcpdelay function

20 years agoget the version number from the new curlver.h header file
Daniel Stenberg [Thu, 25 Mar 2004 16:03:41 +0000 (16:03 +0000)]
get the version number from the new curlver.h header file

20 years agolocaltime and gmtime are not thread-safe on newer AIXes either so we force
Daniel Stenberg [Thu, 25 Mar 2004 15:48:54 +0000 (15:48 +0000)]
localtime and gmtime are not thread-safe on newer AIXes either so we force
a check for there *_r-versions too

20 years agoforce recent AIX versions to check for strerror_r
Daniel Stenberg [Thu, 25 Mar 2004 15:10:01 +0000 (15:10 +0000)]
force recent AIX versions to check for strerror_r

20 years agoonly output one line about the nodelay even if it fails
Daniel Stenberg [Thu, 25 Mar 2004 14:01:01 +0000 (14:01 +0000)]
only output one line about the nodelay even if it fails

20 years agowin32 doesn't need and even doesn't build if we extern declare sys_nerr
Daniel Stenberg [Thu, 25 Mar 2004 13:43:19 +0000 (13:43 +0000)]
win32 doesn't need and even doesn't build if we extern declare sys_nerr

20 years agoinclude the strerror.h file without curl_ prefix
Daniel Stenberg [Thu, 25 Mar 2004 13:42:23 +0000 (13:42 +0000)]
include the strerror.h file without curl_ prefix