Hello:
On Wed, 2006-08-16 at 12:21 +0200, Edi Weitz wrote:
This was probably supposed to go to the mailing list.
email message attachment
-------- Forwarded Message -------- From: Xristos Kalkanis ccalca@essex.ac.uk To: keithorpen@gmail.com Cc: edi@agharta.de Subject: tbnl/sbcl problems Date: Wed, 16 Aug 2006 04:27:38 +0100
On Mon, 7 Aug 2006 12:25:03 -0400, "Keith Orpen" <keithorpen at gmail.com> wrote:
So I finally got tbnl to run smoothly, using lispworks personal. It loads up on SBCL but there is something funny going on with the test pages. I can load one of these pages okay, but every second time i reload it, the browser just hangs there. when i reload it once again, then it works but the test page access count (info.html) has only increased by one, as if the previous request had never happened. I initially thought it was because i was on mac/intel, however tbnl/sbcl had the same problems hosted on linux, and it made no difference moving to the latest sbcl 0.9.15 either.
what could be wrong?
I did some tests and found the following things:
- When I use the stand-alone tbnl server the bad behavior happens .
- When using Apache2 mod_lisp2 to comunicate with sbcl everything works well
What do you think?
I'm running the latest Debian Sid packages.
In latest kmrcl, file sockets.lisp, line 118 (function close-active- socket you need to change #+sbcl (sb-bsd-sockets:socket-close socket) to (close socket)).
After i did the change you say :
On: cl-kmrcl: /usr/share/common-lisp/source/kmrcl/sockets.lisp
I did:
(defun close-active-socket (socket) ;;#+sbcl (sb-bsd-sockets:socket-close socket) #+sbcl (close socket)) #-sbcl (close socket))
Everything works well :)
Thank you!