dotnet / dotnet/yarp

Consider writing an analyzer for common IHttpForwarder usage mistakes

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

Description

For example
- [ ] warn if we see an unconditional `SocketsHttpHandler` allocation in the same method as the `SendAsync` call, meaning that connections will never be pooled. We've seen such examples in several issue repros shared with us.
- [ ] (feel free to add more)

(assuming we can avoid too many false positives)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.