diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-03-26 06:05:20 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-03-26 06:05:20 +0000 |
commit | e5a090b01cd5b490f7331235b7c58c36c05bb7b6 (patch) | |
tree | 8f98ae6217650ac0b9d1c04f1ad1d3fb77af3d37 /etc | |
parent | e77f1792005088f55353c6c85fe9335e60772754 (diff) | |
download | luasocket-e5a090b01cd5b490f7331235b7c58c36c05bb7b6.tar.gz luasocket-e5a090b01cd5b490f7331235b7c58c36c05bb7b6.tar.bz2 luasocket-e5a090b01cd5b490f7331235b7c58c36c05bb7b6.zip |
Using socket pumps in http.lua.
Adjusted socket.try.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/b64.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/b64.lua b/etc/b64.lua index ea157c4..3f861b4 100644 --- a/etc/b64.lua +++ b/etc/b64.lua | |||
@@ -9,4 +9,4 @@ else | |||
9 | convert = ltn12.filter.chain(base64, wrap) | 9 | convert = ltn12.filter.chain(base64, wrap) |
10 | end | 10 | end |
11 | source = ltn12.source.chain(source, convert) | 11 | source = ltn12.source.chain(source, convert) |
12 | ltn12.pump(source, sink) | 12 | repeat until not ltn12.pump(source, sink) |