diff -ur openradius-0.9.7/common/constants.h openradius-0.9.7b/common/constants.h --- openradius-0.9.7/common/constants.h Fri Sep 20 13:02:51 2002 +++ openradius-0.9.7b/common/constants.h Mon Jun 23 15:18:24 2003 @@ -12,6 +12,7 @@ * 2001/11/29 - EvB - Added some attributes from RAD-ATR as well as the * four 'anonymous' ones from space INTERNAL * 2002/03/20 - EvB - Added limit on shared send queue length + * 2003/06/23 - EvB - Increased C_MAX_MSGSIZE */ @@ -27,7 +28,7 @@ /* Maximum interface message size (ascii or binary) */ -#define C_MAX_MSGSIZE 8192 /* Seems reasonable */ +#define C_MAX_MSGSIZE 16384 /* Seems reasonable */ /* Maximum jobs on an interface's shared send queue */ diff -ur openradius-0.9.7/common/subprocs.h openradius-0.9.7b/common/subprocs.h --- openradius-0.9.7/common/subprocs.h Fri Sep 20 13:02:52 2002 +++ openradius-0.9.7b/common/subprocs.h Mon Jun 23 15:18:24 2003 @@ -12,6 +12,7 @@ * History: * 2001/07/18 - EvB - Created all over based on test/newproctest.c * 2002/03/19 - EvB - Added support for custom working directory + * 2003/06/23 - EvB - Changed ring size to C_MAX_MSGSIZE instead of fixed value */ @@ -54,7 +55,7 @@ /* Ring size - send/receive window, really */ -#define PR_RING_SIZE 4000 +#define PR_RING_SIZE C_MAX_MSGSIZE /* Timers */ diff -ur openradius-0.9.7/server/jobs.c openradius-0.9.7b/server/jobs.c --- openradius-0.9.7/server/jobs.c Thu Dec 12 18:06:43 2002 +++ openradius-0.9.7b/server/jobs.c Mon Jun 23 13:56:41 2003 @@ -239,7 +239,7 @@ if (i->sendqlen >= C_MAX_SENDQLEN) { msg(F_PROC, L_NOTICE, "job_toiface: Shared queue for interface " "%s overflowing (%d) - dropping job!\n", - i->sendqlen); + i->name, i->sendqlen); job_del(j); return; }