Skip to content

Commit

Permalink
oscquery: add =1 to HOST_INFO query to handle weird embedded servers
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Nov 27, 2024
1 parent f8c8e56 commit 2c0a939
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class OSCQueryEnumerator final : public DNSSDEnumerator
bool websockets = keys.value("WebSockets", "false").toLower() == "true";

{
QString req = QString("http://%1:%2/?HOST_INFO").arg(ip).arg(port);
QString req = QString("http://%1:%2/?HOST_INFO=1").arg(ip).arg(port);

QNetworkRequest qreq{QUrl(req)};
qreq.setTransferTimeout(1000);
Expand Down

0 comments on commit 2c0a939

Please sign in to comment.