Comparison

plugins/mod_tls.lua @ 4188:a395540f25e3

mod_tls: Drop 'TLS negotiation started for ...' to debug level from info
author Matthew Wild <mwild1@gmail.com>
date Tue, 22 Feb 2011 18:29:35 +0000
parent 3583:ef86ba720f00
child 4244:19c9bf88ec89
comparison
equal deleted inserted replaced
4187:1cad1c3495dd 4188:a395540f25e3
45 (origin.sends2s or origin.send)(starttls_proceed); 45 (origin.sends2s or origin.send)(starttls_proceed);
46 origin:reset_stream(); 46 origin:reset_stream();
47 local host = origin.to_host or origin.host; 47 local host = origin.to_host or origin.host;
48 local ssl_ctx = host and hosts[host].ssl_ctx_in or global_ssl_ctx; 48 local ssl_ctx = host and hosts[host].ssl_ctx_in or global_ssl_ctx;
49 origin.conn:starttls(ssl_ctx); 49 origin.conn:starttls(ssl_ctx);
50 origin.log("info", "TLS negotiation started for %s...", origin.type); 50 origin.log("debug", "TLS negotiation started for %s...", origin.type);
51 origin.secure = false; 51 origin.secure = false;
52 else 52 else
53 origin.log("warn", "Attempt to start TLS, but TLS is not available on this %s connection", origin.type); 53 origin.log("warn", "Attempt to start TLS, but TLS is not available on this %s connection", origin.type);
54 (origin.sends2s or origin.send)(starttls_failure); 54 (origin.sends2s or origin.send)(starttls_failure);
55 origin:close(); 55 origin:close();