mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
Using socket pumps in http.lua.
Adjusted socket.try.
This commit is contained in:
@ -9,4 +9,4 @@ else
|
||||
convert = ltn12.filter.chain(base64, wrap)
|
||||
end
|
||||
source = ltn12.source.chain(source, convert)
|
||||
ltn12.pump(source, sink)
|
||||
repeat until not ltn12.pump(source, sink)
|
||||
|
Reference in New Issue
Block a user