Skip to content

CertificateAssetDownloader should be updated to use HttpClient.Send #38495

@stephentoub

Description

@stephentoub

CertificateAssetDownloader on Unix currently uses HttpClient via reflection to download data:


It does this via the asynchronous GetByteArrayAsync method, blocking waiting for it to complete. This should instead be updated to use the newly-added synchronous Send method so as to avoid blocking a thread pool thread for the sync-over-async operation. (This will be a bit more involved, but it's doable.)

cc: @bartonjs, @ManickaP

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions