mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a hangup in SVDRP when the client disappears without sending QUIT
This commit is contained in:
parent
642f8c0f13
commit
37c340e51a
@ -777,3 +777,6 @@ Javier Marcet <lists@marcet.info>
|
||||
|
||||
Peter Waechtler <pwaechtler@mac.com>
|
||||
for adding channels for DVB-T Hannover (Germany) to channels.cont.terr
|
||||
|
||||
Robert Bartl <robert@bartl.priv.at>
|
||||
for reporting a hangup in SVDRP when the client disappears without sending QUIT
|
||||
|
3
HISTORY
3
HISTORY
@ -2336,3 +2336,6 @@ Video Disk Recorder Revision History
|
||||
to Lauri Tischler and Ragnar Sundblad).
|
||||
- Added channels for DVB-T Hannover (Germany) to channels.cont.terr (thanks to
|
||||
Peter Waechtler).
|
||||
- Fixed a hangup in SVDRP when the client disappears without sending QUIT (thanks
|
||||
to Robert Bartl for reporting this one). The problem was introduced in version
|
||||
1.2.2 through the fix for an occasional "Broken pipe" error in SVDRP connections.
|
||||
|
4
svdrp.c
4
svdrp.c
@ -10,7 +10,7 @@
|
||||
* and interact with the Video Disk Recorder - or write a full featured
|
||||
* graphical interface that sits on top of an SVDRP connection.
|
||||
*
|
||||
* $Id: svdrp.c 1.53 2003/07/26 10:57:33 kls Exp $
|
||||
* $Id: svdrp.c 1.54 2003/08/30 09:35:00 kls Exp $
|
||||
*/
|
||||
|
||||
#include "svdrp.h"
|
||||
@ -1104,6 +1104,8 @@ bool cSVDRP::Process(void)
|
||||
isyslog("lost connection to SVDRP client");
|
||||
Close();
|
||||
}
|
||||
else
|
||||
break;
|
||||
}
|
||||
if (Setup.SVDRPTimeout && time(NULL) - lastActivity > Setup.SVDRPTimeout) {
|
||||
isyslog("timeout on SVDRP connection");
|
||||
|
Loading…
Reference in New Issue
Block a user