**Description**
In some circumstances, Prosody's HTTP server might emit multiple responses to the same request. This can cause undesired behaviour when a HTTP client or reverse proxy reuses a HTTP connection.
**Affected configurations**
The issue affects HTTP endpoints that respond to the early, headers-only dispatch of a chunked request, including missing-handler responses and mod_http_file_share rejecting an upload.
**Mitigation**
Operators who cannot upgrade immediately should disable mod_http_file_share or restrict upload access to trusted users. If using a reverse proxy, ensure it does not reuse the same backend connection across multiple frontend requests.
**Fixes**
The HTTP server now remembers an early response and does not dispatch the completed request again.
Commits: 4fa97a839d7a
**Attribution**
This issue was identified in an external security review.
**Description** In some circumstances, Prosody's HTTP server might emit multiple responses to the same request. This can cause undesired behaviour when a HTTP client or reverse proxy reuses a HTTP connection. **Affected configurations** The issue affects HTTP endpoints that respond to the early, headers-only dispatch of a chunked request, including missing-handler responses and mod_http_file_share rejecting an upload. **Mitigation** Operators who cannot upgrade immediately should disable mod_http_file_share or restrict upload access to trusted users. If using a reverse proxy, ensure it does not reuse the same backend connection across multiple frontend requests. **Fixes** The HTTP server now remembers an early response and does not dispatch the completed request again. Commits: 4fa97a839d7a **Attribution** This issue was identified in an external security review.
Hidden