Downloader icon indicating copy to clipboard operation
Downloader copied to clipboard

I need to implement happy eyeballs for IPV4 IPV6 dual stack protocol

Open dongzhaosheng73 opened this issue 2 years ago • 2 comments

I need to set up socketshttphandler to implement a policy for IPV6 preference or rollback to ipv4, and I wonder if the downloader can expose the relevant callbacks

dongzhaosheng73 avatar Dec 22 '23 06:12 dongzhaosheng73

This is the happy eyeballs specification documentation https://datatracker.ietf.org/doc/html/rfc8305#page-4
This is implemented but requires setting up the httpmessagehandler https://github.com/jellyfin/jellyfin/blob/master/src/Jellyfin.Networking/HappyEyeballs/HttpClientExtension.cs

dongzhaosheng73 avatar Dec 22 '23 10:12 dongzhaosheng73

Hi @dongzhaosheng73 The Downloader at this point does not support your need. You can use HttpClient instead of the Downloader. Thanks

bezzad avatar Jan 02 '24 20:01 bezzad