]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rsocket; Set POLLERR bit in revent in case of rs_connect_error
authorSasha Kotchubievsky <sashakot@mellanox.com>
Wed, 25 Mar 2015 22:27:01 +0000 (15:27 -0700)
committerSean Hefty <sean.hefty@intel.com>
Thu, 26 Mar 2015 19:38:06 +0000 (12:38 -0700)
commit12ededead565d9e13cabef9a9bb463dd9b51fb53
treede735fe52c13f736b2725210480dee4b90706b63
parent4081ecd19bd09edbbd36fa58d6970f571178e870
rsocket; Set POLLERR bit in revent in case of rs_connect_error

In non-blocking mode, on server side accept returns a new data
socket and select/poll should indicate when the socket is ready
for reading/writing.

This fix allows an application to receive an error in case of
connection failure.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/rsocket.c