mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #1065] [MERGED] Don't set status code if response is closed #8633
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/jellyfin/jellyfin/pull/1065
Author: @cvium
Created: 3/8/2019
Status: ✅ Merged
Merged: 3/8/2019
Merged by: @Bond-009
Base:
master← Head:closed_response📝 Commits (1)
3fa43a1Don't set status code if response is closed📊 Changes
6 files changed (+19 additions, -50 deletions)
View changed files
📝
Emby.Server.Implementations/HttpServer/HttpListenerHost.cs(+1 -3)📝
Emby.Server.Implementations/Services/ServiceExec.cs(+1 -1)📝
Emby.Server.Implementations/SocketSharp/WebSocketSharpListener.cs(+4 -1)📝
Emby.Server.Implementations/SocketSharp/WebSocketSharpRequest.cs(+2 -5)📝
Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs(+10 -27)📝
MediaBrowser.Model/Services/IRequest.cs(+1 -13)📄 Description
Changes
Check if headers have already been sent with
HasStarted.Also did some minor cleanup that should help getting rid of websocket-sharp eventually.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.