Kaydet (Commit) 2ccef1c9 authored tarafından Michael Stahl's avatar Michael Stahl

swext: add a logging out stream to help debugging TLS connections

Change-Id: Idbabae3edad5e95a37fa9834d24a72ebd13087ae
üst 4b6ceed4
......@@ -639,6 +639,9 @@ public class Helper
((HttpsURLConnection) conn).setSSLSocketFactory(new WikiProtocolSocketFactory());
}
// enable this to help debug connections where TLS gets in the way
// ((HttpsURLConnection) conn).setSSLSocketFactory(new LoggingProtocolSocketFactory());
conn.setRequestMethod(method);
// note: don't connect yet so that the caller can do some further setup
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment