Fix. Create share object in Lua-cURL interface.
This commit is contained in:
parent
2da7106ebb
commit
21ab3f9729
@ -268,7 +268,7 @@ Share.__index = function(self, k)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Share:new()
|
function Share:new()
|
||||||
local h, err = curl.easy()
|
local h, err = curl.share()
|
||||||
if not h then return nil, err end
|
if not h then return nil, err end
|
||||||
|
|
||||||
local o = setmetatable({
|
local o = setmetatable({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user