Software /
code /
prosody
Comparison
util/watchdog.lua @ 12831:1cdaf21584da 0.12
net.http.server: Fix #1789
Unregistering the response before sending the trailer of the chunked
transfer encoding prevents opportunistic writes from being invoked and
running this code again when, which may cause an error when closing the
file handle a second time.
Normally the file size is known, so no chuck headers are sent.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 08 Jan 2023 13:35:04 +0100 |
parent | 8555:4f0f5b49bb03 |
child | 12545:5059a639f61e |
comparison
equal
deleted
inserted
replaced
12829:fba795dd99c8 | 12831:1cdaf21584da |
---|