15 Commits

Author SHA1 Message Date
Alexey Melnichuk
1d45b60687 Change. multi:ipreform unset callback function for easy handles.
Add. cURLv2 interface support add easy handle to multi during iteration.
2014-09-17 10:24:17 +05:00
Alexey Melnichuk
9ffd3f01de Update comments. [ci skip] 2014-09-16 13:45:27 +05:00
Alexey Melnichuk
ba7aedebcb Add. Ability to add easy handle during iteration. 2014-09-15 15:03:27 +05:00
Alexey Melnichuk
aff3042434 Change. Returns nothing form reader callback means EOF.
Change. multi:iperform() remove easy handle when it done.
2014-09-15 13:17:13 +05:00
Alexey Melnichuk
f7926e5f1c Fix. find_ca_bundle should return nil if there no file. 2014-09-12 11:57:46 +05:00
Alexey Melnichuk
1285ae42c5 Add. Form class to Lua-cURLv3 interface.
See examples/cURLv3/post_form.lua
2014-09-12 11:46:43 +05:00
Alexey Melnichuk
fe66e7223b Add. find_ca_bundle function to cURL.utils module to find curl-ca-bundle.crt file 2014-09-11 17:28:42 +05:00
Alexey Melnichuk
1b88ec42b8 Fix. multi:info_read correctly remove easy handle. 2014-09-11 14:39:24 +05:00
Alexey Melnichuk
b2e6bcae4e Fix. add_handle/remove_handle on cURLv3
Add. Examples for cURLv3
2014-09-11 12:50:48 +05:00
Alexey Melnichuk
56a47e12d0 Fix. Remove easy handle from multi handle 2014-09-11 12:27:29 +05:00
Alexey Melnichuk
4a7901fc8c Add. libcurl 7.38.0 constants 2014-09-10 16:44:10 +05:00
Alexey Melnichuk
bf4b8b0b0b Change. multi iterator returns response code as data for done row 2014-09-10 15:20:58 +05:00
Alexey Melnichuk
8d3c696c4c Implement iterator multi.iperform and method easy.perform for easy.
```Lua
local cURL = require("lcurl")
c1 = cURL.easy{url = "http://www.lua.org/"}
c2 = cURL.easy{url ="http://luajit.org/"}
m = cURL.multi()
  :add_handle(c1)
  :add_handle(c2)
for a,b,c in m:iperform() do ... end
```
2014-09-10 14:00:24 +05:00
Alexey Melnichuk
338acbcd9c Fix. cURL.safe 2014-09-10 13:17:25 +05:00
Alexey Melnichuk
71c0deb903 Add. cURL.safe module. 2014-09-10 13:13:44 +05:00