Skip to content

Conversation

@JamesNK
Copy link
Owner

@JamesNK JamesNK commented Apr 20, 2023

Fixes dotnet/aspnetcore#46818

Note: Change requires .NET 8. Won't merge .NET 8 into gRPC master branch until RC1. Until then this code will live in the net80 branch.

@JamesNK JamesNK force-pushed the jamesnk/disable-request-timeout branch from f97eefd to 97ffe52 Compare April 20, 2023 14:22
Copy link

@BrennanConroy BrennanConroy left a comment

Choose a reason for hiding this comment

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

Just a nit for the test code

var endpoint = httpContext.GetEndpoint();
if (endpoint is not null)
{
if (endpoint.Metadata.GetMetadata<RequestTimeoutAttribute>() is not null ||

Choose a reason for hiding this comment

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

Good idea!

I don't think we'd want to include this in SignalR though since it's designed for long running request.

@JamesNK JamesNK merged commit 00a2266 into jamesnk/net80 Apr 21, 2023
@JamesNK JamesNK deleted the jamesnk/disable-request-timeout branch April 21, 2023 01:41
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.

3 participants