Date: Sun, 8 Apr 2001 12:21:50 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/rpc rpc_generic.c Message-ID: <200104081921.f38JLpA12277@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2001/04/08 12:21:50 PDT
Modified files:
lib/libc/rpc rpc_generic.c
Log:
The maximum RPC message size was set at 8k for UDP. This is lower
than the default buffer size in the old RPC code (8800 bytes), and
it could not be overriden by the application. This caused problems
with CFS (/usr/port/security/cfs).
Change this default back to UDPMSGSIZE (8800 bytes), but more
importantly, allow applications to use larger message sizes for
all protocols if desired. Choose an arbitrary maximum message size
of 256k instead of using the default as the maximum (which is
silly).
Reported by: ache
Reviewed by: alfred, Martin Blapp <mb@imp.ch>
Revision Changes Path
1.3 +7 -6 src/lib/libc/rpc/rpc_generic.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104081921.f38JLpA12277>
