determinate determinate

Author Topic: lua-httpd  (Read 836 times)

0 Members and 1 Guest are viewing this topic.

Offline bastya_elvtars

  • Administrator
  • Forum God
  • *****
  • Posts: 3 761
  • Karma: +173/-7
  • The rock n' roll doctor
    • The LawMaker & FreshStuff3 Site
lua-httpd
« on: April 30, 2007, 09:03:41 pm »
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?

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 294
  • Karma: +207/-17
  • PtokaX "developer"
Re: lua-httpd
« Reply #1 on: April 30, 2007, 09:49:26 pm »
Here is one small problem... is linux only  ::)

Offline 6Marilyn6Manson6

  • Scripter
  • King
  • ******
  • Posts: 869
  • Karma: +47/-35
    • http://www.marilynmanson986.altervista.org
Re: lua-httpd
« Reply #2 on: April 30, 2007, 09:54:30 pm »
Really, only file gz

Offline bastya_elvtars

  • Administrator
  • Forum God
  • *****
  • Posts: 3 761
  • Karma: +173/-7
  • The rock n' roll doctor
    • The LawMaker & FreshStuff3 Site
Re: lua-httpd
« Reply #3 on: April 30, 2007, 10:21:47 pm »
Fuck. Isn't there an easy way to implement such a thing?

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 294
  • Karma: +207/-17
  • PtokaX "developer"
Re: lua-httpd
« Reply #4 on: April 30, 2007, 11:35:12 pm »
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  ::)

Offline bastya_elvtars

  • Administrator
  • Forum God
  • *****
  • Posts: 3 761
  • Karma: +173/-7
  • The rock n' roll doctor
    • The LawMaker & FreshStuff3 Site
Re: lua-httpd
« Reply #5 on: May 01, 2007, 12:08:25 am »
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.

 

determinate determinate