Mercurial Hosting > luan
diff src/luan/modules/Rpc.luan @ 1596:a9ff30fb5d89
add Hosting.push_file
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 26 Mar 2021 20:10:44 -0600 |
parents | c922446f53aa |
children | 8df0b80e715e |
line wrap: on
line diff
--- a/src/luan/modules/Rpc.luan Sun Mar 21 16:13:05 2021 -0600 +++ b/src/luan/modules/Rpc.luan Fri Mar 26 20:10:44 2021 -0600 @@ -175,7 +175,12 @@ if Rpc.cipher_suites == nil then socket = Socket.new(domain,Rpc.port) else - socket = IoUtils.getSSLSocketFactory().createSocket(domain,Rpc.port) + try + socket = IoUtils.getSSLSocketFactory().createSocket(domain,Rpc.port) + catch e + e.java.showCause = false + e.throw() + end socket.setEnabledCipherSuites(Rpc.cipher_suites) end local call = rpc_caller(socket)