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

David Lichteblau david at lichteblau.com
Sun Apr 3 13:26:26 UTC 2011


Hi,

Quoting David Lichteblau (david at lichteblau.com):
> Quoting JTK (jetmonk at gmail.com):
[...]
> > I've appended a test case in which I think I may have found the source of
> > hunchentoot's problems with ssl and concurrency.
> 
> Does the attached patch help?

I have committed an updated version of the patch to CL+SSL CVS now.

This version works now because it avoids use of buggy code in the
bordeaux-threads backend for SBCL.

It passes ab testing on SBCL for me; I haven't rechecked other Lisps
yet.

> 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.


d.




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