From: Mark Andrews Date: Mon, 8 Sep 2014 23:41:55 +0000 (+1000) Subject: 3948. [port] solaris: RCVBUFSIZE was too large on Solaris with X-Git-Tag: v9.11.0a1~1378^2~44 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=52131a835133a76cb62d4a7d8bcf5fe7bf858858;p=thirdparty%2Fbind9.git 3948. [port] solaris: RCVBUFSIZE was too large on Solaris with --with-tuning=large. [RT #37059] --- diff --git a/CHANGES b/CHANGES index f34d7f2c96e..1aec1001327 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3948. [port] solaris: RCVBUFSIZE was too large on Solaris with + --with-tuning=large. [RT #37059] + 3947. [cleanup] Set the executable bit on libraries when using libtool. [RT #36786] diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index 2452d250a07..7a9e625caef 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -309,7 +309,11 @@ typedef isc_event_t intev_t; * The size to raise the receive buffer to (from BIND 8). */ #ifdef TUNE_LARGE +#ifdef sun +#define RCVBUFSIZE (1*1024*1024) +#else #define RCVBUFSIZE (16*1024*1024) +#endif #else #define RCVBUFSIZE (32*1024) #endif /* TUNE_LARGE */