PtokaX forum

PtokaX => Feature Proposals => Topic started by: bastya_elvtars on 30 April, 2007, 21:03:41

Title: lua-httpd
Post by: bastya_elvtars on 30 April, 2007, 21:03:41
I think this should be considered for adding:
http://www.steve.org.uk/Software/lua-httpd/

This way, one could run his own http server in Lua. With a little trial and error, things like web registration to the hub or remote control via a web browser could work.
Any ideas/suggestions/opinions?
Title: Re: lua-httpd
Post by: PPK on 30 April, 2007, 21:49:26
Here is one small problem... is linux only  ::)
Title: Re: lua-httpd
Post by: 6Marilyn6Manson6 on 30 April, 2007, 21:54:30
Really, only file gz
Title: Re: lua-httpd
Post by: bastya_elvtars on 30 April, 2007, 22:21:47
Fuck. Isn't there an easy way to implement such a thing?
Title: Re: lua-httpd
Post by: PPK on 30 April, 2007, 23:35:12
Looks like port it to win32 will be easy... but is single-threaded, and use sockets in blocking mode. Nothing that is possible to use with PtokaX without make hub laggy  ::)
Title: Re: lua-httpd
Post by: bastya_elvtars on 01 May, 2007, 00:08:25
Bah, if lua served http, you could to get rid of a huge part of the codebase and also a lot of hub options would be accessible from web.