[PATCH] D112753: [llvm] [Support] Add CURL HTTP Client.

Noah Shutty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 13:42:50 PDT 2021


noajshu created this revision.
noajshu added a reviewer: phosek.
Herald added subscribers: dexonsmith, hiraditya, mgorny.
noajshu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This implements a `CurlHTTPRequest` which wraps libcurl. Unit tests are included which override the curl-related methods to simulate the lifecycle of a request sent with curl.

This diff was split out from D111252 <https://reviews.llvm.org/D111252>.


https://reviews.llvm.org/D112753

Files:
  llvm/include/llvm/Support/CURLClient.h
  llvm/lib/Support/CMakeLists.txt
  llvm/lib/Support/CURLClient.cpp
  llvm/unittests/Support/HTTPClient.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112753.383151.patch
Type: text/x-patch
Size: 11533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211028/fa5d51da/attachment.bin>


More information about the llvm-commits mailing list