Project

General

Profile

Actions

Bug #614

closed

Receiving a connection on Unix does not distinguish between errors and timeouts

Added by Michael Onken almost 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Low
Category:
Library
Target version:
Start date:
2014-11-25
Due date:
% Done:

100%

Estimated time:
4:00 h
Module:
dcmnet
Operating System:
Compiler:

Description

The current Unix implementation of receiving a TCP/IP connection using select does not consider errors that can occur during select but handles them the same way as regular timeouts are handled. An error can occur for example, if an interrupt makes select() return, for example, which should be handled gracefully in the code instead of returning OFFalse (as it is done for the case of a regular timeout).

The problem and patch is described in this forum post: http://forum.dcmtk.org/viewtopic.php?f=1&t=4108

Actions

Also available in: Atom PDF