Skip to content
Discussion options

You must be logged in to vote

but this doesn't manage sockets and leads to stale DNS lookups and socket exhaustion.

Socket is managed by connection pool which is used by HttpClientHandler. Each HttpClient has its own connection pool.

Although it's typically shared during application lifetime, short-lived ones are also necessary for application which only uses network very rarely.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@CraigComeOnThisNameCantBeTaken
Comment options

@CraigComeOnThisNameCantBeTaken
Comment options

@huoyaoyuan
Comment options

Answer selected by CraigComeOnThisNameCantBeTaken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants