Gnus development mailing list
 help / color / mirror / Atom feed
* p0.41 nntp.el hangs
@ 1998-11-08  2:54 Karl Kleinpaste
  1998-11-08  2:58 ` Simon Josefsson
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Kleinpaste @ 1998-11-08  2:54 UTC (permalink / raw)


Pterodactyl Gnus v0.41
XEmacs 20.4 "Emerald" [Lucid] (i386-pc-linux) of Sun May 31 1998 on threepwood.idb.hist.no
200 news.jprc.com InterNetNews NNRP server INN 1.7.2 08-Dec-1997 ready (posting ok).

The modifications p0.40->p0.41 of nntp.el seem to induce a general
hang.  I have 2 NNTP servers, yet "netstat -t" confirms that p0.41 is
only connecting to the first (greeting above) with no data left
in-queue.  I've not chased through nntp.el before; if there's some
particular function that should be traced, let me know and I'll give
it a try with edebug.

Putting p0.40's nntp.el into p0.41 makes things work fine.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: p0.41 nntp.el hangs
  1998-11-08  2:54 p0.41 nntp.el hangs Karl Kleinpaste
@ 1998-11-08  2:58 ` Simon Josefsson
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 1998-11-08  2:58 UTC (permalink / raw)
  Cc: ding

Karl Kleinpaste <karl@jprc.com> writes:

> The modifications p0.40->p0.41 of nntp.el seem to induce a general
> hang.

Until p0.41:

--- nntp.el-    Sun Nov  8 01:28:23 1998
+++ nntp.el     Sun Nov  8 01:47:32 1998
@@ -750,7 +750,7 @@
 This function is supposed to be called from `nntp-server-opened-hook'.
 It will make innd servers spawn an nnrpd process to allow actual article
 reading."
-  (nntp-send-command "^\\.*\r?\n" "MODE READER"))
+  (nntp-send-command "^.*\n" "MODE READER"))
 
 (defun nntp-send-authinfo (&optional send-if-force)
   "Send the AUTHINFO to the nntp server.
@@ -858,7 +858,7 @@
     (when (and (buffer-name pbuffer)
               process)
       (process-kill-without-query process)
-      (nntp-wait-for process "^\\.*\n" buffer nil t)
+      (nntp-wait-for process "^.*\n" buffer nil t)
       (if (memq (process-status process) '(open run))
          (prog1
              (caar (push (list process buffer nil) nntp-connection-alist))


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-08  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-08  2:54 p0.41 nntp.el hangs Karl Kleinpaste
1998-11-08  2:58 ` Simon Josefsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).