diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-07-12 09:50:48 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-07-12 09:50:48 +0000 |
commit | 4fd717409a3543061f512dda1e3dacda37e02995 (patch) | |
tree | 84804ed5f2c388c0e5c38244882c7767b0e216df /pjlib-util/include | |
parent | 132cbda37abce5fd5703f696ee8fb42cfd6fd41f (diff) |
Ticket #560: Optimize the memory usage of DNS resolver
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2124 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util/include')
-rw-r--r-- | pjlib-util/include/pjlib-util/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib-util/include/pjlib-util/config.h b/pjlib-util/include/pjlib-util/config.h index 8c1030a7..1554bdbf 100644 --- a/pjlib-util/include/pjlib-util/config.h +++ b/pjlib-util/include/pjlib-util/config.h @@ -178,10 +178,10 @@ * size (PJ_DNS_RESOLVER_MAX_UDP_SIZE), since the DNS replicator function * (#pj_dns_packet_dup()) is also capable of performing name compressions. * - * Default: 1000 (as a broad guidance, 400 is good for 4 SRV entries). + * Default: 512 */ #ifndef PJ_DNS_RESOLVER_RES_BUF_SIZE -# define PJ_DNS_RESOLVER_RES_BUF_SIZE 1000 +# define PJ_DNS_RESOLVER_RES_BUF_SIZE 512 #endif |