Auth: increase size of DNS resolver answer buffer
authorNiklas Jonsson <niklas.jonsson@hp.com>
Wed, 20 Jun 2012 14:03:54 +0000 (10:03 -0400)
committerDerrick Brashear <shadow@dementix.org>
Wed, 20 Jun 2012 21:01:25 +0000 (14:01 -0700)
commit3c16a2b296722f548309b10e6744639608c0861b
treee544506b648654058d1137bfff4a5d5e1f06a990
parent5019ecd5fad0846abcd92835411c7b0f3f2170ca
Auth: increase size of DNS resolver answer buffer

This patchset increases the size of the res_search() answer
buffer from 1024 octets to 4096 octets.   This is not a proper
long term solution but will permit sites with longer response
lists to make use of SRV and AFSDB records.

This patchset only impacts UNIX systems.  Windows uses the
Win32 DNS resolver which dynamically allocates memory based
upon the size of the response.

FIXES 130936

Change-Id: I8434e128fb5918839c216209851b37a17cf94065
Reviewed-on: http://gerrit.openafs.org/7575
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/auth/cellconfig.c