[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7438: 23.2; [PATCH] lisp/gnus/pop3.el fix STLS command ordering

From: Chong Yidong
Subject: bug#7438: 23.2; [PATCH] lisp/gnus/pop3.el fix STLS command ordering
Date: Fri, 19 Nov 2010 11:25:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Yuri Karaban <address@hidden> writes:

> Starttls (STLS) is not working with pop3.
> There is a bug in current implementation.
> Current implementation sends STLS just after opening connection.
> As result connection hangs (pop3.el tries to read a greeting message
> after STLS, but all POP3 servers I tried does not send anything after
> successful negotiation). On other hand, ignoring server greeting leads
> to mistreating server greeting (+OK <timestamp>) as successful response
> to STLS command. In this case negotiation starts too early (before
> reading real response to STLS).
> I've attached a patch which fixes the problem. The server greeting got
> read first (as with plain POP3) and only after receiving greeting STLS
> issued and TLS negotiation starts.
> I hope much this would be fixed in next minor release of emacs.

Looks reasonable.  I've checked your patch into the emacs-23 branch.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]