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.
## 📋 Pull Request Information
**Original PR:** https://github.com/imputnet/cobalt/pull/178
**Author:** [@dumbmoron](https://github.com/dumbmoron)
**Created:** 8/17/2023
**Status:** ✅ Merged
**Merged:** 8/20/2023
**Merged by:** [@wukko](https://github.com/wukko)
**Base:** `current` ← **Head:** `stream-error-handling`
---
### 📝 Commits (2)
- [`b0bed82`](https://github.com/imputnet/cobalt/commit/b0bed82167cb86aaacc44003946f4acb487ba082) always send something on stream failure
- [`36622fc`](https://github.com/imputnet/cobalt/commit/36622fc7acf6718a9c3964f8b50199b3057821be) collapsed two lines
### 📊 Changes
**1 file changed** (+22 additions, -25 deletions)
<details>
<summary>View changed files</summary>
📝 `src/modules/stream/types.js` (+22 -25)
</details>
### 📄 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
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.