
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 ab -n 1000 -c 10 https://localhost:4242/index.html ab -n 1000 -c 10 http://localhost:4242/index.html

José Ronquillo <josrr@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.

I have made a fresh release containing the patch. Please report if you have further issues. -Hans 2014/1/18 Stas Boukarev <stassats@gmail.com>
José Ronquillo <josrr@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.
participants (3)
-
Hans Hübner
-
José Ronquillo
-
Stas Boukarev