-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
httpclient need proxy for each request #95342
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsLike python
|
Duplicate of #35992? Or do I miss anything @NCLnclNCL? |
This issue has been marked |
How does python behave differently in this case to avoid such issues? |
it like this https://github.com/mboukhlouf/WebProxyService/tree/master (c#), 1 httpclient with many proxy |
Feel free to continue the discussion about python, but this is duplicate of #35992, closing. |
Like python
r = requests.get(url, headers=headers, proxies=proxies)
I find that currently having to create a new httpclient with httphandle is too expensive and will cause socket exhaustion, Could there be a better solution?
The text was updated successfully, but these errors were encountered: