History log of /curl/lib/hostip.c (Results 226 – 250 of 396)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fe22872d 11-Jul-2006 Yang Tse

include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.


# ca319f63 07-Jul-2006 Daniel Stenberg

Ingmar Runge provided a source snippet that caused a crash. The reason for
the crash was that libcurl internally was a bit confused about who owned the
DNS cache at all times so if you create

Ingmar Runge provided a source snippet that caused a crash. The reason for
the crash was that libcurl internally was a bit confused about who owned the
DNS cache at all times so if you created an easy handle that uses a shared
DNS cache and added that to a multi handle it would crash. Now we keep more
careful internal track of exactly what kind of DNS cache each easy handle
uses: None, Private (allocated for and used only by this single handle),
Shared (points to a cache held by a shared object), Global (points to the
global cache) or Multi (points to the cache within the multi handle that is
automatically shared between all easy handles that are added with private
caches).

show more ...


Revision tags: curl-7_15_4
# e85e3054 04-May-2006 Daniel Stenberg

Roland Blom filed bug report #1481217
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini
and David Byron. libcurl previously wrongly used GetLastError() on windows

Roland Blom filed bug report #1481217
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini
and David Byron. libcurl previously wrongly used GetLastError() on windows to
get error details after socket-related function calls, when it really should
use WSAGetLastError() instead.

When changing to this, the former function Curl_ourerrno() is now instead
called Curl_sockerrno() as it is necessary to only use it to get errno from
socket-related functions as otherwise it won't work as intended on Windows.

show more ...


# 3cbb1b2b 26-Apr-2006 Gisle Vanem

Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines
(more logical).


Revision tags: curl-7_15_3, curl-7_15_2
# 92009181 16-Feb-2006 Daniel Stenberg

Shmulik Regev provided a fix for the DNS cache when using short life times,
as previously it could be holding on to old cached entries longer than
requested.


Revision tags: curl-7_15_1, curl-7_15_0, curl-7_14_1, c-ares-1_3_0, curl-7_14_0
# 5f0366c2 19-Apr-2005 Daniel Stenberg

only define _REENTRANT if not already defined, and only in setup.h


Revision tags: curl-7_13_2, curl-7_13_1
# 6a2e21ec 09-Feb-2005 Daniel Stenberg

FTP code turned into state machine. Not completely yet, but a good start.
The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.


Revision tags: before_ftp_statemachine, curl-7_13_0
# 043d70fc 25-Jan-2005 Daniel Stenberg

Use plain structs and not typedef'ed ones in the hash and linked-list code.


Revision tags: curl-7_12_3
# dcea109b 18-Nov-2004 Daniel Stenberg

Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
errors.


Revision tags: curl-7_12_2
# 6d1b37b3 10-Oct-2004 Daniel Stenberg

Prevent a longjmp warning by moving the rc assign within Curl_resolv().
Andy Cedilnik reported. Warning on HP-UX?


# 39af394a 06-Oct-2004 Daniel Stenberg

removed tabs and trailing whitespace from source


# 95def480 04-Oct-2004 Daniel Stenberg

Made the dns entry remain locked while a connection to the host remains to
allow verbose output during this period. Bertrand Demiddelaer reported and
helped fixing.


Revision tags: curl-7_12_1
# f2a99d7d 24-Jun-2004 Daniel Stenberg

the _num_chars() function is not used, removing


# feb2dd28 24-Jun-2004 Daniel Stenberg

Replaced all uses of sprintf() with the safer snprintf(). It is just a
precaution to prevent mistakes to lead to buffer overflows.


# 5e34f3dc 24-Jun-2004 Daniel Stenberg

made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over


# 560c257b 24-Jun-2004 Daniel Stenberg

prevent warning


# c39858aa 24-Jun-2004 Daniel Stenberg

Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.


Revision tags: pre-aifix
# 8d76d401 10-Jun-2004 Daniel Stenberg

removed trailing whitespace


# 9f92657f 10-Jun-2004 Daniel Stenberg

Gisle corrected two comments


# 9f341f9c 10-Jun-2004 Daniel Stenberg

Gisle Vanem's improved verbose output and timeout handling when connecting to
a host name that resolves to multiple IP addresses.


Revision tags: curl-7_12_0
# e9056f5f 17-May-2004 Daniel Stenberg

if shrinking the buffer fails, use the older larger one


# bbafb2eb 11-May-2004 Daniel Stenberg

curl_global_init_mem() allows the memory functions to be replaced.
memory.h is included everywhere for this.


# 4250637e 04-May-2004 Daniel Stenberg

improved the cleaning up of memory when we fail to resolve names due to
out of memory (thanks to 'runtests.pl -t')


# 245e3122 26-Apr-2004 Daniel Stenberg

Made defines instead of plain numbers for the Curl_resolv() return code to
make the code easier to read


# 648e82f0 26-Apr-2004 Daniel Stenberg

Major hostip.c cleanup and split into multiple files and easier #ifdef
usage.


12345678910>>...16