You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cl+ssl has been having difficulties on Windows[1], and becasue of that, Drakma will also fail dealing with TLS resources when used on Windows.
Although Dexador also leverages cl+ssl, on Windows it will work since it uses winhttp[2].
Would it be possible for Drakma to consider using winhttp instead of cl+ssl on Windows?
A cleaner alternative, at least on Lispworks: there would be no need to use cl+ssl with Lispworks, since Lispworks has built-in SSL so CL+SSL is not necessary[3].
[1]: cl+ssl requires openssl binaries installed on your system: on Windows this will quickly become a poor experience. Binaries are scattered, it is difficult to mix and match them with a particular platform and version, and at every update it will likely break.
[2]: winhttp provides a set of cffi bindings to the WinHttp API, a fully featured HTTP client (WinHttp.dll) available on all Windows systems, no installing third party libraries is required.
[3]: See for example this MR to fix that on Dexador's side: fukamachi/dexador#83
The text was updated successfully, but these errors were encountered:
I have previously developed two alternative approaches to this problem, linked above (a high level approach by binding to winhttp, and a low level approach by using schannel API). I have developed a fork of drakma (and hunchentoot) which use schannel instead of cl+ssl. The forks are more proof of concept than the finished article. Unfortunately I don't have as much time for this as I used to, but I am willing to help integrate these patches into master. Maybe as a first attempt we could make it a compile option based on some feature flag. I think long-term it is a better option for windows users, but it is a considerable behaviour change which may surprise some.
cl+ssl
has been having difficulties on Windows[1], and becasue of that, Drakma will also fail dealing with TLS resources when used on Windows.Although Dexador also leverages
cl+ssl
, on Windows it will work since it uses winhttp[2].Would it be possible for Drakma to consider using
winhttp
instead ofcl+ssl
on Windows?A cleaner alternative, at least on Lispworks: there would be no need to use
cl+ssl
with Lispworks, since Lispworks has built-in SSL so CL+SSL is not necessary[3].[1]:
cl+ssl
requires openssl binaries installed on your system: on Windows this will quickly become a poor experience. Binaries are scattered, it is difficult to mix and match them with a particular platform and version, and at every update it will likely break.[2]: winhttp provides a set of cffi bindings to the WinHttp API, a fully featured HTTP client (WinHttp.dll) available on all Windows systems, no installing third party libraries is required.
[3]: See for example this MR to fix that on Dexador's side: fukamachi/dexador#83
The text was updated successfully, but these errors were encountered: