]> 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:43:39 +0000 (09:43 +1000)
                        --with-tuning=large. [RT #37059]

(cherry picked from commit 52131a835133a76cb62d4a7d8bcf5fe7bf858858)

CHANGES
lib/isc/unix/socket.c

diff --git a/CHANGES b/CHANGES
index 5577efc3a61e8a2e2c7099333bfa9caf77f5e0a1..3e06736d2b4bf7b2f3fbe530506075f9d89e9def 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]
+
        --- 9.10.1rc2 released ---
 
 3947.  [cleanup]       Set the executable bit on libraries when using
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 */