modules/admin-mini: Added Wifi configuration
[oweals/luci.git] / libs / http / luasrc / http / protocol.lua
index ccf40bd2e76252e41134eb14e274c3fd3ffcd145..542c3147ea3f49570264e4e1d18cc36bf6af1157 100644 (file)
@@ -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()