[all-commits] [llvm/llvm-project] 1f07fb: [llvm] Report a WinHttpQueryDataAvailable failure ...
Charles Zablit via All-commits
all-commits at lists.llvm.org
Wed Sep 30 07:36:54 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f07fbff46ebf1e8871a30bf4bd6fc8fdcf0d4af
https://github.com/llvm/llvm-project/commit/1f07fbff46ebf1e8871a30bf4bd6fc8fdcf0d4af
Author: Charles Zablit <c_zablit at apple.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/lib/HTTP/HTTPClient.cpp
Log Message:
-----------
[llvm] Report a WinHttpQueryDataAvailable failure instead of ending the body (#226514)
When `WinHttpQueryDataAvailable` fails, it can be because of a timeout.
We currently don't handle that case and report success instead.
This patch handles the timeout case by returning an error instead.
List of possible error values:
https://learn.microsoft.com/en-us/windows/win32/api/winhttp/nf-winhttp-winhttpquerydataavailable#return-value
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list