File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Lua-cURLv2 binding has several problems:
3939## Installation
4040
4141```
42- luarocks install lcurl --server=https://rocks.moonscript.org/dev
42+ luarocks install lua-curl --server=https://rocks.moonscript.org/dev
4343```
4444
4545## Usage
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ local curl = require "lcurl"
33-- How many times curl_multi_perform should be called before hitting of CURLPAUSE_CONT.
44-- (including curl_multi_perform that causes WriteFunction to pause writes,
55-- i.e. 1 means that CURLPAUSE_CONT will be performed immediately after pause.)
6- local WAIT_COUNT = 32
6+ local WAIT_COUNT = 15
77
8- local SIZE = 100 * 1024
8+ local SIZE = 10 * 1024
99local RESOURCE_URL = " http://httpbin.org/bytes/" .. SIZE
1010
1111local State = {
You can’t perform that action at this time.
0 commit comments