Revalidate the subscription list instead of downloading it on every poll

This commit is contained in:
SoftFever committed 2026-10-27 18:53:55 +08:00
1 parent c313f3328b
commit 474980a51b
4 files changed
+192 -12

No files matched your search

+2 -1
View File
@@ -521,7 +521,8 @@ void Http::priv::http_perform()
::curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &http_status);
//BBS check success http status code
if (http_status >= 200 && http_status < 300) {
// A 304 answers a conditional request (If-None-Match): the caller's copy is still current.
if ((http_status >= 200 && http_status < 300) || http_status == 304) {
if (completefn) { completefn(std::move(buffer), http_status); }
if (ipresolvefn) {
char* ct;