On Fri, Jun 10, 2005 at 01:32:06PM -0500, Ian Bicking wrote:
> I've had a few problems with SCGI 1.2. The attached patch:
>
> * Fixes the connection retrying -- when addr wasn't reconstructed with
> each retry, the second retry would always fail with Invalid Argument
> error, not ECONNREFUSED.
The code worked on Linux. I suspect it did not work on many other
Unix systems. Thanks for pointing out the non-portability. I also
fixed the two mod_scgi modules. Note that you should call close()
on the existing socket before creating a new one.
> * Sends all environmental variables, not just a fixed set.
I think that's a fine idea. I checked in slightly modified version
of your patch to cgi2scgi.
> Another thing that would be nice for mod_scgi would be a different way
> of configuring, more like FastCGI, that might look like:
>
> SCGIMount /url 127.0.0.1:3000
That would indeed be nicer. Unfortunately, I don't have the time
and the Apache knowledge to make this happen.
> Communication over named sockets would also be nice. I haven't really
> used those before; maybe that's only a small change. With named sockets
> you don't need to manage a registry of all the servers and ports on a
> box, which would be helpful.
I don't see how named sockets are any better. You would have to
have a registry of paths instead of ports.
Thanks for your comments and your patch. There should be a new
release on the way soon. In the mean time, you can grab the latest
version here:
http://python.ca/nas/scgi/src/
Cheers,
Neil
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users