]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
3948. [port] solaris: RCVBUFSIZE was too large on Solaris with
authorMark Andrews <marka@isc.org>
Mon, 8 Sep 2014 23:41:55 +0000 (09:41 +1000)
committerMark Andrews <marka@isc.org>
Mon, 8 Sep 2014 23:41:55 +0000 (09:41 +1000)
                        --with-tuning=large. [RT #37059]

CHANGES
lib/isc/unix/socket.c

diff --git a/CHANGES b/CHANGES
index f34d7f2c96e9f91b671f2243eb1fc96b4926e591..1aec1001327f4444780ea68d0bedb39093dda09c 100644 (file)
--- 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]
 
index 2452d250a07aa51652417471897b10877bbc380a..7a9e625caefba7ac3318de9ffe42f102af08a9aa 100644 (file)
@@ -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 */