Additional logging in case of SSL IOExeption

Signed-off-by: Balint Kovacs <blint@blint.hu>
This commit is contained in:
Balint Kovacs 2011-09-05 15:48:40 +02:00
parent 99e6e89c13
commit d59aa907a8
1 changed files with 2 additions and 1 deletions

View File

@ -181,7 +181,8 @@ public class TcpProxyServerThread extends Thread {
st = (SSLSocket) getSocketFactory(this.keyFile, this.keyPass, this.sessionid).createSocket(this.tunnelHost, this.tunnelPort);
((SSLSocket) st).startHandshake();
} catch (IOException e) {
Log.d("SSLDroid", tunnelName+"/"+sessionid+": SSL failure: " + e.toString());
return;
}
catch (Exception e) {
Log.d("SSLDroid", tunnelName+"/"+sessionid+": SSL failure: " + e.toString());