dotnet / dotnet/yarp

Implement Max-Forwards logic

Open
#1,113 0 comments 0 reactions 0 assignees View on GitHub
Type: Feedback
Dominant language
C#
Stars
9.6k
Forks
933
Avg merge
12d 18h
Merged PRs (30d)
2

Description

Max-Forwards is an http header that can be used to limit the number of hops a request can go through. YARP should decrement this header if it sees it and block the request if the counter reaches 0.

See [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-5.1.2)

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by reading RFC 7231 §5.1.2 and locating YARP’s request-forwarding path. Done means requests with Max-Forwards are decremented, and requests whose counter reaches zero are blocked, with behavior covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.