From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Fri, 13 Oct 2023 06:52:51 +0000 (+0100) Subject: Change response to a /feedback message in a Classic AirPlay session to 501 Not Implme... X-Git-Tag: 4.3.2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b70dd4633fa2e366eb09482e27ee791c58894996;p=thirdparty%2Fshairport-sync.git Change response to a /feedback message in a Classic AirPlay session to 501 Not Implmemented instead of 200 OK. --- diff --git a/rtsp.c b/rtsp.c index 217fe0a6..26883471 100644 --- a/rtsp.c +++ b/rtsp.c @@ -2058,7 +2058,7 @@ void handle_get(__attribute((unused)) rtsp_conn_info *conn, __attribute((unused) void handle_post(rtsp_conn_info *conn, rtsp_message *req, rtsp_message *resp) { resp->respcode = 500; if (strcmp(req->path, "/feedback") == 0) { - resp->respcode = 200; + resp->respcode = 501; } else { debug(1, "Connection %d: Airplay 1. Unhandled POST %s Content-Length %d", conn->connection_number, req->path, req->contentlength);