mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #5735] [CLOSED] Happy Eyeballs (IP6 fallback to IP4) implementation of http client. #10454
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#10454
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/5735
Author: @BaronGreenback
Created: 4/9/2021
Status: ❌ Closed
Base:
master← Head:Ipv4Fallback📝 Commits (10+)
8b94142Created named http client.7324278Added licence.0b9b26cchanged default client4759f90editted commentaf37024added using on tokens4d1e73bchanged to null6743bd8Update Jellyfin.Server/Startup.cs83e1b55Updated with masterbd0eb97Update Startup.cs5586e76Merge remote-tracking branch 'upstream/master' into Ipv4Fallback📊 Changes
6 files changed (+162 additions, -10 deletions)
View changed files
📝
Emby.Dlna/Eventing/DlnaEventManager.cs(+1 -1)📝
Emby.Dlna/PlayTo/SsdpHttpClient.cs(+3 -3)➕
Jellyfin.Networking/HappyEyeballs/HttpClientExtension.cs(+119 -0)📝
Jellyfin.Networking/Manager/NetworkManager.cs(+14 -3)📝
Jellyfin.Server/Startup.cs(+18 -1)📝
MediaBrowser.Common/Net/NamedClient.cs(+7 -2)📄 Description
Implementation of the default http client implementing happy eyeballs. https://github.com/jellyfin/jellyfin/issues/1002
Default implementation now uses happy eyeballs. (IP6 with IP4 fallback).
This implementation will cease using IPv6 in case of exception.
If this exception is due to physical network changes NetworkManager will reset the IP6 capability, which will re-enable the functionality.
IP6 functionality is controlled via the network.xml. If, for some reason, NetworkManager hasn't been instantiated, IPv4 will be used. (thinking of testing)
This implementation is ignored by the DLNA sub-system, which continues to use single attempt due to it accessing IP addresses.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.