git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] send-email: pass Debug to Net::SMTP::SSL::new
@ 2013-12-01 22:48 Thomas Rast
  2013-12-01 22:48 ` [PATCH 2/3] send-email: --smtp-ssl-cert-path takes an argument Thomas Rast
  2013-12-01 22:48 ` [PATCH 3/3] send-email: set SSL options through IO::Socket::SSL::set_client_defaults Thomas Rast
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Rast @ 2013-12-01 22:48 UTC (permalink / raw)
  To: git; +Cc: Ramkumar Ramachandra

We forgot to pass the Debug option through to Net::SMTP::SSL->new --
which is the same as Net::SMTP->new.  This meant that with security
set to SSL, we would never enable debug output.

Pass through the flag.

Signed-off-by: Thomas Rast <tr@thomasrast.ch>
---
 git-send-email.perl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/git-send-email.perl b/git-send-email.perl
index 3782c3b..f7468b6 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1217,6 +1217,7 @@ sub send_message {
 			$smtp ||= Net::SMTP::SSL->new($smtp_server,
 						      Hello => $smtp_domain,
 						      Port => $smtp_server_port,
+						      Debug => $debug_net_smtp,
 						      ssl_verify_params());
 		}
 		else {
-- 
1.8.5.rc3.5.g2a1fe2f

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

end of thread, other threads:[~2013-12-02 23:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-01 22:48 [PATCH 1/3] send-email: pass Debug to Net::SMTP::SSL::new Thomas Rast
2013-12-01 22:48 ` [PATCH 2/3] send-email: --smtp-ssl-cert-path takes an argument Thomas Rast
2013-12-01 22:48 ` [PATCH 3/3] send-email: set SSL options through IO::Socket::SSL::set_client_defaults Thomas Rast
2013-12-02 10:44   ` Ramkumar Ramachandra
2013-12-02 23:23     ` Thomas Rast

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).