mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 20:18:21 +01:00
http: do not set global TIMEOUT
This commit is contained in:
parent
22cd5833fc
commit
ddf88aca09
@ -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…
Reference in New Issue
Block a user