[cl-plus-ssl-devel] ssl crashing in hunchentoot. A solution?

Daniel Brunner daniel at dbrunner.de
Mon Apr 4 09:29:08 UTC 2011


Hello,

I started testing the patch.

On Linux (X8664) it runs without any problems using CCL and SBCL.

On Windows 7 (64 Bit) CCL crashes my application after a while without
any notice. But I have not figured out what is going wrong.

Kind regards, Daniel.

Am 04.04.2011 09:54, schrieb Anton Vodonosov:
> 
> Hello.
> 
> 03.04.2011, 17:26, "David Lichteblau" <david at lichteblau.com>:
> 
>> I have committed an updated version of the patch to CL+SSL CVS now.
> 
> BTW, from your patch I saw you are using git. Haven't you thought to move CL+SSL 
> repository to some git hosting?
> 
>>>  It's done from Lisp, and should really be done directly in C, similar to
>>>  the th-lock.c sample code from OpenSSL.  But let's first check whether
>>>  it addresses the issue at all.
>>
>> If anyone is interested in developing a C version, let's move to that
>> ultimately.  But I've decided to commit the Lisp version for now,
>> because I think that correctness should come before performance in this
>> case.
> 
> IMHO the Lisp solution is better, because it frees end user from compiling
> C code. Before developing a C version, we should be sure that performance
> is really somehow significantly affected by the fact that the locking and thread-id
> callbacks are in Lisp. Anyway, cl+ssl is embedded into systems where everything
> is in Lisp.
> 
> (I wander, why OpenSSL does not include these locking and thread-id functions
> itself and require users to copy/paste the C code from the examples.)
> 
> Best regards,
> - Anton
> 
> _______________________________________________
> cl-plus-ssl-devel mailing list
> cl-plus-ssl-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/cl-plus-ssl-devel





More information about the cl-plus-ssl-devel mailing list