Fix. setopt socketfunction.
This commit is contained in:
parent
f8a96ddcce
commit
187f44306f
@ -681,7 +681,7 @@ function Multi:setopt(k, v)
|
||||
end
|
||||
|
||||
if k == curl.OPT_SOCKETFUNCTION then
|
||||
return self:setopt_httppost(wrap_socketfunction(v))
|
||||
return self:setopt_socketfunction(v)
|
||||
end
|
||||
|
||||
return setopt(self, k, v)
|
||||
|
Loading…
x
Reference in New Issue
Block a user