http: do not set global TIMEOUT

This commit is contained in:
Pierre Chapuis 2013-07-05 17:59:52 +02:00
parent 22cd5833fc
commit ddf88aca09

View File

@ -22,7 +22,7 @@ local _M = socket.http
-- Program constants
-----------------------------------------------------------------------------
-- connection timeout in seconds
TIMEOUT = 60
_M.TIMEOUT = 60
-- default port for document retrieval
_M.PORT = 80
-- user agent field sent in request