Lua-cURLv3 icon indicating copy to clipboard operation
Lua-cURLv3 copied to clipboard

Lua binding to libcurl

Results 19 Lua-cURLv3 issues
Sort by recently updated
recently updated
newest added

When I require the module I get this error: ``` C:\Lua51\lua5.1.exe: error loading module 'lcurl' from file 'C:\Lua51\systree\lib\lua\5.1\lcurl.dll': The specified module could not be found. stack traceback: [C]: ? [C]:...

Tested with Lua 5.1/5.2/5.3/5.4 how? ```lua curl = require "cURL" -- HTTP Get curl.easy{ url = 'http://httpbin.org/get', httpheader = { "X-Test-Header1: Header-Data1", "X-Test-Header2: Header-Data2", }, writefunction = io.stderr -- use...

I've been trying to figure out how to install Lua-cURL, but haven't been able to. Compiler: mingw32 Lua: lua5.1 Luarocks: Luarocks 3.8.0 When I use the command `luarocks install Lua-cURL`...

libcurl creates a new easy handle by itself. So it should be wrapped by *lcurl_easy_t*. But to do this it also require copy all lua_ref'ed data and copy all internal...

I am not sure is it worth to add these functions. This functions will allow to use curl easy with the regular sockets.

Problems to solve 1. Where and when allocate error buffer. Options - part of lcurl_easy_t structure - full userdata and store ref/ptr to it internally - new separate object lcurl_error_buffer_t...

enhancement

This options marked as experemental in 7.64.1. So I will wait until it will be released because I have no much time to track status of this feature.

enhancement

Now we can not raise error because we have no context. So we should store stack after error in callback (readfunction/writefunction etc.). Same if we want return value from callback....

enhancement
help wanted