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!
Edi Weitz wrote:
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)).
This change was introduced some months ago via some patches for better sbcl support sent to the mailing list. With this change, TBNL works ok for me in Linux and OSX under latest sbcl. File uploads used to work under sbcl 0.9.13 but they no longer do (sbcl 0.9.15, linux & osx).
Interesting. With the above change, all the tests, including file uploads, seem to work for me on linux / sbcl-0.9.15 / kmrcl-1.88 / rfc2388-1.2 / mod_lisp2-1.2. The tests all passed both with and without apache in the picture.
Cheers,
-- Travis
On Mon, 21 Aug 2006 15:59:18 +0000, Travis Cross travis@travislists.com wrote:
Edi Weitz wrote:
[...]
I didn't write the part you quoted.