From: Mike Brady Date: Sat, 7 May 2016 08:41:51 +0000 (+0100) Subject: Fix a diagnostic that actually caused the connection to be dropped occasinally. X-Git-Tag: 2.8.3.5~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01e86f5e98a2efc27c576fc911493812be3e957;p=thirdparty%2Fshairport-sync.git Fix a diagnostic that actually caused the connection to be dropped occasinally. --- diff --git a/rtsp.c b/rtsp.c index 976effe1..c41f7540 100644 --- a/rtsp.c +++ b/rtsp.c @@ -498,11 +498,13 @@ rtsp_read_request(rtsp_conn_info *conn, rtsp_message **the_packet) { goto shutdown; } nread = read(conn->fd, buf + inbuf, buflen - inbuf); + /* if (!nread) { debug(2, "RTSP connection closed."); reply = rtsp_read_request_response_shutdown_requested; goto shutdown; } + */ if (nread < 0) { if (errno == EINTR) continue;