http: do not set global TIMEOUT
This commit is contained in:
parent
22cd5833fc
commit
ddf88aca09
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue