closed while reading response. [cf. <emacs-mime-ja:01978>]
+2005-07-25 Daiki Ueno <ueno@unixuser.org>
+
+ * smtp.el (smtp-read-response): Signal an error if connection is
+ closed while reading response. [cf. <emacs-mime-ja:01978>]
+
2004-11-20 Daiki Ueno <ueno@unixuser.org>
* ntlm.el (ntlm-ascii2unicode): Don't apply zerop to a character.
(while response-continue
(goto-char smtp-read-point)
(while (not (search-forward smtp-end-of-line nil t))
+ (unless (smtp-connection-opened connection)
+ (signal 'smtp-error "Connection closed"))
(accept-process-output (smtp-connection-process-internal connection))
(goto-char smtp-read-point))
(if decoder