Skip to content

Commit a8c996e

Browse files
committed
nginx: ensure client is informed of metadata end
1 parent ef5991a commit a8c996e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ephemeral-npm.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ function _M.getPackage()
3939
body = string.gsub(body, _M.hostPattern, base)
4040
ngx.header["Content-Length"] = #body
4141
ngx.print(body)
42+
ngx.eof()
4243
end
4344

4445
return _M

0 commit comments

Comments
 (0)