mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-01 01:12:59 -05:00
Revalidate the subscription list instead of downloading it on every poll
This commit is contained in:
1 parent
c313f3328b
commit
474980a51b
4 files changed
+192
-12
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user