]> granicus.if.org Git - curl/log
curl
19 years agothe SOCKS situation
Daniel Stenberg [Wed, 17 Aug 2005 09:41:54 +0000 (09:41 +0000)]
the SOCKS situation

19 years agoremoved old info about curl_getdate() just simply isn't true and hasn't been
Daniel Stenberg [Wed, 17 Aug 2005 09:12:08 +0000 (09:12 +0000)]
removed old info about curl_getdate() just simply isn't true and hasn't been
true since the getdate() parser code rewrite

19 years agoremove the typecast to long from time_t, since we now store it as curl_off_t
Daniel Stenberg [Wed, 17 Aug 2005 09:11:27 +0000 (09:11 +0000)]
remove the typecast to long from time_t, since we now store it as curl_off_t

19 years agohandles expiry times in cookie files that go beyond 32 bits in size
Daniel Stenberg [Wed, 17 Aug 2005 09:01:07 +0000 (09:01 +0000)]
handles expiry times in cookie files that go beyond 32 bits in size

19 years ago- Jeff Pohlmeyer found out that if you ask libcurl to load a cookiefile (with
Daniel Stenberg [Wed, 17 Aug 2005 08:55:43 +0000 (08:55 +0000)]
- Jeff Pohlmeyer found out that if you ask libcurl to load a cookiefile (with
  CURLOPT_COOKIEFILE), add a cookie (with CURLOPT_COOKIELIST), tell it to
  write the result to a given cookie jar and then never actually call
  curl_easy_perform() - the given file(s) to read was never read but the
  output file was written and thus it caused a "funny" result.

- While doing some tests for the bug above, I noticed that Firefox generates
  large numbers (for the expire time) in the cookies.txt file and libcurl
  didn't treat them properly. Now it does.

19 years agoadded curl_mvsnprintf to the export list; I appened to the end cause of the numbering ...
Gunter Knauf [Tue, 16 Aug 2005 20:12:58 +0000 (20:12 +0000)]
added curl_mvsnprintf to the export list; I appened to the end cause of the numbering ...

19 years agoadded curl_mvsnprintf to the export list.
Gunter Knauf [Tue, 16 Aug 2005 20:11:25 +0000 (20:11 +0000)]
added curl_mvsnprintf to the export list.

19 years agoclient side fixes
Daniel Stenberg [Tue, 16 Aug 2005 11:40:43 +0000 (11:40 +0000)]
client side fixes

19 years agotypecase the isspace() argument to int
Daniel Stenberg [Tue, 16 Aug 2005 07:32:50 +0000 (07:32 +0000)]
typecase the isspace() argument to int

19 years agorecent changes
Daniel Stenberg [Mon, 15 Aug 2005 21:48:36 +0000 (21:48 +0000)]
recent changes

19 years agoAdded more verbose "warning" messages to the curl client for cases where it
Daniel Stenberg [Mon, 15 Aug 2005 21:48:28 +0000 (21:48 +0000)]
Added more verbose "warning" messages to the curl client for cases where it
fails to open/read files etc to help users diagnose why it doesn't do what
you'd expect it to. Converted lots of old messages to use the new generic
function I wrote for this purpose.

19 years agoJames Bursa identified a libcurl HTTP bug and a good way to repeat it. If a
Daniel Stenberg [Sat, 13 Aug 2005 21:28:46 +0000 (21:28 +0000)]
James Bursa identified a libcurl HTTP bug and a good way to repeat it. If a
site responds with bad HTTP response that doesn't contain any header at all,
only a response body, and the write callback returns 0 to abort the
transfer, it didn't have any real effect but the write callback would be
called once more anyway.

19 years agoadded test 268 that makes curl -d @nonexisting
Daniel Stenberg [Fri, 12 Aug 2005 22:09:21 +0000 (22:09 +0000)]
added test 268 that makes curl -d @nonexisting

19 years agoclarify
Daniel Stenberg [Fri, 12 Aug 2005 21:47:05 +0000 (21:47 +0000)]
clarify

19 years agoo curl -d @filename when 'filename' was not possible to access no longer
Daniel Stenberg [Fri, 12 Aug 2005 21:25:44 +0000 (21:25 +0000)]
o curl -d @filename when 'filename' was not possible to access no longer
  converts the request to a GET, but now instead makes it a POST of no data
o The time condition illegal syntax warning is now inhibited if -s is used.

19 years ago-H needs no CRLF or similar added
Daniel Stenberg [Fri, 12 Aug 2005 20:56:12 +0000 (20:56 +0000)]
-H needs no CRLF or similar added

19 years agoremoved old debug left-over infof() call
Daniel Stenberg [Thu, 11 Aug 2005 21:41:11 +0000 (21:41 +0000)]
removed old debug left-over infof() call

19 years agodo a POST with NTLM and add two custom headers
Daniel Stenberg [Thu, 11 Aug 2005 21:33:40 +0000 (21:33 +0000)]
do a POST with NTLM and add two custom headers

19 years agoAdded comment about strtoimax()
Daniel Stenberg [Thu, 11 Aug 2005 20:42:02 +0000 (20:42 +0000)]
Added comment about strtoimax()

19 years agofix for NetWare crossbuilds to display the right config.h when build on Win32.
Gunter Knauf [Thu, 11 Aug 2005 18:02:09 +0000 (18:02 +0000)]
fix for NetWare crossbuilds to display the right config.h when build on Win32.

19 years agothe debug callback was called with CURLINFO_TEXT with the data size one
Daniel Stenberg [Wed, 10 Aug 2005 22:57:14 +0000 (22:57 +0000)]
the debug callback was called with CURLINFO_TEXT with the data size one
too big

19 years agominor Makefile fix.
Gunter Knauf [Wed, 10 Aug 2005 21:45:59 +0000 (21:45 +0000)]
minor Makefile fix.

19 years agominor Makefile fix.
Gunter Knauf [Wed, 10 Aug 2005 20:45:49 +0000 (20:45 +0000)]
minor Makefile fix.

19 years agoadded some more NetWare targets.
Gunter Knauf [Wed, 10 Aug 2005 19:26:33 +0000 (19:26 +0000)]
added some more NetWare targets.

19 years agosome minor Makefile fixes for SSL.
Gunter Knauf [Wed, 10 Aug 2005 19:19:25 +0000 (19:19 +0000)]
some minor Makefile fixes for SSL.

19 years agomake ares compile again for NetWare.
Gunter Knauf [Wed, 10 Aug 2005 17:03:53 +0000 (17:03 +0000)]
make ares compile again for NetWare.

19 years agomake ares compile again for NetWare.
Gunter Knauf [Wed, 10 Aug 2005 16:55:06 +0000 (16:55 +0000)]
make ares compile again for NetWare.

19 years agofixed line endings so it works again with gnu make on Win32.
Gunter Knauf [Wed, 10 Aug 2005 16:54:00 +0000 (16:54 +0000)]
fixed line endings so it works again with gnu make on Win32.

19 years agoChristopher R. Palmer fixed the offsets used for date parsings when the time
Daniel Stenberg [Tue, 9 Aug 2005 21:59:31 +0000 (21:59 +0000)]
Christopher R. Palmer fixed the offsets used for date parsings when the time
zone name of a daylight savings time was used. For example, PDT vs PDS. This
flaw was introduced with the new date parser (11 sep 2004 - 7.12.2).
Fortunately, no web server or cookie string etc should be using such time
zone names thus limiting the effect of this bug.

19 years agomention two other bugs we should fix before release
Daniel Stenberg [Mon, 8 Aug 2005 23:09:24 +0000 (23:09 +0000)]
mention two other bugs we should fix before release

19 years agoJon Grubbs filed bug report #1249962 which identified a problem with NTLM on a
Daniel Stenberg [Sun, 7 Aug 2005 22:59:06 +0000 (22:59 +0000)]
Jon Grubbs filed bug report #1249962 which identified a problem with NTLM on a
HTTP proxy if an FTP URL was given. libcurl now properly switches to pure HTTP
internally when an HTTP proxy is used, even for FTP URLs. The problem would
also occur with other multi-pass auth methods.

19 years agoWhen curl is built with GnuTLS, curl-config didn't include "SSL" when
Daniel Stenberg [Sun, 7 Aug 2005 21:45:59 +0000 (21:45 +0000)]
When curl is built with GnuTLS, curl-config didn't include "SSL" when
--features was used

19 years agoDon't prevent FTPS:// through a http proxy, as we cannot know if it works or
Daniel Stenberg [Sun, 7 Aug 2005 21:39:44 +0000 (21:39 +0000)]
Don't prevent FTPS:// through a http proxy, as we cannot know if it works or
not!

19 years agomention our security related mail alias in the "who do I mail" section
Daniel Stenberg [Sun, 7 Aug 2005 14:36:55 +0000 (14:36 +0000)]
mention our security related mail alias in the "who do I mail" section

19 years agoSupport realloc() on a NULL pointer properly (printf(%p) on a NULL pointer
Daniel Stenberg [Thu, 4 Aug 2005 23:05:36 +0000 (23:05 +0000)]
Support realloc() on a NULL pointer properly (printf(%p) on a NULL pointer
outputs (nil) and not a 0x0 or similar.

19 years agokilled trailing whitespace, narrowed a few lines to 80 cols
Daniel Stenberg [Thu, 4 Aug 2005 08:07:44 +0000 (08:07 +0000)]
killed trailing whitespace, narrowed a few lines to 80 cols

19 years agomention that the NOBODY reset thing is added in 7.14.1
Daniel Stenberg [Mon, 1 Aug 2005 11:56:03 +0000 (11:56 +0000)]
mention that the NOBODY reset thing is added in 7.14.1

19 years agoMoved items from TODO-RELEASE to TODO since they're not really bound to happen
Daniel Stenberg [Sat, 30 Jul 2005 23:48:07 +0000 (23:48 +0000)]
Moved items from TODO-RELEASE to TODO since they're not really bound to happen
in any specific release.

19 years agoclarified the PHP/CURL topic a bit more
Daniel Stenberg [Sat, 30 Jul 2005 23:37:05 +0000 (23:37 +0000)]
clarified the PHP/CURL topic a bit more

19 years agocorrection and added new mirror
Daniel Stenberg [Sat, 30 Jul 2005 23:19:42 +0000 (23:19 +0000)]
correction and added new mirror

19 years agoCURLOPT_COOKIELIST change since it no longer modifies the input string contents
Daniel Stenberg [Sat, 30 Jul 2005 08:27:51 +0000 (08:27 +0000)]
CURLOPT_COOKIELIST change since it no longer modifies the input string contents

19 years agoreset the numcookies counter too (I missed it in the previous commit)
Daniel Stenberg [Thu, 28 Jul 2005 21:53:09 +0000 (21:53 +0000)]
reset the numcookies counter too (I missed it in the previous commit)

19 years agofixed example since this is how the interface works now
Daniel Stenberg [Thu, 28 Jul 2005 21:51:20 +0000 (21:51 +0000)]
fixed example since this is how the interface works now

19 years agonow strdups the cookielist inpointer before passed on, as the cookie function
Daniel Stenberg [Thu, 28 Jul 2005 21:50:34 +0000 (21:50 +0000)]
now strdups the cookielist inpointer before passed on, as the cookie function
modifies it

19 years agocurl standard indent/format
Daniel Stenberg [Thu, 28 Jul 2005 21:49:58 +0000 (21:49 +0000)]
curl standard indent/format

19 years agoNeeds 'struct_stat'. Increased verbosity.
Gisle Vanem [Thu, 28 Jul 2005 13:20:27 +0000 (13:20 +0000)]
Needs 'struct_stat'. Increased verbosity.

19 years agoIf any of the options CURLOPT_HTTPGET, CURLOPT_POST and CURLOPT_HTTPPOST is
Daniel Stenberg [Wed, 27 Jul 2005 22:29:50 +0000 (22:29 +0000)]
If any of the options CURLOPT_HTTPGET, CURLOPT_POST and CURLOPT_HTTPPOST is
set to 1, CURLOPT_NOBODY will now automatically be set to 0.

19 years agoPeteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a
Daniel Stenberg [Wed, 27 Jul 2005 22:17:14 +0000 (22:17 +0000)]
Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a
simple interface to extracting and setting cookies in libcurl's internal
"cookie jar". See the new cookie_interface.c example code.

19 years agodisabling HTTP should also nullify this function call
Daniel Stenberg [Wed, 27 Jul 2005 21:44:43 +0000 (21:44 +0000)]
disabling HTTP should also nullify this function call

19 years agoFixed --without-gnutls
Dan Fandrich [Wed, 27 Jul 2005 18:22:21 +0000 (18:22 +0000)]
Fixed --without-gnutls

19 years agoFixed some typos in output messages.
Dan Fandrich [Thu, 21 Jul 2005 22:18:35 +0000 (22:18 +0000)]
Fixed some typos in output messages.

19 years agoProperly support the options --without-spnego --without-gssapi --without-krb4
Dan Fandrich [Wed, 20 Jul 2005 23:00:27 +0000 (23:00 +0000)]
Properly support the options --without-spnego --without-gssapi --without-krb4

19 years agoAdd -Wdeclaration-after-statement to gcc to detect accidental C99-style
Dan Fandrich [Wed, 20 Jul 2005 21:58:23 +0000 (21:58 +0000)]
Add -Wdeclaration-after-statement to gcc to detect accidental C99-style
variable declarations.

19 years agoSimplified the code within curl_easy_perform() that calls Curl_perform().
Daniel Stenberg [Sun, 17 Jul 2005 12:44:11 +0000 (12:44 +0000)]
Simplified the code within curl_easy_perform() that calls Curl_perform().
Pointed out by Bjorn Reese.

19 years agocURLpp 0.5.1
Daniel Stenberg [Fri, 15 Jul 2005 06:57:36 +0000 (06:57 +0000)]
cURLpp 0.5.1

19 years agoDiego Casorran patches to make (lib)curl build fine on Amiga again
Daniel Stenberg [Wed, 13 Jul 2005 18:06:40 +0000 (18:06 +0000)]
Diego Casorran patches to make (lib)curl build fine on Amiga again

19 years agobetter description for HEADERFUNCTION
Daniel Stenberg [Wed, 13 Jul 2005 09:46:37 +0000 (09:46 +0000)]
better description for HEADERFUNCTION

19 years agoelaborate a bit on how to deal with chunked-encoded trailers that now are
Daniel Stenberg [Wed, 13 Jul 2005 09:37:22 +0000 (09:37 +0000)]
elaborate a bit on how to deal with chunked-encoded trailers that now are
passed to the app using the header callback

19 years agoconverted this back to one name per line to make it easier/better to diff
Daniel Stenberg [Wed, 13 Jul 2005 07:44:53 +0000 (07:44 +0000)]
converted this back to one name per line to make it easier/better to diff
and merge when new names are added

19 years agomention the Rexx/CURL release
Daniel Stenberg [Tue, 12 Jul 2005 18:20:31 +0000 (18:20 +0000)]
mention the Rexx/CURL release

19 years agoAdrian Schuur added trailer support in the chunked encoding stream. The
Daniel Stenberg [Tue, 12 Jul 2005 18:15:34 +0000 (18:15 +0000)]
Adrian Schuur added trailer support in the chunked encoding stream. The
trailer is then sent to the normal header callback/stream.

19 years agomention an old idea
Daniel Stenberg [Fri, 8 Jul 2005 13:28:16 +0000 (13:28 +0000)]
mention an old idea

19 years agomention the exception only once ;-)
Daniel Stenberg [Thu, 7 Jul 2005 05:43:04 +0000 (05:43 +0000)]
mention the exception only once ;-)

19 years agocorrection for the 407 with response-body case
Daniel Stenberg [Tue, 5 Jul 2005 22:07:34 +0000 (22:07 +0000)]
correction for the 407 with response-body case

19 years agoUpdate copyright.
Gisle Vanem [Tue, 5 Jul 2005 18:07:55 +0000 (18:07 +0000)]
Update copyright.

19 years agoGisle Vanem came up with a nice little work-around for bug #1230118. It
Daniel Stenberg [Tue, 5 Jul 2005 14:57:41 +0000 (14:57 +0000)]
Gisle Vanem came up with a nice little work-around for bug #1230118. It
seems the Windows (MSVC) libc time functions may return data one hour off if
TZ is not set and automatic DST adjustment is enabled. This made
curl_getdate() return wrong value, and it also concerned internal cookie
expirations etc.

19 years agomention the strerror_r detection fix in configure
Daniel Stenberg [Mon, 4 Jul 2005 21:53:02 +0000 (21:53 +0000)]
mention the strerror_r detection fix in configure

19 years agoAndrew Bushnell provided enough info for me to tell that we badly needed to
Daniel Stenberg [Sun, 3 Jul 2005 22:25:15 +0000 (22:25 +0000)]
Andrew Bushnell provided enough info for me to tell that we badly needed to
fix the CONNECT authentication code with multi-pass auth methods (such as
NTLM) as it didn't previously properly ignore response-bodies - in fact it
stopped reading after all response headers had been received. This could
lead to libcurl sending the next request and reading the body from the first
request as response to the second request. (I also renamed the function,
which wasn't strictly necessary but...)

The best fix would to once and for all make the CONNECT code use the
ordinary request sending/receiving code, treating it as any ordinary request
instead of the special-purpose function we have now. It should make it
better for multi-interface too. And possibly lead to less code...

Added test case 265 for this. It doesn't work as a _really_ good test case
since the test proxy is too stupid, but the test case helps when running the
debugger to verify.

19 years agoadd more info when this script gets confused, and added getaddrinfo and
Daniel Stenberg [Thu, 30 Jun 2005 14:07:52 +0000 (14:07 +0000)]
add more info when this script gets confused, and added getaddrinfo and
freeaddrinfo to the trace output

19 years agouse %p to printf pointers since %x doesn't work properly on tru64 for this
Daniel Stenberg [Thu, 30 Jun 2005 13:30:23 +0000 (13:30 +0000)]
use %p to printf pointers since %x doesn't work properly on tru64 for this
(and besides, we should be using the same %-code for all pointers)

19 years agoenable memory debugging on tru64 with ipv6 support by doing a little different
Daniel Stenberg [Thu, 30 Jun 2005 13:28:58 +0000 (13:28 +0000)]
enable memory debugging on tru64 with ipv6 support by doing a little different
defining, since the system headers themselves redefine getaddrinfo

19 years agoDetect (or at least infer) glibc-style strerror_r even when cross-compiling.
Dan Fandrich [Thu, 30 Jun 2005 04:53:05 +0000 (04:53 +0000)]
Detect (or at least infer) glibc-style strerror_r even when cross-compiling.

19 years agonew Lua binding
Daniel Stenberg [Tue, 28 Jun 2005 09:08:52 +0000 (09:08 +0000)]
new Lua binding

19 years agoclarify that ftp ascii transfers don't do right in current libcurl
Daniel Stenberg [Sun, 26 Jun 2005 10:08:08 +0000 (10:08 +0000)]
clarify that ftp ascii transfers don't do right in current libcurl

19 years agoadded docs about the new proxy string support
Daniel Stenberg [Thu, 23 Jun 2005 23:07:07 +0000 (23:07 +0000)]
added docs about the new proxy string support

19 years agoDavid Shaw fixes
Daniel Stenberg [Wed, 22 Jun 2005 22:31:08 +0000 (22:31 +0000)]
David Shaw fixes

19 years agomention more ARMs
Daniel Stenberg [Wed, 22 Jun 2005 22:30:52 +0000 (22:30 +0000)]
mention more ARMs

19 years agoverify that the URL decoding is done properly too
Daniel Stenberg [Wed, 22 Jun 2005 22:24:47 +0000 (22:24 +0000)]
verify that the URL decoding is done properly too

19 years agoDavid Shaw's fix that unifies proxy string treatment so that a proxy given
Daniel Stenberg [Wed, 22 Jun 2005 22:24:10 +0000 (22:24 +0000)]
David Shaw's fix that unifies proxy string treatment so that a proxy given
with CURLOPT_PROXY can use a http:// prefix and user + password. The user
and password fields are now also URL decoded properly.

Test case 264 added to verify.

19 years agoDavid Shaw's updated version:
Daniel Stenberg [Wed, 22 Jun 2005 06:58:11 +0000 (06:58 +0000)]
David Shaw's updated version:

It now properly handles code that uses curl_free() (since not all versions of
curl have it), and also fixes a few problems when detecting libcurl on MinGW,
and a linker problem on OSX Panther.

19 years agomistake
Daniel Stenberg [Mon, 20 Jun 2005 22:32:45 +0000 (22:32 +0000)]
mistake

19 years agopossible windows memory leak fixed by Gisle
Daniel Stenberg [Sun, 19 Jun 2005 21:38:45 +0000 (21:38 +0000)]
possible windows memory leak fixed by Gisle

19 years agoAdded some checks for the addrinfo structure.
Dominick Meglio [Sun, 19 Jun 2005 16:58:40 +0000 (16:58 +0000)]
Added some checks for the addrinfo structure.

19 years agoEnsure thread handle is closed too.
Gisle Vanem [Tue, 14 Jun 2005 14:47:21 +0000 (14:47 +0000)]
Ensure thread handle is closed too.

19 years ago4.13 Why is curl -R on Windows one hour off?
Daniel Stenberg [Mon, 13 Jun 2005 18:33:40 +0000 (18:33 +0000)]
4.13 Why is curl -R on Windows one hour off?

19 years agorecent buildconf fiddling
Daniel Stenberg [Mon, 13 Jun 2005 11:20:51 +0000 (11:20 +0000)]
recent buildconf fiddling

19 years agorun libtoolize in the ares dir as well, and modified the output slightly for
Daniel Stenberg [Mon, 13 Jun 2005 10:49:14 +0000 (10:49 +0000)]
run libtoolize in the ares dir as well, and modified the output slightly for
all tools run in the ares dir - now shown like "running ares/[tool]"

19 years agoCURLINFO_FILETIME returns the time for GMT
Daniel Stenberg [Sat, 11 Jun 2005 22:04:41 +0000 (22:04 +0000)]
CURLINFO_FILETIME returns the time for GMT

19 years agomake sure the found tool is a regular file (and not a dir or something)
Daniel Stenberg [Thu, 9 Jun 2005 22:43:13 +0000 (22:43 +0000)]
make sure the found tool is a regular file (and not a dir or something)

19 years agoModified to use 'head -n 1' instead of 'head -1' since some versions of head
Daniel Stenberg [Thu, 9 Jun 2005 06:45:54 +0000 (06:45 +0000)]
Modified to use 'head -n 1' instead of 'head -1' since some versions of head
complains and claims this is deprecated.

19 years agoReverted Tupone Alfredo's patch, as it broke NUMEROUS autobuilds. Let's do the
Daniel Stenberg [Tue, 7 Jun 2005 23:00:06 +0000 (23:00 +0000)]
Reverted Tupone Alfredo's patch, as it broke NUMEROUS autobuilds. Let's do the
changes in a slower and more controlled manner...

19 years agoTupone Alfredo's fixes:
Daniel Stenberg [Mon, 6 Jun 2005 21:19:04 +0000 (21:19 +0000)]
Tupone Alfredo's fixes:

1) findtool does look per tool in PATH and think ./perl is the perl
executable, while is just a local directory (I have . in the PATH)

2) I got several warning for head -1 deprecated in favour of head -n 1

3) ares directory is missing some file (missing is missing :-) ) because
automake and friends is not run.

(Let's hope number 2 doesn't break somewhere "out there", if so we can always
search/replace that back.)

19 years agofirst rough version
Daniel Stenberg [Fri, 3 Jun 2005 21:38:40 +0000 (21:38 +0000)]
first rough version

19 years agoAndres Garcia's text mode fix for the 'data' part
Daniel Stenberg [Fri, 3 Jun 2005 14:06:03 +0000 (14:06 +0000)]
Andres Garcia's text mode fix for the 'data' part

19 years agoFIONBIO is in sys/ioctl.h on AIX
Daniel Stenberg [Fri, 3 Jun 2005 07:39:18 +0000 (07:39 +0000)]
FIONBIO is in sys/ioctl.h on AIX

19 years agosigh, define TRUE if not already
Daniel Stenberg [Thu, 2 Jun 2005 21:10:21 +0000 (21:10 +0000)]
sigh, define TRUE if not already

19 years agoWilliam Ahern:
Daniel Stenberg [Thu, 2 Jun 2005 11:58:04 +0000 (11:58 +0000)]
William Ahern:

  Make UDP sockets non-blocking. I've confirmed that at least on Linux 2.4 a
  read event can come back from poll() on a valid SOCK_DGRAM socket but
  recv(2) will still block. This patch doesn't ignore EAGAIN in
  read_udp_packets(), though maybe it should. (This patch was edited by Daniel
  Stenberg and a new configure test was added (imported from curl's configure)
  to properly detect what non-blocking socket approach to use.)

19 years agoWilliam Ahern:
Daniel Stenberg [Thu, 2 Jun 2005 11:09:10 +0000 (11:09 +0000)]
William Ahern:

  I'm not quite sure how this was happening, but I've been seeing PTR queries
  which seem to return empty responses. At least, they were empty when calling
  ares_expand_name() on the record. Here's a patch which guarantees to
  NUL-terminate the expanded name. The old behavior failed to NUL-terminate if
  len was 0, and this was causing strlen() to run past the end of the buffer
  after calling ares_expand_name() and getting ARES_SUCCESS as the return
  value. If q is not greater than *s then it's equal and *s is always
  allocated with at least one byte.

19 years agospecify the cares lib before the other libs, to make it build fine with mingw
Daniel Stenberg [Wed, 1 Jun 2005 21:30:29 +0000 (21:30 +0000)]
specify the cares lib before the other libs, to make it build fine with mingw
- inspired by Tupone Alfredo's bug report (and patch) #1212940

19 years agoTodd Kulesza reported a flaw in the proxy option, since a numerical IPv6
Daniel Stenberg [Tue, 31 May 2005 13:03:26 +0000 (13:03 +0000)]
Todd Kulesza reported a flaw in the proxy option, since a numerical IPv6
address was not possible to use. It is now, but requires it written
RFC2732-style, within brackets - which incidently is how you enter numerical
IPv6 addresses in URLs. Test case 263 added to verify.