Yang Tse
|
3a55bbebf1
|
Use build-time configured ares_socklen_t instead of socklen_t
|
16 years ago |
Dan Fandrich
|
9c51eb28fc
|
Make use of gethostname() conditional on it being available
|
16 years ago |
Yang Tse
|
898e10bd60
|
improve detection of getservbyport_r()
|
16 years ago |
Yang Tse
|
f214b583f5
|
adjust inclusion of "nameser.h"
|
16 years ago |
Yang Tse
|
f2582d6949
|
include header file only when available
|
16 years ago |
Yang Tse
|
2cb5cbba34
|
move inclusion of ares_private.h last
|
16 years ago |
Steinar H. Gunderson
|
b7dec81498
|
Another timeout fix in ares_getnameinfo().
|
17 years ago |
Steinar H. Gunderson
|
d5919bbe17
|
Send the timeout count in ares_getnameinfo().
|
17 years ago |
Steinar H. Gunderson
|
50ba81cd23
|
Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
|
17 years ago |
Gunter Knauf
|
316c126447
|
few minor changes to make ares compile for NetWare CLIB architecture.
|
18 years ago |
Gisle Vanem
|
a627160041
|
Removed inclusion of <sys/types.h> in .c-files
since it's already included through "setup.h".
|
18 years ago |
Yang Tse
|
b9c00a23ce
|
compiler warning fix
|
18 years ago |
Yang Tse
|
12393dcd5c
|
compiler warning fix
|
18 years ago |
Yang Tse
|
7fe31e4d00
|
compiler warning fix
|
18 years ago |
Yang Tse
|
145117174e
|
compiler warning fix
|
18 years ago |
Yang Tse
|
fb38ee15e2
|
compiler warning fix
|
18 years ago |
Yang Tse
|
3c90d9d6d3
|
fix compiler warning "discards qualifiers from pointer target type" in debug builds
|
18 years ago |
Gisle Vanem
|
4df9c29084
|
Fixed "'x' might be used uninitialized in this function" warning.
Removed trailing whitespace.
|
18 years ago |
Daniel Stenberg
|
1bec3073dc
|
Brad Spencer did
o made ares_version.h use extern "C" for c++ compilers
o fixed compiler warnings in ares_getnameinfo.c
o fixed a buffer position init for TCP reads
|
19 years ago |
Yang Tse
|
ed8eeae98e
|
Undo last changes
|
19 years ago |
Yang Tse
|
b4e6ca49d8
|
Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct.
|
19 years ago |
Yang Tse
|
6681cc24e9
|
Modified lookup_service() to avoid the risk of a potential buffer overflow
|
19 years ago |
Yang Tse
|
bc727dff6a
|
Fix compiler warning
|
19 years ago |
Daniel Stenberg
|
1638613891
|
Change based on Yang Tse's excellent fix to reduce buffer overflow risk and
fixing a compiler warning in the append_scopeid() function.
|
19 years ago |
Daniel Stenberg
|
fab5b5e116
|
avoid doing #if an a predef symbol that might not be defined
|
19 years ago |
Gisle Vanem
|
af93e3305e
|
Added CVS id.
Avoid warning 'x might be used uninitialized in this function'.
|
19 years ago |
Daniel Stenberg
|
876ea69745
|
Ok, based on the online docs for AIX'es getservbyport_r() I adjusted to code
to do (what I believe is) "right". See docs on:
http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.aix.doc/libs/commtrf2/getservbyport_r.htm
|
19 years ago |
Daniel Stenberg
|
209e8147a1
|
1 - attempted fix of uninitialized variable
2 - indented and edited to fit better within 80 columns
3 - fixed possible buffer overflow in the service name lookup function
|
19 years ago |
Dominick Meglio
|
6afd5c16d3
|
Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment
|
19 years ago |
Dominick Meglio
|
209b6c1af7
|
More of the same
|
20 years ago |
Dominick Meglio
|
4ee0e56440
|
More compiler warning cleanups
|
20 years ago |
Dominick Meglio
|
ef16aa0669
|
Cleaned up some compile warnings
|
20 years ago |
Dominick Meglio
|
aba0b775ea
|
Added ares_getnameinfo which mimics the getnameinfo API
|
20 years ago |