mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
r16473@catbus: nickm | 2007-11-06 15:55:35 -0500
Increment MAX_ADDRS in evdns so as to be quite large. This is not as good as a general solution, but it may be good enough for practical use. svn:r479
This commit is contained in:
parent
d257a4c0d6
commit
81802bf98c
@ -36,3 +36,4 @@ Changes in current version:
|
||||
o Begin using libtool's library versioning support correctly. If we don't mess up, this will more or less guarantee binaries linked against old versions of libevent continue working when we make changes to libevent that do not break backward compatibility.
|
||||
o Fix evhttp.h compilation when TAILQ_ENTRY is not defined.
|
||||
o Small code cleanups in epoll_dispatch().
|
||||
o Increase the maximum number of addresses read from a packet in evdns to 32.
|
2
evdns.c
2
evdns.c
@ -136,7 +136,7 @@ typedef unsigned int uint;
|
||||
#define u16 uint16_t
|
||||
#define u8 uint8_t
|
||||
|
||||
#define MAX_ADDRS 4 /* maximum number of addresses from a single packet */
|
||||
#define MAX_ADDRS 32 /* maximum number of addresses from a single packet */
|
||||
/* which we bother recording */
|
||||
|
||||
#define TYPE_A EVDNS_TYPE_A
|
||||
|
Loading…
x
Reference in New Issue
Block a user