Article delegate-en/1583 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1582@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: NNTP Max Mount point
27 Mar 2002 04:19:06 GMT feedback@delegate.org (Yutaka Sato)


Hi,

On 03/27/02(12:55) you Chris Lee <paecqbdyi-mnvdjl634rfr.ml@ml.delegate.org> wrote
in <_A1582@delegate-en.ML_>
 |SERVER=nntp
 |MOUNT="= nntp://wonderspace.net/wonder."
 |MOUNT="= nntp://news.3home.net/3"
 |MOUNT="= nntp://news.hkpcug.org"
 |MOUNT="= nntp://news.siukeung.com/siukeung."
 |MOUNT="= nntp://www.delegate.org/mail-lists.delegate-en"
 |MOUNT="= nntp://news.netgod.org.hk/netgod."
 |MOUNT="= nntp://newsgroup.com.hk/newsgroup."
 |#MOUNT="= nntp://news.popart.com.hk/photo."
...
 |If I comment one of mount line,  for example
 |# MOUNT="= nntp://news.siukeung.com/siukeung."
 |and restart the program, it work again!
 |
 |So is there any limitation for number of mount line for NNTP config?

Thank you for your notice.
I found a code stuff in src/nntp.c which limits the max. number of
NNTP servers to seven exactly as you noticed.  At least the code
must be fixed as the enclosed patch, though I don't know this is
enough to fix it.

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan

*** ../delegate7.9.2/src/nntp.c	Fri Mar  8 11:37:43 2002
--- nntp.c	Wed Mar 27 13:15:31 2002
***************
*** 3692,3699 ****
  {	NewsServer *ns;
  	FILE *tc = nc->nc_wfp;
  	FILE *fc = nc->nc_rfp;
! 	FILE *fps[8],*afp;
! 	int si,nact,ri,nready,rdv[8],siv[8],pollstart;
  	char com[128],arg[128];
  	char *dp;
  	int gotEOF,gotEOF1;
--- 3692,3699 ----
  {	NewsServer *ns;
  	FILE *tc = nc->nc_wfp;
  	FILE *fc = nc->nc_rfp;
! 	FILE *fps[1+NSERVER],*afp;
! 	int si,nact,ri,nready,rdv[1+NSERVER],siv[1+NSERVER],pollstart;
  	char com[128],arg[128];
  	char *dp;
  	int gotEOF,gotEOF1;

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V