-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https connection with cl-async #146
Comments
I should mention that, the cl-async code does work with other SSL sites, such as en.wikipedia.org |
It looks to me like this has to do with SNI being setup correctly, I ran across this while trying to debug orthecreedence/carrier#16 |
I came up with a fix, although it's a hack, if I add the following lines just before https://github.com/orthecreedence/cl-async/blob/master/src/ssl/tcp.lisp#L337 , it works: (cffi:with-foreign-string (host-f host)
(cl+ssl::ssl-set-tlsext-host-name ssl host-f)) |
The attached patch adds the necessary definitions to make SNI work (use |
I think this one might be finished too? |
This still happens with some websites. While the OP site does work, e.g. |
I have issues connecting to certain SSL servers using cl-async, the code is here: http://paste.lisp.org/display/343066
Basically, this doesn't work, I don't get any output from the read callback.
However, using cl+ssl directly does work:
The text was updated successfully, but these errors were encountered: