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

Consider writing an analyzer for common IHttpForwarder usage mistakes #2297

Open
2 tasks
MihaZupan opened this issue Nov 2, 2023 · 0 comments
Open
2 tasks
Labels
Type: Idea This issue is a high-level idea for discussion.
Milestone

Comments

@MihaZupan
Copy link
Member

MihaZupan commented Nov 2, 2023

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)

@MihaZupan MihaZupan added the Type: Idea This issue is a high-level idea for discussion. label Nov 2, 2023
@MihaZupan MihaZupan added this to the Backlog milestone Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Idea This issue is a high-level idea for discussion.
Projects
None yet
Development

No branches or pull requests

1 participant