Issues.00279 - lordmundi/wikidoctest GitHub Wiki

00279: doug RCS example client shouldn't block on read

« 00278 | Issues | 00280 »

Summary: doug RCS example client shouldn't block on read

Created: 2010–09–30 17:00

Status: Released

Category: Request

From: frankie

Version: 2.1

Released_In: 2.2

Description:

the example RCS client in C under the src.dist directory will block indefinitely when reading from the socket. If EDGE hangs for some reason, the read may never release or timeout. This is a request for a timeout.


Comments

frankie September 30, 2010, at 05:02 PM: I've added the timeout and defaulted it to 3 seconds (for each character on the buffer, not the entire response).


« 00278 | Issues | 00280 »

Associated Commits

| commit | 76ede1ddab601328624118cc14a9ea9cceb6d14e link5 | || | Author: | Frank Graffagnino | | Date: | Thu Sep 30 17:03:00 2010 -0500 | | Message: | [@Issue 00279: Added in timeout to C RCS client example @] |

Affected Files:

…/doug_command_client/doug_command_client.h      |  2 ±
 …/doug_command_client/send_doug_command.c        | 53 ++++++++++++++++±----
 2 files changed, 43 insertions(+), 12 deletions(-)