Read system proxy information on macOS (dotnet/corefx#36177)
authorFilip Navara <filip.navara@gmail.com>
Sat, 13 Apr 2019 15:19:53 +0000 (17:19 +0200)
committerDavid Shulman <david.shulman@microsoft.com>
Sat, 13 Apr 2019 15:19:53 +0000 (08:19 -0700)
commit19d90b8a569d688efc305e0002d3677c2da839be
treea109adb616b1d3519d0e01113d64fcd3f85a8b1b
parentff946bfc6cfc37d1d9875a697c828000f8ca6d29
Read system proxy information on macOS (dotnet/corefx#36177)

* Read system proxy information on macOS

* Replace CFRunLoopRemoveSource with CFRunLoopSourceInvalidate to mimic recommended flow from Chromium / WebKit

Commit migrated from https://github.com/dotnet/corefx/commit/2aa2518a47c541148e2dc3f9d040942e44395acd
src/libraries/Common/src/Interop/OSX/Interop.CoreFoundation.CFArray.cs
src/libraries/Common/src/Interop/OSX/Interop.CoreFoundation.CFDictionary.cs [new file with mode: 0644]
src/libraries/Common/src/Interop/OSX/Interop.CoreFoundation.CFNumber.cs [new file with mode: 0644]
src/libraries/Common/src/Interop/OSX/Interop.CoreFoundation.CFProxy.cs [new file with mode: 0644]
src/libraries/Common/src/Interop/OSX/Interop.CoreFoundation.CFString.cs
src/libraries/Common/src/Interop/OSX/Interop.CoreFoundation.CFUrl.cs [new file with mode: 0644]
src/libraries/Common/src/Interop/OSX/Interop.Libraries.cs
src/libraries/Common/src/Interop/OSX/Interop.RunLoop.cs
src/libraries/System.Net.Http/src/System.Net.Http.csproj
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/MacProxy.cs [new file with mode: 0644]
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SystemProxyInfo.OSX.cs [new file with mode: 0644]