> local HTTP = require( 'HTTP' )
> local HTTPResponse = require( 'HTTPResponse' )
> local TCPServer = require( 'TCPServer' )
> local WSAPI = require( 'WSAPI' )
>
> HTTP[ '.*' ] = WSAPI( loadfile("sputnik.ws")() )
> HTTPResponse.filter[ #HTTPResponse.filter + 1 ] = function( aRequest,
> aResponse ) aResponse.header[ 'connection' ] = 'close' endYes, this speeds it up. Does HTTPResponse maintain a single list of filters shared by all instances of the server? (Or, can you only have one instance of HTTP?) BTW, add MIME.lua to a list of required modules. - yuri _______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
