]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Change response to a /feedback message in a Classic AirPlay session to 501 Not Implme...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 13 Oct 2023 06:52:51 +0000 (07:52 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 13 Oct 2023 06:52:51 +0000 (07:52 +0100)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index 217fe0a6b40e6b5cadb482cd1c5f16a28e36816b..26883471d3785e2da35fb493a5cdce5a656011d8 100644 (file)
--- 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);