]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Set debug verbosity to 2 when the client closes the connection. 4.3.2-dev
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 19 Sep 2023 10:28:45 +0000 (11:28 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Tue, 19 Sep 2023 10:28:45 +0000 (11:28 +0100)
rtsp.c

diff --git a/rtsp.c b/rtsp.c
index e131ac0b11a93445585010b234fc4e35bce17b6c..56e06c934a2c45c098823c239adadf19f45a3499 100644 (file)
--- a/rtsp.c
+++ b/rtsp.c
@@ -1319,7 +1319,7 @@ enum rtsp_read_request_response rtsp_read_request(rtsp_conn_info *conn, rtsp_mes
 
     if (nread == 0) {
       // a blocking read that returns zero means eof -- implies connection closed by client
-      debug(3, "Connection %d: Connection closed by client.", conn->connection_number);
+      debug(2, "Connection %d: Connection closed by client.", conn->connection_number);
       reply = rtsp_read_request_response_channel_closed;
       // Note: the socket will be closed when the thread exits
       goto shutdown;