Commit Graph

241 Commits (17344cdcdd74a592d9d7a64ca939d978d263d067)

Author SHA1 Message Date
Alexey Melnichuk 17344cdcdd Update `uvwget` example [ci skip] 2014-12-26 13:07:10 +04:00
Alexey Melnichuk d4bbd66a81 Update multi-uv example. 2014-12-23 13:17:26 +04:00
Alexey Melnichuk b4a7579929 Update multi-uv example. 2014-12-22 16:11:33 +04:00
Alexey Melnichuk 1738369579 Fix. multi iterator in v2 and v3 API. 2014-12-22 14:29:18 +04:00
Alexey Melnichuk 010a54eb5a Update doc. 2014-12-22 14:18:49 +04:00
Alexey Melnichuk 273212fb93 Fix. socket callback get correct cURLv3 easy object. 2014-12-22 13:59:09 +04:00
Alexey Melnichuk 0ba125dfc3 Fix. cURLv3 `info_read` return correct object. 2014-12-22 13:13:24 +04:00
Alexey Melnichuk b90485619d Add. easy/multi handle support user values.
```Lua
  f = io.open(...)
  e = curl.easy():setdata(f)
  ...
  -- when easy done
  e:getdata():close()
```
2014-12-22 12:43:55 +04:00
Alexey Melnichuk eb21f4f76f Fix. Cleanup socket callback. 2014-12-22 11:55:00 +04:00
Alexey Melnichuk 8676dc07da Update doc. 2014-12-22 11:46:21 +04:00
Alexey Melnichuk e7712b9eb2 Fix. Init socket callback with nil.
Fix. `multi.setopt` supports socket callback.
Change. `socket_acttion` without args means timeout action.
Change. cURLv3 multi supports options in callback.
Add. `multi-uv` example.
2014-12-22 11:14:13 +04:00
Alexey Melnichuk 619fb1b08d Add. Support to `socket_action` interface. 2014-12-19 18:28:49 +04:00
Alexey Melnichuk 8a9d0a0061 Merge pull request #45 from moteus/master
Fix. Supports Lua 5.3.beta
2014-11-26 14:02:47 +03:00
Alexey Melnichuk 06505f04dd Fix. Supports Lua 5.3 in rockspec file. 2014-11-26 14:02:29 +04:00
Alexey Melnichuk 9011d589c0 Merge remote-tracking branch 'upstream/master' 2014-11-26 13:59:43 +04:00
Alexey Melnichuk 15f4b2d53a Fix. Supports Lua 5.3.beta 2014-11-26 13:58:56 +04:00
Vadim A. Misbakh-Soloviov 2a61d4d4a5 LDoc config for documentation
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
2014-11-02 05:53:30 +06:00
Alexey Melnichuk 93ac7a3a8f Update README.md 2014-09-20 10:54:21 +04:00
Alexey Melnichuk 82d2ed9966 Merge pull request #44 from moteus/master
Add. rockspec for version 0.3.0 (close #40)
2014-09-19 17:08:18 +05:00
Alexey Melnichuk 47f68fa1a0 Add. rockspec for version 0.3.0 2014-09-19 16:05:24 +05:00
Alexey Melnichuk a34c326ca1 Merge pull request #43 from moteus/master
Change. cURL wrapper store proxy functions in class not in object.
2014-09-19 12:40:32 +05:00
Alexey Melnichuk 764b071989 Change. cURL wrapper store proxy functions in class not in object.
Fix. Test for stream reader.
2014-09-19 11:25:34 +05:00
Alexey Melnichuk c47da4dcb3 Merge pull request #42 from moteus/master
Change. cURLv2 support numeric values for flags (not only string)
2014-09-18 19:41:57 +05:00
Alexey Melnichuk 8d7678e22b Change. cURLv2 support numeric values for flags (not only string)
```Lua
c:setopt_proxytype("HTTP")
c:setopt_proxytype(curl.PROXY_HTTP)
```
2014-09-18 18:32:58 +05:00
Alexey Melnichuk ee84322ad5 Update README.md
[ci skip]
2014-09-17 15:28:52 +05:00
Alexey Melnichuk 092f1a5b00 Update README.md
[ci skip]
2014-09-17 15:10:49 +05:00
Alexey Melnichuk 791db40645 Merge pull request #41 from moteus/master
Fix. rockspec install examples and docs.
2014-09-17 14:27:40 +05:00
Alexey Melnichuk 6d5adc17e0 Merge pull request #39 from moteus/master
Add. Supports `content` field in form:add().
2014-09-17 13:22:01 +05:00
Alexey Melnichuk 770daf5e0f Fix. rockspec install examples and docs. 2014-09-17 12:48:25 +05:00
Alexey Melnichuk 6b9254223f Update doc [ci skip] 2014-09-17 12:19:01 +05:00
Alexey Melnichuk 3178580a08 Fix. Ignore unknown tables in form:add().
Fix. Check type for `headers` field.
Add. Supports `content` field in form:add().
2014-09-17 12:14:47 +05:00
Alexey Melnichuk 13e5dd6003 Merge pull request #38 from moteus/master
Change. `multi:iperform` unset callback functions for easy handles.
2014-09-17 12:12:28 +05:00
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 e76360825b Merge pull request #37 from moteus/master
Fix. `MAIL_RCPT` option has a list type
2014-09-16 17:22:22 +05:00
Alexey Melnichuk 22d00385a5 Merge pull request #36 from moteus/master
Update pop3 example [ci skip]
2014-09-16 17:02:20 +05:00
Alexey Melnichuk fea2547ada Fix. `MAIL_RCPT` option has a list type 2014-09-16 16:19:39 +05:00
Alexey Melnichuk f3631cd55e Update pop3 example [ci skip] 2014-09-16 16:00:48 +05:00
Alexey Melnichuk 82e99b7616 Merge pull request #35 from moteus/master
Add. Use LuaCov
2014-09-16 15:09:04 +05:00
Alexey Melnichuk 5fdc34a47d Add. Use LuaCov 2014-09-16 14:00:54 +05:00
Alexey Melnichuk 9ffd3f01de Update comments. [ci skip] 2014-09-16 13:45:27 +05:00
Alexey Melnichuk 961bdade2c Merge pull request #34 from moteus/master
Add. pop3 example [ci skip]
2014-09-15 18:34:57 +05:00
Alexey Melnichuk eff44c9aa8 Add. pop3 example 2014-09-15 17:29:01 +05:00
Alexey Melnichuk 76336c5b36 Merge pull request #33 from moteus/master
Add. Ability to add easy handle during iteration.(close #25)
2014-09-15 16:08:28 +05:00
Alexey Melnichuk ba7aedebcb Add. Ability to add easy handle during iteration. 2014-09-15 15:03:27 +05:00
Alexey Melnichuk 05680975dd Merge pull request #32 from moteus/master
Change. Returns nothing form reader callback means EOF.
2014-09-15 14:27:33 +05:00
Alexey Melnichuk 7efaba4ff2 Update doc[ci skip] 2014-09-15 13:20:08 +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 4817dad2c7 Merge pull request #30 from moteus/master
Add. test to set/unset postfields
2014-09-15 12:05:40 +05:00
Alexey Melnichuk e6c2ffce5c Add. test to set/unset postfields 2014-09-15 10:57:33 +05:00
Alexey Melnichuk 47fa9363ab Update README.md [ci skip] 2014-09-15 10:15:49 +05:00