lua-users home
lua-l archive

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

> Ditto for Nanoki. One can simply use the build-in TCPServer and be done,
> e.g.:
> lua Nanoki.lua . localhost 1080

And on hosts that do not allow you to run your own process, use your
own port, or configure the server?

The nice thing about WSAPI is that you can _trivially_ switch between
Xavante, proxied Xavante, CGI, FastCGI, etc. depending on what you
have and what makes sense.

If HTTP.lua+TCPServer is actually better than Xavante, then perhaps we
should write an HTTP.lua launcher for WSAPI. It would take 20-100
lines of code, and all the WSAPI-based apps can enjoy the benefits of
HTTP.lua+TCPServer without any modifications.

- yuri