-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-System.SecurityuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Milestone
Description
CertificateAssetDownloader on Unix currently uses HttpClient via reflection to download data:
Line 126 in 2981ad9
| private static Func<string, Task<byte[]>>? CreateDownloadBytesFunc() |
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.)
Metadata
Metadata
Assignees
Labels
area-System.SecurityuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner