]> git.sesse.net Git - cubemap/blobdiff - config.h
Rename ping to gen204, and change the response type to a 204 No Response, since that...
[cubemap] / config.h
index 5a006cad29054c919f2f629917eb88d4c2abb748..9a5cc571f50a6868623a88370d6a39afa9c0f777 100644 (file)
--- a/config.h
+++ b/config.h
@@ -26,7 +26,7 @@ struct UDPStreamConfig {
        int multicast_iface_index;  // Default is -1 (use operating system default).
 };
 
-struct PingConfig {
+struct Gen204Config {
        std::string url;  // As seen by the client.
        std::string allow_origin;  // Can be empty.
 };
@@ -45,7 +45,7 @@ struct Config {
        int num_servers;
        std::vector<StreamConfig> streams;
        std::vector<UDPStreamConfig> udpstreams;
-       std::vector<PingConfig> pings;
+       std::vector<Gen204Config> pings;
        std::vector<AcceptorConfig> acceptors;
        std::vector<LogConfig> log_destinations;