Skip to content

Commit

Permalink
Set debug verbosity to 2 when the client closes the connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed Sep 19, 2023
1 parent 465c5a3 commit 2fb81ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2fb81ca

Please sign in to comment.