diff options
author | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:22:48 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-07-28 19:22:48 +0200 |
commit | 03bf6b90879bb6e5f0fab05a61a843bb437dd30a (patch) | |
tree | 2eb0cff73002b4278916c1ad6865b7a85b680bd1 /sysdep/unix/io.c | |
parent | 6e841b3153565632b6753f6b1fe74850c37f2808 (diff) |
Revert "Adding a generic cork mechanism for events"
This reverts commit 6e841b3153565632b6753f6b1fe74850c37f2808.
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index dd385c80..c91f2856 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -2234,7 +2234,7 @@ io_loop(void) { pfd[nfds] = (struct pollfd) { .fd = -1 }; /* everything other set to 0 by this */ s = SKIP_BACK(sock, n, n); - if (s->rx_hook && !ev_corked(s->cork)) + if (s->rx_hook) { pfd[nfds].fd = s->fd; pfd[nfds].events |= POLLIN; |