aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/socket_default/socket_default_socket.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-11-28 12:36:10 +0100
committerMartin Willi <martin@revosec.ch>2014-11-28 12:50:34 +0100
commit015fb3134db41ca9901ec5c895b15f5a37590ddc (patch)
treed6567345e1796db903d3d3dcce2b2abc84a0b8d9 /src/libcharon/plugins/socket_default/socket_default_socket.c
parent02fd29acc14630a553ec67f008865859e30859e9 (diff)
downloadstrongswan-015fb3134db41ca9901ec5c895b15f5a37590ddc.tar.bz2
strongswan-015fb3134db41ca9901ec5c895b15f5a37590ddc.tar.xz
watcher: Proper handle poll() POLLHUP/NVAL signaling
poll() may return POLLHUP or POLLNVAL for given file descriptors. To handle these properly, we signal them to the EXCEPT watcher state, if registered. If not, we call the read/write callbacks, so they can properly fail when trying to read from or write to the file descriptor.
Diffstat (limited to 'src/libcharon/plugins/socket_default/socket_default_socket.c')
0 files changed, 0 insertions, 0 deletions