squishy

1
-- Dummy logger, set LAHTTP_DEBUG environment var to enable logging
2
Module "util.logger"		"libs/logger.lua"
3
 
4
-- Optional helper library for managing multiple downloads
5
Module "multihttp" 		"libs/multihttp.lua"
6
 
7
AutoFetchURL "http://prosody.im/tip/?"
8
 
9
Module "net.server"			"net/server_select.lua"
10
Module "net.httpclient_listener" 	"net/httpclient_listener.lua"
11
Module "net.connlisteners" 		"net/connlisteners.lua"
12
Module "net.http" 			"net/http.lua"
13
Module "util.httpstream" 		"util/httpstream.lua"
14
 
15
-- Required by multihttp, but otherwise not required (though nice to have)
16
Module "util.timer"			"util/timer.lua"
17
 
18
 
19
Main "lahttp.in.lua"
20
 
21
Output "lahttp.lua";