[tbnl-devel] Re: New version 0.4.0

Edi Weitz edi at agharta.de
Tue Mar 15 12:39:16 UTC 2005


On Tue, 15 Mar 2005 07:34:29 -0500, Bob Hutchison <hutch at recursive.ca> wrote:

> I changed get-apache-command to (unroll the first iteration of the
> loop and so) read the first line and check to see if it contains a
> space. If the line came from mod_lisp it will not have a space in
> it. If it has a space, we know it wasn't mod_lisp so assume that
> we've got a direct HTTP request. When handling HTTP, call the
> read-request-from-stream/tbnl function (just above
> get-apache-command in modlisp.lisp). This sets up the new
> araneida::*standard-araneida* special variable (to nil) and calls
> araneida::read-request-from-stream/guts which is a new entry point
> in Araneida that I added by breaking up the previous function
> (read-request-from-stream). It then adds a couple of headers (url,
> content-stream, and server-ip-port) that TBNL seems to want. It then
> calls process-apache-command and returns.

So this should basically work without Araneida being there at all,
right?  Or is Araneida involved in sending the reply back to the
browser?



More information about the Tbnl-devel mailing list