summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-11-27 10:36:35 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-11-28 15:16:49 +0100
commit2a16a986ce5f1bdb7e96abfe14fcb9f34c9364b6 (patch)
tree0bf819aa4399d09659ac971bde7312b3f6b0d198 /src/network
parent90a18413f8be577a649900eca977e060273f2b5b (diff)
event: allow EPOLLET as event flag
EPOLLET enables edge-triggered mode (see epoll(7) for more). For most use-cases, level-triggered is just fine, but for master-TTYs we need edge-triggered to catch EPOLLHUP. master-TTYs signal EPOLLHUP if no client is connected, but a client may connect some time later (same happens during vhangup(2)). However, epoll doesn't allow masking EPOLLHUP so it's signaled constantly. To avoid this, edge-triggered mode is needed.
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions