Skip to content

Commit

Permalink
Disable TLS, fixes lp:1817395
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Mar 14, 2019
1 parent 0a9e68b commit e2c0fae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/engine/sidechain/shoutconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ ShoutConnection::ShoutConnection(BroadcastProfilePtr profile,
errorDialog(tr("Error setting non-blocking mode:"),
shout_get_error(m_pShout));
}

#ifdef SHOUT_TLS
// Libshout defaults to SHOUT_TLS_AUTO if build with SHOUT_TLS
// Sometimes autodetection fails, resulting into no metadata send
// https://bugs.launchpad.net/mixxx/+bug/1817395
if (shout_set_tls(m_pShout, SHOUT_TLS_DISABLED) != SHOUTERR_SUCCESS) {
errorDialog(tr("Error setting tls mode:"),
shout_get_error(m_pShout));
}
#endif
}

ShoutConnection::~ShoutConnection() {
Expand Down

0 comments on commit e2c0fae

Please sign in to comment.