summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-08-19 21:27:18 +0200
committerMax Kellermann <max@musicpd.org>2019-08-19 21:38:09 +0200
commit4c46ca6b59b6aeadca22132ff0edd0501b75a991 (patch)
tree644b22143f1cb997d64e718046144b288845a570 /src/lib
parent76a0bf68c7cb55ff4506fbf460da143c3758b316 (diff)
lib/curl/Global: make ReadInfo() private
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/curl/Global.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/curl/Global.hxx b/src/lib/curl/Global.hxx
index 0b6cf3600..ede652cfe 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);
}
@@ -85,6 +78,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;