[llvm] [HTTP][Windows] Apply the configured timeout to WinHttpReceiveResponse (PR #226172)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 07:44:40 PDT 2026
Nerixyz wrote:
> [`WinHttpSetTimeouts`](https://learn.microsoft.com/en-us/windows/win32/api/winhttp/nf-winhttp-winhttpsettimeouts) describes `nReceiveTimeout` as the time "to receive a response to a request". However the wait for response headers in `WinHttpReceiveResponse` is actually governed by [`WINHTTP_OPTION_RECEIVE_RESPONSE_TIMEOUT`](https://learn.microsoft.com/en-us/windows/win32/winhttp/option-flags#winhttp_option_receive_response_timeout).
Yea basically this should be documented there.
https://github.com/llvm/llvm-project/pull/226172
More information about the llvm-commits
mailing list