clienttimeout in readers.conf

Kenichi Okada okada at opaopa.org
Fri Aug 23 16:32:42 UTC 2002


In the message "<sg7kiitctu at opaopa.org>"
Kenichi Okada <okada at opaopa.org> wrote:


> I tried to override a value of clienttimeout in inn.conf
> by a value of clienttimeout in readers.conf,
> but I cannot override it.

The value of clienttimeout in nnrpd.c is not overridden
after authinfo. The value is set at the only out of main loop.

-- 
Kenichi Okada
mailto:okada at opaopa.org

--- nnrpd.c.orig        Sat Aug 24 01:17:06 2002
+++ nnrpd.c     Sat Aug 24 01:20:22 2002
@@ -1400,6 +1400,10 @@
        (*cp->Function)(ac, av);
        if (PushedBack)
            break;
+    if (PERMaccessconf)
+      clienttimeout = PERMaccessconf->clienttimeout;
+    else
+      clienttimeout = innconf->clienttimeout;
     }
 
     Reply("%s\r\n", NNTP_GOODBYE_ACK);



More information about the inn-workers mailing list