Skip to content

Conversation

@wfurt
Copy link
Member

@wfurt wfurt commented May 23, 2020

PlatformDetection made assumption that Linux = !Windowns && !OSX. That breaks runs on iOS.
This improves TLS13 & ALPN detection. with this.

 Xcode: /Users/furt/github/wfurt-runtime/artifacts/bin/System.Net.WebClient.Tests/net5.0-Debug/ios-x64/AppBundle/System.Net.WebClient.Tests/System.Net.WebClient.Tests.xcodeproj
  App: /Users/furt/github/wfurt-runtime/artifacts/bin/System.Net.WebClient.Tests/net5.0-Debug/ios-x64/AppBundle/System.Net.WebClient.Tests/Release-iphonesimulator/System.Net.WebClient.Tests.app
  XHarness command issued: ios test --app=/Users/furt/github/wfurt-runtime/artifacts/bin/System.Net.WebClient.Tests/net5.0-Debug/ios-x64/AppBundle/System.Net.WebClient.Tests/Release-iphonesimulator/System.Net.WebClient.Tests.app --targets=ios-simulator-64 --output-directory=/Users/furt/github/wfurt-runtime/artifacts/bin/System.Net.WebClient.Tests/net5.0-Debug/ios-x64/AppBundle/xharness-output
  info: test[0]
        Starting test for ios-simulator-64..
  info: test[0]
        Starting application 'System.Net.WebClient.Tests' on ios-simulator-64
  info: test[0]
        Application finished the test run successfully
  info: test[0]
        Tests run: 36 Passed: 36 Inconclusive: 0 Failed: 0 Ignored: 0
  XHarness exit code: 0
  Xharness artifacts: /Users/furt/github/wfurt-runtime/artifacts/bin/System.Net.WebClient.Tests/net5.0-Debug/ios-x64/AppBundle/xharness-output

contributes to #36890

@ghost
Copy link

ghost commented May 23, 2020

Tagging subscribers to this area: @ViktorHofer
Notify danmosemsft if you want to be subscribed.

// Covers Linux and FreeBSD
return OpenSslVersion >= new Version(1,1,1);
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: remove extra line

Tomas Weinfurt added 2 commits May 26, 2020 15:22
@wfurt wfurt merged commit b42753b into dotnet:master May 27, 2020
@wfurt wfurt deleted the ios_36890 branch May 27, 2020 16:35
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants