[tbnl-devel] [Xristos Kalkanis] tbnl/sbcl problems
Erick Ivaan Lopez Carreon
erick at fsl.org.mx
Wed Aug 16 16:13:15 UTC 2006
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 at essex.ac.uk>
> > To: keithorpen at gmail.com
> > Cc: edi at 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
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 :
(defun close-active-socket (socket)
;;#+sbcl (sb-bsd-sockets:socket-close socket)
#+sbcl (close socket))
#-sbcl (close socket))
Everything works well :)
Erick Ivaan Lopez Carreon -- erick at fsl.org.mx
PGP Key 1024D/9741C03A 2004-11-19
Key fingerprint = 1764 3C6F B433 B2DD 9029 98B1 8E6B 58D3 9741 C03A
Participa en la FUNDACION DE SOFTWARE LIBRE, A.C.
Somos una asociación civil dedicada a promover, difundir y apoyar el uso
y desarrollo del Software Libre en México.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Tbnl-devel