innfeed problem with 439 response

Katsuhiro Kondou kondou at nec.co.jp
Sun Sep 10 15:57:20 UTC 2000


In article <200009081519.KAA02103 at hank.cs.utexas.edu>,
	"Fletcher Mattox" <fletcher at cs.utexas.edu> wrote;

} Upon upgrading from a Mar 13 snapshot to 2.3, innfeed consistently
} faults in processResponse439() when sending an article with a very long
} message-id to an nntprelay site (always news.maxwell.syr.edu).

Try attached which should fix the problem.  Please tell me if it works.
Then, I'll commit.
-- 
Katsuhiro Kondou

--- innfeed/connection.c.orig	Sat Aug 19 00:20:57 2000
+++ innfeed/connection.c	Mon Sep 11 00:54:03 2000
@@ -2746,12 +2746,17 @@
         }
       else
         {
-          cxn->checksRefused++ ;
-          remArtHolder (artHolder, &cxn->checkRespHead, &cxn->articleQTotal) ;
-          if (cxn->articleQTotal == 0)
-            cxnIdle (cxn) ;
-          hostArticleNotWanted (cxn->myHost, cxn, artHolder->article);
-          delArtHolder (artHolder) ;
+          if ((artHolder = artHolderByMsgId (msgid, cxn->checkRespHead)) == NULL)
+            noSuchMessageId (cxn,439,msgid,response) ;
+          else
+            {
+              cxn->checksRefused++ ;
+              remArtHolder (artHolder, &cxn->checkRespHead, &cxn->articleQTotal) ;
+              if (cxn->articleQTotal == 0)
+                cxnIdle (cxn) ;
+              hostArticleNotWanted (cxn->myHost, cxn, artHolder->article);
+              delArtHolder (artHolder) ;
+            }
         }
     }
   else if (msgid == NULL || strlen (msgid) == 0 ||



More information about the inn-workers mailing list