[all-commits] [llvm/llvm-project] 44be0e: [HTTP][Windows] Apply the configured timeout to Wi...

Charles Zablit via All-commits all-commits at lists.llvm.org
Thu Sep 24 08:04:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44be0efbe3ae7593da00770f8505486011ca7057
      https://github.com/llvm/llvm-project/commit/44be0efbe3ae7593da00770f8505486011ca7057
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M llvm/lib/HTTP/HTTPClient.cpp

  Log Message:
  -----------
  [HTTP][Windows] Apply the configured timeout to WinHttpReceiveResponse (#226172)

`WinHttpSetTimeouts` does not bound the wait inside
`WinHttpReceiveResponse`, which has its own separate
`WINHTTP_OPTION_RECEIVE_RESPONSE_TIMEOUT`.

For example: with the SymStore timeout set to 1s, a server stalling 5s
before responding is not cancelled: `perform()` returns success with a
200 and no body, so lldb handed back a path to a file the response
handler never created.

This fixes `symstore/TestSymStore.py` (test_http_timeout) in swiftlang.



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