1. 13 8月, 2022 3 次提交
  2. 11 8月, 2022 2 次提交
    • S
      [Android][iOS] Enable... · d2c991ef
      Simon Rozsival 提交于
      [Android][iOS] Enable HttpClientHandler.DangerousAcceptAnyServerCertificateValidator when using native handlers (#73763)
      
      The static `HttpClientHandler.DangerousAcceptAnyServerCertificateValidator` getter throws PNSE when the native HTTP handler is enabled because Xamarin.Android's `AndroidMessageHandler` and Xamarin.iOS `NSUrlSessionHandler` didn't use to have support for the `ServerCertificateCustomValidationCallback`.
      
      We already implemented the Android part in .NET 6 and support in the iOS implementation is WIP and we should be able to implement it in time for .NET 7. IMO it's safe to remove the exception in the getter in .NET 7.
      
      Closes #68898
      d2c991ef
    • R
      [HTTP3] Correctly handle server closing a control stream (#73680) · 80640d4d
      Radek Zikmund 提交于
      * Handle HTTP3 server closing its controls stream
      
      * React to server closing inbound control stream
      
      * Update src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3Connection.cs
      Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com>
      Co-authored-by: NMarie Píchová <11718369+ManickaP@users.noreply.github.com>
      80640d4d
  3. 10 8月, 2022 1 次提交
  4. 08 8月, 2022 1 次提交
  5. 07 8月, 2022 1 次提交
    • D
      Process incoming frames before sending frames for Http2Connection. (#73307) · ccc22503
      Dan Espinosa 提交于
      * Process incoming frames before sending frames for Http2Connection.
      
      Moves the ProcessIncomingFramesAsync method before sending the preface.
      This fixes a deadlock when using a NamedPipe as a transport where
      incoming frames need to be read before being able to write.
      Also rename _expectingSettingsAck to _receivedSettingsAck to clearly
      specify that the settings frame has being received.
      
      Fix #73097
      
      * Addressed PR Feedback.
      
      Added test that will prevent regresions when using Http2 with NamedPipe as a transport.
      Addressed PR Feedback
      
      Fix #73307
      
      * Update ConnectCallback_UseNamedPipe_Success test
      
      Fix #73307
      
      * Moved ConnectCallback_UseNamedPipe_Success test to
      SocketsHttpHandlerTest_ConnectCallback_Http2 class
      
      Fix #73307
      Co-authored-by: NDaniel Espinosa <luespino@microsoft.com>
      ccc22503
  6. 05 8月, 2022 3 次提交
  7. 04 8月, 2022 1 次提交
    • R
      Disable... · 2ea6162a
      Radek Zikmund 提交于
      Disable System.Net.Http.Functional.Tests.SocketsHttpHandler_Cancellation_Test_NonParallel.CancelPendingRequest_DropsStalledConnectionAttempt on Linux (#73300)
      
      2ea6162a
  8. 03 8月, 2022 1 次提交
  9. 02 8月, 2022 2 次提交
  10. 29 7月, 2022 1 次提交
  11. 28 7月, 2022 2 次提交
  12. 27 7月, 2022 2 次提交
  13. 26 7月, 2022 3 次提交
  14. 25 7月, 2022 3 次提交
  15. 24 7月, 2022 1 次提交
  16. 23 7月, 2022 1 次提交
  17. 22 7月, 2022 2 次提交
  18. 21 7月, 2022 2 次提交
  19. 20 7月, 2022 2 次提交
    • S
      [Android] Fix some System.Net tests (#71385) · e9b40f5e
      Simon Rozsival 提交于
      * Implement IncludeNetworkSecurityConfig
      
      * Use IncludeNetworkSecurityConfig
      
      * Fix tests
      
      * Remove active issue attributes
      
      * Rename certificate file
      
      * Revert unnecessary changes
      
      * TMP: re-throw caught exception to reveal more information in logs
      
      * Revert "TMP: re-throw caught exception to reveal more information in logs"
      
      This reverts commit 039d051d6ac60c1c3f1baf37b0c06872f87cac84.
      
      * TMP: add and update res folders until they are merged into runtime-assets
      
      * Fix System.Net.Requests tests
      
      * Re-enable System.Net.Http functional tests
      
      * Try fixing failing test
      
      * Skip failing test
      
      * Add missing using
      
      * Remove temporary test data
      
      * Relax exception type assertion for Android
      
      * Code cleanup
      
      * Fix test failures in System.Net.WebSockets.Client.Tests
      
      * Remove active issue attribute
      
      * Remove most explicit usages of the server certificate custom validation callback in tests
      
      * Fix several tests
      
      * Remove weird condition
      
      * Code clean-up
      
      * Remove unrelated active issue attributes
      
      * Turn ActiveIssue attributes into permanent SkipOnPlatform
      
      * Update explanation for SkipOnPlatform
      
      * Revert partial fix and keep active issue
      
      * Keep active issue for android x64 and x86
      
      * Remove invalid attribute
      
      * Fix test on Browser
      
      * Allow all certificates by default
      
      * Fix build
      
      * Fix http client handler factory on Browser
      
      * Skip failing test
      
      * Fix net48 build
      
      * Revert unintentional change in WinHttpHandler tests
      
      * Avoid using unsupported property on Browser
      
      * Remove unnecessary default value
      
      * Avoid using unsupported property on Browser
      e9b40f5e
    • M
      Avoid adding an HttpClient.Timeout message to ConnectTimeout exceptions (#72274) · bf7cdc58
      Miha Zupan 提交于
      * Avoid adding an HttpClient.Timeout message to ConnectTimeout exceptions
      
      * Avoid wrapping unknown OCEs as well
      
      * Update comment
      Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com>
      Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com>
      bf7cdc58
  20. 19 7月, 2022 1 次提交
  21. 18 7月, 2022 1 次提交
  22. 17 7月, 2022 2 次提交
    • T
      fix assert in ssl options clone (#72326) · f275edb3
      Tomas Weinfurt 提交于
      * fix assert in ssl options clone
      
      * add CertificateChainPolicy
      
      * remove extra assert
      f275edb3
    • A
      Fix typos (#72314) · 3ea30ed3
      Adeel Mujahid 提交于
      * Fix typos
      
      * Cleanup trailing whitespaces in committed files
      
      * Revert a macro for win32 compat
      
      * Disambiguate test data method
      
      * Revert XMLPath test which rely on external assets
      
      * Revert whitespace change in Xml tests
      
      * Revert ClrEtwAl and ILLink.Shared
      
      * Revert crossgen2 props/targets and *.wxl
      3ea30ed3
  23. 16 7月, 2022 1 次提交
  24. 15 7月, 2022 1 次提交