guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awg-mod_lisp: mod_lisp for R5RS Scheme


From: R. Mattes
Subject: Re: awg-mod_lisp: mod_lisp for R5RS Scheme
Date: Tue, 20 Sep 2005 11:54:08 +0200

On Mon, 2005-09-19 at 16:49 -0400, Alan Grover wrote:
> Announcing the release of awg-mod_lisp-0.2 (recently
> awg-mod_lisp-for-guile).
> 
> Implements the elements of the scheme side of the mod_lisp2 protocol.
> Institutes as little policy as possible.
> 
> Factored the protocol into a R5RS file.
> 
> Also a test-daemon and higher-level daemon interface (in Guile).
> 
> Available at
> https://sourceforge.net/project/showfiles.php?group_id=141512&package_id=163742

Alan, there seem to be a vew bugs in this code.
First, the guile-specific module contains '(use-modules (awg debug))'
and a commented-out trivial debugging version. Since you don't
distribute your debugging module with the code it might be better to
have the 'use-module' part commented out and the trivial debugging
function enabled.
Second: i don't understand the following:

(let* (
         (fn-name (or (and (pair? argv) (car argv) "once")))
 ....

Isn't there a second argument to 'or' missing?
In the context of your sample code this always evals to "once".
Kind of frustrating since the daemon only handles one request
and your suggested test 

 ( sleep 1 ; wget -q -t 1 --post-data "post-data&foryou" ...
 
fails.

 Cheers Ralf Mattes







reply via email to

[Prev in Thread] Current Thread [Next in Thread]