Fw: ssl support
Stas Boukarev
stassats at gmail.com
Sat Jan 18 19:43:31 UTC 2014
José Ronquillo <josrr at ymail.com> writes:
> Hello Hans, my setup is
>
>
>
> common lisp implementation: SBCL 1.1.14
> Linux 3.10.5 i686 and Linux 3.10 amd64
>
> Hunchentoot version 1.2.24
>
>
> This code can help you to reproduce the problem:
>
>
>
> (ql:quickload "hunchentoot")
>
> (defvar *acceptor* nil "El acceptor de hunchentoot")
>
> (defun inicia-ht (&optional (port 4242))
> (format t "Iniciando el servidor en el puerto ~5,'0d~%" port)
> (setf *acceptor* (make-instance 'hunchentoot:easy-ssl-acceptor
> :port port
> :ssl-certificate-file "./server.crt"
> :ssl-privatekey-file "./server.key"))
> ; (setf *acceptor* (make-instance 'hunchentoot:easy-acceptor
> ; :port port)
> (setf (hunchentoot:acceptor-document-root *acceptor*) (pathname "/var/www/"))
> (hunchentoot:start *acceptor*))
>
> (inicia-ht)
>
>
>
> You can test with ab with and without ssl
>
That was caused by the SSL stream not being closed. Should be fixed in
git, thanks for the report!
--
With best regards, Stas.
More information about the Tbnl-devel
mailing list