summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2021-11-16 10:56:33 +0000
committerYann Ylavic <ylavic@apache.org>2021-11-16 10:56:33 +0000
commit8ca5eef597975f786283b044b7eb0f59fe61f334 (patch)
treef1048fc2a6568ff5e86b9c4171a19d935d89f8f4
parent17a7469f61c0af3351fa1319b3a9459ff46beb9a (diff)
downloadapr-8ca5eef597975f786283b044b7eb0f59fe61f334.tar.gz
Revert r1894918 (untested).
See https://lists.apache.org/thread/dmlm6z38fpd9l7xccqkw9pzchv4rzvxv git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1895085 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poll/unix/wakeup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/poll/unix/wakeup.c b/poll/unix/wakeup.c
index c1e675e30..6c3dcd6fb 100644
--- a/poll/unix/wakeup.c
+++ b/poll/unix/wakeup.c
@@ -36,9 +36,6 @@ apr_status_t apr_poll_create_wakeup_pipe(apr_pool_t *pool, apr_pollfd_t *pfd,
pool)) != APR_SUCCESS)
return rv;
- /* Read end of the pipe is non-blocking */
- apr_file_pipe_timeout_set(wakeup_pipe[0], 0);
-
pfd->reqevents = APR_POLLIN;
pfd->desc_type = APR_POLL_FILE;
pfd->desc.f = wakeup_pipe[0];
@@ -83,7 +80,6 @@ apr_status_t apr_poll_create_wakeup_pipe(apr_pool_t *pool, apr_pollfd_t *pfd,
{
apr_status_t rv;
- /* Read end of the pipe is non-blocking */
if ((rv = apr_file_pipe_create_ex(&wakeup_pipe[0], &wakeup_pipe[1],
APR_WRITE_BLOCK,
pool)) != APR_SUCCESS)