Fix: remove assert on fd in the read/write layer
authorDavid Goulet <dgoulet@efficios.com>
Thu, 28 Nov 2013 18:25:25 +0000 (13:25 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 28 Nov 2013 18:25:25 +0000 (13:25 -0500)
commit043af8b55bfcc8276b7ae301efa2c72b1f3378e3
tree95d2c18e2f3075269f6ef960d830e97961b97e39
parent3ccf4e9534b21320e7255a2fbc47404f60a3a7d3
Fix: remove assert on fd in the read/write layer

It is possible that an invalid fd is passed to read or write. This can
happen for instance if the endpoint of the transport (ex: relayd) dies
out while actively trying to send data. It is OK to let an invalid fd
where the syscall will return the right value along with errno being
populated with the corresponding code.

Acked-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/readwrite.c
This page took 0.024614 seconds and 4 git commands to generate.