Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/lib/libc/rpc 1.5 last minute fix: bump UDP RPC maximum...



details:   https://anonhg.NetBSD.org/src/rev/5dc663d2817f
branches:  netbsd-1-5
changeset: 490268:5dc663d2817f
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Nov 17 15:38:04 2000 +0000

description:
1.5 last minute fix:  bump UDP RPC maximum limit from 8192 to 65508.
Original patch by soda, will be fixed more `appropriately' for 1.5.1,
but this will allow things like rumba and amq to work properly with >8K
RPC-over-UDP request sizes.

diffstat:

 lib/libc/rpc/rpc_generic.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 57eb840f8de6 -r 5dc663d2817f lib/libc/rpc/rpc_generic.c
--- a/lib/libc/rpc/rpc_generic.c        Thu Nov 16 23:36:48 2000 +0000
+++ b/lib/libc/rpc/rpc_generic.c        Fri Nov 17 15:38:04 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc_generic.c,v 1.2 2000/06/11 16:26:53 assar Exp $    */
+/*     $NetBSD: rpc_generic.c,v 1.2.2.1 2000/11/17 15:38:04 tv Exp $   */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -136,7 +136,7 @@
                maxsize = 65536;        /* XXX */
                break;
        case IPPROTO_UDP:
-               maxsize = 8192;         /* XXX */
+               maxsize = 65508;        /* XXX */
                break;
        default:
                maxsize = RPC_MAXDATASIZE;



Home | Main Index | Thread Index | Old Index