lua-users home
lua-l archive

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


On Tue, 2011-02-08 at 08:41 +0200, steve donovan wrote:
> On Mon, Feb 7, 2011 at 10:21 PM, Petite Abeille
> <petite.abeille@gmail.com> wrote:
> > While we are at it, here are my very own 500 lines worth of dinky HTTP server... and it doesn't even need LuaSocket :P
> 
> Man, that is such cool code that I don't understand how it actually
> works ;)  In particular, how does it do the basic networking layer?

Reading the source, it looks like it uses by default io.stdin and
io.stdout, or anything that supports the :read() and :write() methods
(i.e. sockets). 

Does that mean that it can work cleanly with FCGI as a "sub-server"?