reverse-proxy icon indicating copy to clipboard operation
reverse-proxy copied to clipboard

Consider writing an analyzer for common IHttpForwarder usage mistakes

Open MihaZupan opened this issue 2 years ago • 0 comments

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 avatar Nov 02 '23 13:11 MihaZupan