diff options
Diffstat (limited to 'src/lib/curl/Global.hxx')
-rw-r--r-- | src/lib/curl/Global.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/curl/Global.hxx b/src/lib/curl/Global.hxx index 38b909b1f..9e75a16e4 100644 --- a/src/lib/curl/Global.hxx +++ b/src/lib/curl/Global.hxx @@ -57,13 +57,6 @@ public: void Add(CURL *easy, CurlRequest &request); void Remove(CURL *easy) noexcept; - /** - * Check for finished HTTP responses. - * - * Runs in the I/O thread. The caller must not hold locks. - */ - void ReadInfo() noexcept; - void Assign(curl_socket_t fd, CurlSocket &cs) noexcept { curl_multi_assign(multi.Get(), fd, &cs); } @@ -75,6 +68,13 @@ public: } private: + /** + * Check for finished HTTP responses. + * + * Runs in the I/O thread. The caller must not hold locks. + */ + void ReadInfo() noexcept; + void UpdateTimeout(long timeout_ms) noexcept; static int TimerFunction(CURLM *multi, long timeout_ms, void *userp) noexcept; |