Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

race condition in ProxyServer.Start() #424

@jgilbert2017

Description

@jgilbert2017
            foreach (var endPoint in ProxyEndPoints)
            {
                Listen(endPoint);
            }

            CertificateManager.ClearIdleCertificates();

            if (RunTime.IsWindows && !RunTime.IsRunningOnMono)
            {
                WinAuthEndPoint.ClearIdleStates(2);
            }

should probably change to doing the Listen call last especially b/c there is a Task.Delay loop in the Clear*() functions.

            CertificateManager.ClearIdleCertificates();

            if (RunTime.IsWindows && !RunTime.IsRunningOnMono)
            {
                WinAuthEndPoint.ClearIdleStates(2);
            }

            foreach (var endPoint in ProxyEndPoints)
            {
                Listen(endPoint);
            }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions