diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-28 07:24:43 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-05-28 07:24:43 +0000 |
commit | c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3 (patch) | |
tree | 8d8b8aa856d8a3e822121d0915a63b8244f471bb /test/mimetest.lua | |
parent | 9297b074d53a00e1149250e0bbfa0871dcc5558f (diff) | |
download | luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.tar.gz luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.tar.bz2 luasocket-c98dc991998c724a3f6a1fdd90b5d1d8a80e3af3.zip |
Bug feioso no UDP e possivelmente no TCP também.
Diffstat (limited to 'test/mimetest.lua')
-rw-r--r-- | test/mimetest.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/mimetest.lua b/test/mimetest.lua index 3e57557..dea43d6 100644 --- a/test/mimetest.lua +++ b/test/mimetest.lua | |||
@@ -1,3 +1,7 @@ | |||
1 | require "luasocket" | ||
2 | require "ltn12" | ||
3 | require "mime" | ||
4 | |||
1 | dofile("testsupport.lua") | 5 | dofile("testsupport.lua") |
2 | 6 | ||
3 | local qptest = "qptest.bin" | 7 | local qptest = "qptest.bin" |
@@ -92,7 +96,7 @@ local function transform(input, output, filter) | |||
92 | source = ltn12.source.chain(source, filter) | 96 | source = ltn12.source.chain(source, filter) |
93 | end | 97 | end |
94 | --what = not what | 98 | --what = not what |
95 | ltn12.pump(source, sink) | 99 | ltn12.pump.all(source, sink) |
96 | end | 100 | end |
97 | 101 | ||
98 | local function encode_qptest(mode) | 102 | local function encode_qptest(mode) |