diff options
author | Simon Rettberg | 2015-02-25 17:50:33 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-02-25 17:50:33 +0100 |
commit | dd1b647b0b8193a58c047daee6079417b07a5ac5 (patch) | |
tree | f943759257defe1f57bf1921b84a483e3be8494b /ldadp.c | |
parent | Hack in support for numeric account names (diff) | |
download | ldadp-dd1b647b0b8193a58c047daee6079417b07a5ac5.tar.gz ldadp-dd1b647b0b8193a58c047daee6079417b07a5ac5.tar.xz ldadp-dd1b647b0b8193a58c047daee6079417b07a5ac5.zip |
Fix epoll based detection of closed connections
Diffstat (limited to 'ldadp.c')
-rw-r--r-- | ldadp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ static void listen_callback(void *data, int haveIn, int haveOut, int doCleanup) free(client); return; } - ePoll_add(EPOLLIN | EPOLLOUT | EPOLLET, (epoll_item_t*)client); + ePoll_add(EPOLLIN | EPOLLOUT | EPOLLET | EPOLLRDHUP, (epoll_item_t*)client); } static int loadConfig_handler(void *stuff, const char *section, const char *key, const char *value) |