aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net
AgeCommit message (Collapse)Author
2020-08-19remove OS and email from default UserAgentcrobibero
2020-08-19Fix buildcrobibero
2020-08-19P E R F O R M A N C Ecrobibero
2020-08-19Add default http clientcrobibero
2020-06-20Merge branch 'master' into SSDPCody Robibero
2020-06-11Update INetworkManager.csBaronGreenback
2020-06-11Update INetworkManager.csBaronGreenback
Editting comments - adding periods
2020-06-03Enable StyleCop for MediaBrowser.CommonBond-009
2020-05-17Update MediaBrowser.Common/Net/INetworkManager.csBaronGreenback
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17Update MediaBrowser.Common/Net/INetworkManager.csBaronGreenback
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-05-17Update MediaBrowser.Common/Net/INetworkManager.csBaronGreenback
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-04-29Changes styles as suggested by @barronpmBaronGreenback
Added addtional comments & source type as per intellisense suggestion change code as per sonacloud
2020-04-28Whilst fixing issues with SSDP on devices with multiple interfaces, i came ↵BaronGreenback
across a design issue in the current code - namely interfaces without a gateway were ignored. Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below). Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3) All these changes are related. Changes 1 IsInPrivateAddressSpace - improved subnet code checking 2 interfaces with no gateway were being excluded from SSDP blasts 3 filtered SSDP blasts from not LAN addresses as defined on the network page. 4 removed #986 mod - as this was part of the issue of #2986. Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP 5 fixed a problem where an invalid LAN address causing the SSDP to crash 6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-28Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, ↵BaronGreenback
i came across a design issue in the current code - namely interfaces without a gateway were ignored." This reverts commit 2aaecb8e148aef6cda67797fa4227a8ebcf7e5bb.
2020-04-28Whilst fixing issues with SSDP on devices with multiple interfaces, i came ↵BaronGreenback
across a design issue in the current code - namely interfaces without a gateway were ignored. Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below). Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3) All these changes are related. Changes 1 IsInPrivateAddressSpace - improved subnet code checking 2 interfaces with no gateway were being excluded from SSDP blasts 3 filtered SSDP blasts from not LAN addresses as defined on the network page. 4 removed #986 mod - as this was part of the issue of #2986. Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP 5 fixed a problem where an invalid LAN address causing the SSDP to crash 6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-02Enable Microsoft.CodeAnalysis.FxCopAnalyzers for Jellyfin.CommonBond_009
2020-04-01Minor improvementsBond_009
2020-02-23Fix some warningsBond_009
* Add analyzers to MediaBrowser.XbmcMetadata * Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata * Add analyzers to MediaBrowser.WebDashboard * Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard * Disable SA1600 in favor of CS1591
2019-12-11More warnings (removed)Bond_009
2019-11-28Minor improvements to network codeBond-009
2019-10-09Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.PhotosBond_009
Adds `#pragma warning disable CS1591` to all files in MediaBrowser.Common containing undocumented members.
2019-09-02Fix warnings, improve performance (#1665)Bond-009
* Fix warnings, improve performance `QueryResult.Items` is now a `IReadOnlyList` so we don't need to allocate a new `Array` when we have a `List` (and `Items` shouldn't need to be mutable anyway) * Update Providers .csproj to latest C# * Remove extra newline from DtoService.cs * Remove extra newline from UserLibraryService.cs
2019-08-11Check checksum for plugin downloadsBond_009
* Compare the MD5 checksum when downloading plugins * Reduced log spam due to http requests * Removed 'GetTempFileResponse' function from HttpClientManager * Fixed caching for HttpClientManager
2019-08-09Fix more warningsBond_009
2019-07-25Remove IpAddressInfo and IpEndPointInfo classesBond_009
2019-07-24Merge pull request #1560 from jellyfin/release-10.3.zBond-009
Backmerge for 10.3.7
2019-07-14Merge pull request #1538 from joshuaboniface/epgJoshua M. Boniface
Try to fix XmlTvListingsProvider
2019-07-13Try to fix XmlTvListingsProviderBond_009
2019-07-13Properly set content typeBond_009
2019-07-06Merge branch 'master' into release-10.3.zBond-009
2019-07-06Address commentsBond_009
2019-07-06Use HttpResponseHeaders instead of a dictionaryBond_009
2019-07-06Fixes issues with HttpClientManagerBond_009
2019-06-18Update MediaBrowser.Common/Net/IHttpClient.csClaus Vium
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-06-18Remove more unused stuffBond-009
2019-06-17Remove usage of depricated 'WebRequest'Bond-009
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
2019-06-14Merge pull request #1080 from Bond-009/httpclientAnthony Lavado
Remove usage of deprecated 'WebRequest'
2019-04-12Removed wrapping of HeaderNames fieldsVooDooS
2019-04-11Extend Microsoft.Net.Http.Headers.HeaderNamesVooDooS
2019-03-27Update MediaBrowser.Common/Net/IHttpClient.csClaus Vium
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-03-08Remove more unused stuffBond-009
2019-03-08Remove usage of depricated 'WebRequest'Bond-009
Ref: https://docs.microsoft.com/en-us/dotnet/api/system.net.webrequest?view=netframework-4.7.2
2019-03-07Merge remote-tracking branch 'remotes/upstream/master' into kestrel_pocClaus Vium
2019-03-05Switch to HeaderNames instead of hardcoded strings (and other header related ↵Claus Vium
fixes)
2019-02-22Send DLNA devices message to only the matched interfaceXu Fasheng
This will be the right way for multiple interfaces, or the client will receive all devices message with different IP addresses and could not detect which one could access. And provide one option DlnaOptions.SendOnlyMatchedHost to fallback to old behaviour if this commit missed something.
2019-02-22Add option to toggle if ignore virtual interfacesXu Fasheng
Some VPN like ZerotierOne owns IP address but no gateway, and there is no good idea in NetworkManager.GetIPsDefault() to filter such virtual interfaces, so just provide one option to let user decide it.
2019-01-13ReSharper format: conform inline 'out' parameters.Erwin de Haan
2019-01-13ReSharper conform to 'var' settingsErwin de Haan
2019-01-13ReSharper Reformat: Properties to expression bodied form.Erwin de Haan
2019-01-13Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.ControllerErwin de Haan