From 52131a835133a76cb62d4a7d8bcf5fe7bf858858 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 9 Sep 2014 09:41:55 +1000 Subject: [PATCH] 3948. [port] solaris: RCVBUFSIZE was too large on Solaris with --with-tuning=large. [RT #37059] --- CHANGES | 3 +++ lib/isc/unix/socket.c | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/CHANGES b/CHANGES index f34d7f2c96..1aec100132 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 2452d250a0..7a9e625cae 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 */