From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25615 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: hang on entry to group Date: 02 Oct 1999 18:05:10 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <5b670ph10p.fsf@giga.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035162969 14952 80.91.224.250 (21 Oct 2002 01:16:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:16:09 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA10110 for ; Sat, 2 Oct 1999 18:07:40 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAB18583; Sat, 2 Oct 1999 17:07:00 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 02 Oct 1999 17:07:21 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id RAA01564 for ; Sat, 2 Oct 1999 17:07:11 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA10102 for ; Sat, 2 Oct 1999 18:05:12 -0400 (EDT) Original-Received: from giga.cs.rochester.edu (giga.cs.rochester.edu [192.5.53.186]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id SAA01086 for ; Sat, 2 Oct 1999 18:05:11 -0400 (EDT) Original-Received: (from zsh@localhost) by giga.cs.rochester.edu (8.9.1b+Sun/Q++) id SAA03051; Sat, 2 Oct 1999 18:05:10 -0400 (EDT) Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: Laura Conrad's message of "02 Oct 1999 15:17:36 -0400" Original-Lines: 44 User-Agent: Gnus/5.07009701 (Pterodactyl Gnus v0.97.1) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25615 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25615 --=-=-= >>>>> "LC" == Laura Conrad writes: LC> pgnus 0.97 is hanging on entry to comp.os.linux.announce at the LC> moment. The backtrace is: LC> Signaling: (quit) LC> accept-process-output(# 1) LC> nntp-accept-process-output(#) LC> nntp-send-command-nodelete(" ?\n\\. ?\n" "XOVER" "117-117") LC> nntp-send-xover-command(117 117) LC> nntp-retrieve-headers-with-xover((117 122 356 357 358 359 360 361 362) nil) [...] I guess I've located the bug. The ChangeLog and patch follow and have been committed to CVS. LC> [lconrad@serpent tmp]$ telnet localhost 119 LC> Trying 127.0.0.1... LC> Connected to localhost. LC> Escape character is '^]'. LC> 200 Leafnode NNTP Daemon, version 1.9.4 running at serpent.local LC> group comp.os.linux.announce LC> 211 278 85 362 comp.os.linux.announce group selected LC> xover 117-117 LC> 420 No articles in specified range. The response code 420 is a bit weird. In nntp-send-xover-command, Gnus try to find out the XOVER command when nntp-server-xover is try. The response code 420 cause Gnus disable XOVER, while here XOVER is right command. [...] -- Shenghuo ZHU 1999-10-02 Shenghuo ZHU * nntp.el (nntp-send-xover-command): Wait for nothing if not wait-for-reply. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=97-zsh3.diff Index: nntp.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nntp.el,v retrieving revision 5.20 diff -u -r5.20 nntp.el --- nntp.el 1999/09/27 15:19:05 5.20 +++ nntp.el 1999/10/02 21:55:07 @@ -1189,7 +1189,7 @@ (nntp-send-command-nodelete "\r?\n\\.\r?\n" nntp-server-xover range) ;; We do not wait for the reply. - (nntp-send-command-nodelete "\r?\n\\.\r?\n" nntp-server-xover range)) + (nntp-send-command-nodelete nil nntp-server-xover range)) (let ((commands nntp-xover-commands)) ;; `nntp-xover-commands' is a list of possible XOVER commands. ;; We try them all until we get at positive response. --=-=-=--