Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix that TlsHandler don't run well on Mono #374

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Commits on May 24, 2020

  1. Configuration menu
    Copy the full SHA
    a258cdb View commit details
    Browse the repository at this point in the history
  2. Save old buffer to ownBuffer in ResetSource if there are some bytes w…

    …hich is not read.
    
    Maybe needed for mono(old version only?) and net5.0(without NETSTANDARD1_3 defined)
    yyjdelete committed May 24, 2020
    Configuration menu
    Copy the full SHA
    1a203bc View commit details
    Browse the repository at this point in the history
  3. Handle special flush mode for old version of mono

    In Mono(with btls provider) on linux, and maybe also for apple provider, Write is called in another thread, so it will run after the call to Flush.
    yyjdelete committed May 24, 2020
    Configuration menu
    Copy the full SHA
    de886b4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    331ea1e View commit details
    Browse the repository at this point in the history
  5. Clean up unnessary rethrow

    `try{_=task.Result;}catch(AggregateException ex){ExceptionDispatchInfo.Capture(ex.InnerException).Throw();/*unreachable*/throw;}` => `task.GetAwaiter().GetResult()`, the latter one will not wrap Exception as AggregateException.
    yyjdelete committed May 24, 2020
    Configuration menu
    Copy the full SHA
    0df22af View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. Ensure TlsHandler.HandleHandshakeCompleted is called in event loop, f…

    …ix concurrent issue for Wrap
    yyjdelete committed May 27, 2021
    Configuration menu
    Copy the full SHA
    2312aff View commit details
    Browse the repository at this point in the history