]> git.sesse.net Git - cubemap/blobdiff - serverpool.cpp
Rename ping to gen204, and change the response type to a 204 No Response, since that...
[cubemap] / serverpool.cpp
index 3159f33982b80b1f1116907a50539042648ee1f1..c77c30ef85c262084a0d92ad862da38a4717ceb5 100644 (file)
@@ -163,10 +163,10 @@ void ServerPool::add_data(int stream_index, const char *data, size_t bytes, Stre
        }
 }
 
        }
 }
 
-void ServerPool::add_ping(const std::string &url, const std::string &allow_origin)
+void ServerPool::add_gen204(const std::string &url, const std::string &allow_origin)
 {
        for (int i = 0; i < num_servers; ++i) {
 {
        for (int i = 0; i < num_servers; ++i) {
-               servers[i].add_ping(url, allow_origin);
+               servers[i].add_gen204(url, allow_origin);
        }
 }
 
        }
 }