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

ScaffoldingServer: Accept may hang the server #1764

Open
yecril71pl opened this issue Dec 22, 2021 · 1 comment · May be fixed by #1775
Open

ScaffoldingServer: Accept may hang the server #1764

yecril71pl opened this issue Dec 22, 2021 · 1 comment · May be fixed by #1775

Comments

@yecril71pl
Copy link
Contributor

File a bug

The method ScaffoldingServer .Accept hangs the server until a connection comes. Which may be forever if things go wrong on the other side.

Include your code

_socket = await _server.AcceptSocketAsync();

Include stack traces

Include provider and version information

Microsoft.VisualStudio.Web.CodeGeneration.Design/Microsoft.DotNet.MSIdentity version:
1.63.2
Target framework: (e.g. .NET 5.0)
6.0.1
Operating system:
Linux x64 5.15.7-1-default
IDE: (e.g. Visual Studio 2019 16.3)
1.63.2
@yecril71pl
Copy link
Contributor Author

I think we should wait for multiple objects here: if the child process has died, there is nothing to be waiting for.

@yecril71pl yecril71pl linked a pull request Dec 31, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant