-
Notifications
You must be signed in to change notification settings - Fork 4.9k
SocketsHttpHandler, support for custom endpoint address resolving #27937
Conversation
Thanks for your interest in contributing, @AppBeat! We have an API process that we use for adding new public surface area, which this does: A few initial thoughts:
Thanks, again. |
Thanks! I will try to improve this based on your feedback. |
Hello. I checked-in first prototype on https://github.com/AppBeat/corefx fork. All changes are now done on SocketsHttpHandler folder and should be 100% compatible with old code. As Mr. Toub noted, I had most issues with connection pool and had to change my resolving strategy there. Main goals: TODOs: Background: Possible use cases: Kind regards, |
@AppBeat, following https://github.com/dotnet/corefx/blob/master/Documentation/project-docs/api-review-process.md, could you open an issue (rather than PR) with the proposed API surface area and this information? Thanks! |
New feature submitted at https://github.com/dotnet/corefx/issues/27949 Kind regards, |
Hello.
I created my first commit to corefx fork / System.Net.Http project with small improvement to SocketsHttpHandler where user can now have more control over endpoint address resolving.
For example user can prefer IPv6 resolving over IPv4 version or even write custom logic which completely overrides system DNS resolve.
This feature is optional and should be backwards compatible.
Please check if this feature could be generally useful :)
@stephentoub @geoffkizer @karelz