Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listen to both IPV6 and IPV4 incoming connections: binding to "::" implies using both protocols #1290

Merged
merged 2 commits into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading