Skip to content

fix: HttpPlugin port check overwriting server instance created from server_factory#358

Open
kevinwoodward wants to merge 1 commit intomicrosoft:mainfrom
kevinwoodward:main
Open

fix: HttpPlugin port check overwriting server instance created from server_factory#358
kevinwoodward wants to merge 1 commit intomicrosoft:mainfrom
kevinwoodward:main

Conversation

@kevinwoodward
Copy link
Copy Markdown

Fixes: #357

Instead of falling into the else branch that creates a new server when self._server is falsey and when there is a port mismatch, check these individually to prevent unintentional overwriting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: HttpPlugin overwrites server created by server_factory when specified

1 participant