Issues.00278 - lordmundi/wikidoctest GitHub Wiki

00278: RCS sometimes throws errors when PIPE is broken

« 00277 | Issues | 00279 »

Summary: RCS sometimes throws errors when PIPE is broken

Created: 2010–09–30 15:49

Status: Released

Category: Bug

From: frankie

Version: 2.1

Released_In: 2.2

Description:

If the remote commanding server tries to write connection information into a socket that may no longer be valid, errors are thrown.


Comments

frankie September 30, 2010, at 03:51 PM: For now I'm only going to hide the errors on the inital writeback when the socket is connected. After some testing, if others show up, I might add them to any write on the socket.

frankie November 18, 2010, at 06:13 PM: Well, after issue Issues.00284 came up, I decided to wrap any prints to the socket.


« 00277 | Issues | 00279 »

Associated Commits

| commit | 61dcbbbc420c70398f6293b135d372bce84fa911 link6 | || | Author: | Frank Graffagnino | | Date: | Thu Nov 18 18:15:09 2010 -0600 | | Message: | [@Issue 00278 and 00284: Updated RCS to be tolerant of client dropout Now, if a client drops the socket before the server is done printing and closing it itself, it doesn't generate tcl errors from printing to a dead socket. Now, prints are wrapped in a catch. @] |

Affected Files:

gui/remote_commanding_server.tcl | 49 ++++++++++++++++++++++++++++++±--------
 1 file changed, 38 insertions(+), 11 deletions(-)

| commit | 72a36e1908977663c38b2f0896196a1211d9cebc link7 | || | Author: | Frank Graffagnino | | Date: | Thu Sep 30 15:52:31 2010 -0500 | | Message: | [@Issue 00278: Hide potential errors on broken socket @] |

Affected Files:

gui/remote_commanding_server.tcl | 6 ++±--
 1 file changed, 3 insertions(+), 3 deletions(-)