summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-http/luasrc/lucid
diff options
context:
space:
mode:
Diffstat (limited to 'libs/lucid-http/luasrc/lucid')
-rw-r--r--libs/lucid-http/luasrc/lucid/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http/server.lua b/libs/lucid-http/luasrc/lucid/http/server.lua
index 4bbec31a1..00c6b8416 100644
--- a/libs/lucid-http/luasrc/lucid/http/server.lua
+++ b/libs/lucid-http/luasrc/lucid/http/server.lua
@@ -288,7 +288,7 @@ local function chunksink(sock)
if not chunk then
return sock:writeall("0\r\n\r\n")
else
- return sock:writeall(("%X\r\n%s\r\n"):format(#chunk, chunk))
+ return sock:writeall(("%X\r\n%s\r\n"):format(#chunk, tostring(chunk)))
end
end
end