Commit Graph

93 Commits (master)

Author SHA1 Message Date
Alexey Melnichuk dbacb63360 Update CI files 2021-01-07 17:29:20 +03:00
Alexey Melnichuk dcbee2e72c Add. http parser rockspec for Lua 5.4 2021-01-07 16:50:46 +03:00
Alexey Melnichuk 4dd6d438ae Update test 2021-01-07 11:10:22 +03:00
Alexey Melnichuk 9764a5055c update test 2021-01-07 10:57:07 +03:00
Alexey Melnichuk 791c06e035 Add. Test 2021-01-07 10:16:34 +03:00
Alexey Melnichuk d5240a2cb8 Update test 2021-01-07 00:45:18 +03:00
Alexey Melnichuk b80dab0f12 Fix. Cleanup slists references in the reset function 2021-01-05 14:25:43 +03:00
Alexey Melnichuk 6e42dec06c Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	appveyor.yml
#	src/lcopteasy.h
2019-06-23 15:48:30 +03:00
Alexey Melnichuk 6facbae1a0 Support new options from 7.65.1 2019-06-23 15:42:58 +03:00
Alexey Melnichuk e70f6ac9a3 Add. Support CURLOPT_TRAILERFUNCTION 2019-04-06 19:20:38 +03:00
Alexey Melnichuk 01f8a3cdc1 Add. support CURLOPT_CULRU 2018-12-23 12:33:35 +03:00
Alexey Melnichuk ce1be595ca Fix. tostring metamethod have to return string or raise error 2018-11-04 19:15:35 +03:00
Alexey Melnichuk 474135372e Update test 2018-11-04 18:33:50 +03:00
Alexey Melnichuk 7f405f0777 Merge branch 'master' into url_api 2018-11-04 14:47:29 +03:00
Alexey Melnichuk acbf52146e Update test 2018-11-04 14:45:33 +03:00
Alexey Melnichuk 5e89fdefb8 Merge branch 'master' into url_api 2018-11-04 14:41:51 +03:00
Alexey Melnichuk 82c65e2ffa Update test 2018-11-04 14:41:30 +03:00
Alexey Melnichuk 099f748bbb Add. cURL urlapi support 2018-11-04 14:15:41 +03:00
Alexey Melnichuk cf3203eae3 Add. Test for memory leaks 2018-07-01 10:24:21 +03:00
Alexey Melnichuk 886f696866 Add. Allow set null to callbacks. 2018-05-02 21:00:11 +03:00
Alexey Melnichuk a9874c7123 Add. Support null in mime module. 2018-05-01 21:09:56 +03:00
Alexey Melnichuk 4a70bcbd2f Add. Support set null as array in multi API 2018-05-01 20:37:51 +03:00
Alexey Melnichuk e3b5c928b5 Add. Allow set NULL values explicitly. 2018-05-01 20:20:04 +03:00
Alexey Melnichuk 0fe9039186 Fix. Allows set empty array as slist options 2018-05-01 15:43:49 +03:00
Alexey Melnichuk 58847b11ad Add. `mime:easy()` method. 2018-04-30 13:25:15 +03:00
Alexey Melnichuk d86d77b582 Update test server 2017-11-03 11:56:49 +03:00
Alexey Melnichuk 6734219197 Add. `filename` parameter to mime data/filedata
Add. `addpart` accept table as argument
Add. `encoder` method to mime part
2017-10-23 16:16:51 +03:00
Alexey Melnichuk e523cb4535 Handle hpost stream abort CURLE_READ_ERROR error code. 2017-10-23 13:10:09 +03:00
Alexey Melnichuk 37b880fef4 Update test server [ci skip] 2017-10-19 19:19:40 +03:00
Alexey Melnichuk c0f7a3f18a Replace `http://example.com` to local pegasus server. 2017-10-19 18:06:32 +03:00
Alexey Melnichuk c8a0f7ea8e Update test server. 2017-10-19 17:36:54 +03:00
Alexey Melnichuk 4f75627e5c Replace `httpbin.org` to local pegasus server 2017-10-19 15:58:54 +03:00
Alexey Melnichuk b723615c05 Add. Ability unset info by passing `false` 2017-10-18 14:53:18 +03:00
Alexey Melnichuk 5239176fc0 Test. Use pegasus server to dump mime content. 2017-10-18 14:14:14 +03:00
Alexey Melnichuk 0e1eaa525a Add. New cURL MIME API 2017-10-12 14:22:24 +03:00
Alexey Melnichuk 6426798c50 Unref callback context when call unsetopt function. 2017-07-17 13:14:43 +03:00
Alexey Melnichuk 5fae338602 Fix. easy:reset() returns correct value 2017-02-15 13:28:56 +03:00
Alexey Melnichuk 00c1bc4687 Fix. File url in test 2017-01-11 16:10:25 +03:00
Alexey Melnichuk 39accdb5b3 Update test runner. 2016-12-15 14:28:37 +03:00
Alexey Melnichuk c995bc2139 Add. custom test output mode. 2016-10-04 12:13:14 +03:00
Alexey Melnichuk c5e4734f63 Update test. 2016-09-28 16:18:56 +03:00
Alexey Melnichuk 56b4d05c17 Fix. Set Lua in callback context in `info_read` function.
Fix. Support nested callbacks.
Fix. Cleanup easy references when calls multi::close.
Add. `__tostring` method for handles.
2016-09-28 12:54:44 +03:00
Alexey Melnichuk a836734bfc Fix. Test for Lua > 5.1 2016-09-27 18:20:34 +03:00
Alexey Melnichuk abdef03e98 Fix. Call `multi` callbacks with correct Lua state. 2016-09-27 17:52:49 +03:00
Alexey Melnichuk 9d7fdac27c Add. Module version info 2016-04-20 10:31:06 +03:00
Alexey Melnichuk 2cbac6eaf4 Update test 2016-04-17 10:20:58 +03:00
Alexey Melnichuk d69a0447ad Fix. cURL set stream depends options 2016-04-17 10:04:07 +03:00
Alexey Melnichuk b5a69f87a9 Remove debug print 2016-04-15 16:34:16 +03:00
Alexey Melnichuk c597521228 Change. Use string value to represent error category.
```Lua
err = curl.error(curl.ERROR_EASY, curl.E_OK)
-- err:category() == 'CURL-EASY'
-- tostring(err) == '[CURL-EASY][OK] No error (0)'
```
2016-04-15 16:19:57 +03:00
Alexey Melnichuk 30b9cb2420 Add. Support cURL 7.48.0 2016-04-15 15:09:11 +03:00