mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 12:58: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
|
-- Program constants
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
-- connection timeout in seconds
|
-- connection timeout in seconds
|
||||||
TIMEOUT = 60
|
_M.TIMEOUT = 60
|
||||||
-- default port for document retrieval
|
-- default port for document retrieval
|
||||||
_M.PORT = 80
|
_M.PORT = 80
|
||||||
-- user agent field sent in request
|
-- user agent field sent in request
|
||||||
|
Loading…
Reference in New Issue
Block a user