mirror of
https://github.com/imputnet/cobalt.git
synced 2026-07-17 04:23:36 -05:00
[PR #178] [MERGED] always send something on stream failure #1040
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/178
Author: @dumbmoron
Created: 8/17/2023
Status: ✅ Merged
Merged: 8/20/2023
Merged by: @wukko
Base:
current← Head:stream-error-handling📝 Commits (2)
b0bed82always send something on stream failure36622fccollapsed two lines📊 Changes
1 file changed (+22 additions, -25 deletions)
View changed files
📝
src/modules/stream/types.js(+22 -25)📄 Description
prevents reverse proxies (namely nginx) from assuming the server died because of an empty response
specifically, this handles the situation where an exception / error occurs before any headers are set
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.