summaryrefslogtreecommitdiffhomepage
path: root/libs/http
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-16 18:54:10 +0000
committerSteven Barth <steven@midlink.org>2008-07-16 18:54:10 +0000
commit8d1aff78b17d6f7437d776bdf53a6aa2112f31db (patch)
tree48784a8d48cc782ec63a5cc705f3779a7fae8a3d /libs/http
parentea69b8dccc80c0b6c16225f2328834a7fd3be062 (diff)
modules/admin-mini: Added Wifi configuration
several smaller bugfixes and enhancements
Diffstat (limited to 'libs/http')
-rw-r--r--libs/http/luasrc/http/protocol.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/http/luasrc/http/protocol.lua b/libs/http/luasrc/http/protocol.lua
index ccf40bd2e..542c3147e 100644
--- a/libs/http/luasrc/http/protocol.lua
+++ b/libs/http/luasrc/http/protocol.lua
@@ -661,7 +661,7 @@ function urldecode_message_body( source, msg )
-- Create a throttling LTN12 source
-- See explaination in mimedecode_message_body().
local tsrc = function()
- if msg._urldecbuffer ~= nil and #msg._urldecbuffer > TSRC_BLOCKSIZE then
+ if msg._urldecbuffer ~= nil and #msg._urldecbuffer > 0 then
return ""
else
return source()