Make open-tcp-stream use Java sockets for SSL streams.
The function switch-open-tcp-stream-with-ssl-to-java
makes open-tcp-stream use Java sockets for SSL streams.
The default state corresponds to on being nil
, except on Android when switch-open-tcp-stream-with-ssl-to-java
is called before delivering to Android (if the module "comm" was loaded) to switch the state to t
. The default value of on is t
.
Once the state switches to t
, when open-tcp-stream is called with ssl-ctx non-nil, it uses a Java socket instead of ordinary socket to implement the stream. The resulting stream has some limitations, in particular cl:listen
does not work reliably on it. See Socket streams with Java sockets and SSL on Android for details.
open-tcp-stream
open-tcp-stream-using-java
Socket streams with Java sockets and SSL on Android
LispWorks User Guide and Reference Manual - 13 Feb 2015