git-send-email: Fix authenticating on some servers when using TLS.
authorRobert Shearman <robertshearman@gmail.com>
Wed, 9 Jul 2008 21:39:40 +0000 (22:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Jul 2008 22:53:10 +0000 (15:53 -0700)
commit9d1ccf5e640bdaeddd01a86b40b4c0980c1ef642
treee9407349cb0f3e4d597a30f4aad86979f43d1b47
parent607bb3ff885727a099b39e16abd86f17ae502306
git-send-email: Fix authenticating on some servers when using TLS.

Send HELO again after a successful STARTTLS command to refresh the list of
extensions. These may be different to what is returned over a clear
connection (for example the AUTH command may be accepted over a secure
connection, but not over a clear connection).

Furthermore, this behaviour is recommended by RFC 2487
(http://www.ietf.org/rfc/rfc2487.txt).

Signed-off-by: Robert Shearman <robertshearman@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl