Skip to content

What's the recommended approach for reusing/disposing new HttpClient handlers? #16255

@HellBrick

Description

@HellBrick

It's been recommended to reuse the full framework's HttpClientHandler across multiple requests instead of disposing it every time (because disposing it means the performance hit of closing and re-opening the underlying connection). Does this advice stands true for the brand new world of CurlHandler and WinHttpHandler?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.NetdocumentationDocumentation bug or enhancement, does not impact product or test code

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions