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

Do not timeout HostingListener when debugging #54791

Conversation

martincostello
Copy link
Member

@martincostello martincostello commented Jun 27, 2021

Do not timeout waiting for the host to start when running with the debugger attached (dotnet/aspnetcore#33886 (comment)).

This only applies on first usage so the debugger must be already attached, otherwise will need refactoring so that the appropriate default is determined each time the value is used.

Fixes dotnet/aspnetcore#33886.

/cc @davidfowl

Do not timeout waiting for the host to start when running with
the debugger attached.

Addresses dotnet/aspnetcore#33886.
@ghost
Copy link

ghost commented Jun 27, 2021

Tagging subscribers to this area: @eerhardt, @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details

Do not timeout waiting for the host to start when running with the debugger attached (dotnet/aspnetcore#33886 (comment)).

This only applies on first usage so the debugger must be already attached, otherwise will need refactoring so that the appropriate default is determined each time the value is used.

Addresses dotnet/aspnetcore#33886.

/cc @davidfowl

Author: martincostello
Assignees: -
Labels:

area-Extensions-Hosting

Milestone: -

@davidfowl davidfowl requested review from davidfowl and eerhardt June 27, 2021 14:46
Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eerhardt
Copy link
Member

sockets test failures are unrelated.

@eerhardt eerhardt merged commit 49ee958 into dotnet:main Jun 27, 2021
@martincostello martincostello deleted the Increase-ResolveHostFactory-Timeout-Under-Debugger branch June 27, 2021 17:22
@ghost ghost locked as resolved and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IHostBuilder.Build() times out when debugging startup with minimal hosting and WebApplicationFactory<T>
3 participants