diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-08-16 00:06:04 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2003-08-16 00:06:04 +0000 |
commit | c51d4acf1c2a8675a3bb043e799ff4390cef47d6 (patch) | |
tree | 345b71aa70b50c964a58980461e147a260fa6e0b /src/http.lua | |
parent | 3099704affa1fda195eb8f3934f6c1f18bf1f706 (diff) | |
download | luasocket-c51d4acf1c2a8675a3bb043e799ff4390cef47d6.tar.gz luasocket-c51d4acf1c2a8675a3bb043e799ff4390cef47d6.tar.bz2 luasocket-c51d4acf1c2a8675a3bb043e799ff4390cef47d6.zip |
Adjusted a few inconsistencies with the manual.
Diffstat (limited to 'src/http.lua')
-rw-r--r-- | src/http.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.lua b/src/http.lua index 4ef2c87..212e8f6 100644 --- a/src/http.lua +++ b/src/http.lua | |||
@@ -553,7 +553,7 @@ function Public.request_cb(request, response) | |||
553 | sock, response.error = socket.connect(parsed.host, parsed.port) | 553 | sock, response.error = socket.connect(parsed.host, parsed.port) |
554 | if not sock then return response end | 554 | if not sock then return response end |
555 | -- set connection timeout so that we do not hang forever | 555 | -- set connection timeout so that we do not hang forever |
556 | sock:timeout(Public.TIMEOUT) | 556 | sock:settimeout(Public.TIMEOUT) |
557 | -- send request message | 557 | -- send request message |
558 | response.error = Private.send_request(sock, request.method, | 558 | response.error = Private.send_request(sock, request.method, |
559 | Private.request_uri(parsed), request.headers, request.body_cb) | 559 | Private.request_uri(parsed), request.headers, request.body_cb) |