summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ddns/luasrc/tools/ddns.lua
diff options
context:
space:
mode:
authorKarl Palsson <karlp@remake.is>2014-11-21 18:18:51 +0000
committerKarl Palsson <karlp@remake.is>2014-11-21 18:18:51 +0000
commit65d42ae75aeab63049106a775fb2153984242235 (patch)
tree96bd9cd9ccf0470aeb65aba6b5c1e490af1e2a8a /applications/luci-ddns/luasrc/tools/ddns.lua
parentf81be49ae756dab82e1758a6c9de145f0d36960e (diff)
luci.http.protocol: Allow posts to contain more than a single chunk
The ltn12.pump.step() loop in parse_message_body was incorrectly testing for EOF, and returning after the first chunk, even if further chunks were available. The loop in parse_message_header made the correct check, and test code making raw ajax json posts now succeeds for posts >= 2048 bytes. Signed-off-by: Karl Palsson <karlp@remake.is>
Diffstat (limited to 'applications/luci-ddns/luasrc/tools/ddns.lua')
0 files changed, 0 insertions, 0 deletions