Skip to content

Commit

Permalink
listen to both IPV6 and IPV4 incoming connections: binding to "::" im…
Browse files Browse the repository at this point in the history
…plies both protocols (#1290)

Co-authored-by: Johannes Pohl <[email protected]>
  • Loading branch information
ernstkl and badaix authored Dec 21, 2024
1 parent be77ddb commit 0e283f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/server_settings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ struct ServerSettings
bool ssl_enabled{false};
size_t port{1780};
size_t ssl_port{1788};
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
std::vector<std::string> ssl_bind_to_address{{"0.0.0.0"}};
std::vector<std::string> bind_to_address{{"::"}};
std::vector<std::string> ssl_bind_to_address{{"::"}};
std::string doc_root{""};
std::string host{"<hostname>"};
std::string url_prefix{""};
Expand All @@ -80,7 +80,7 @@ struct ServerSettings
{
bool enabled{true};
size_t port{1705};
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
std::vector<std::string> bind_to_address{{"::"}};
};

struct Stream
Expand All @@ -92,7 +92,7 @@ struct ServerSettings
std::string sampleFormat{"48000:16:2"};
size_t streamChunkMs{20};
bool sendAudioToMutedClients{false};
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
std::vector<std::string> bind_to_address{{"::"}};
};

struct StreamingClient
Expand Down

0 comments on commit 0e283f9

Please sign in to comment.