INN commit: trunk/innd (art.c)
INN Commit
Russ_Allbery at isc.org
Fri Sep 8 05:10:04 UTC 2006
Date: Thursday, September 7, 2006 @ 22:10:03
Author: eagle
Revision: 7574
ARTparsebody can set the state to CSgotlargearticle as well as
CSgotarticle, so don't set CSgotlargearticle back to CSeatarticle
in ARTchecksize. When we do that, we time out waiting for the remote
host to send more data, when it's actually finished.
Thanks very much to Fred Senault for tracking this down.
Modified:
trunk/innd/art.c
-------+
art.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: art.c
===================================================================
--- art.c 2006-09-07 04:00:34 UTC (rev 7573)
+++ art.c 2006-09-08 05:10:03 UTC (rev 7574)
@@ -818,7 +818,7 @@
size = cp->Next - cp->Start;
if (innconf->maxartsize > 0 && size > (size_t) innconf->maxartsize) {
- if (cp->State == CSgotarticle)
+ if (cp->State == CSgotarticle || cp->State == CSgotlargearticle)
cp->State = CSgotlargearticle;
else
cp->State = CSeatarticle;
More information about the inn-committers
mailing list