From ef0416ec1c1d549db535ed29590e3148a7e9359d Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Sun, 25 Oct 2015 05:01:42 -0700 Subject: [PATCH] Bug 4188: Bumping intercepted SSL connections does not work on Solaris --- src/comm/ModDevPoll.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/comm/ModDevPoll.cc b/src/comm/ModDevPoll.cc index d7949c7703..d6bd9eea3c 100644 --- a/src/comm/ModDevPoll.cc +++ b/src/comm/ModDevPoll.cc @@ -241,6 +241,9 @@ Comm::SetSelect(int fd, unsigned int type, PF * handler, void *client_data, time if ( type & COMM_SELECT_READ ) { if ( handler != NULL ) { + // Hack to keep the events flowing if there is data immediately ready + if (F->flags.read_pending) + state_new |= POLLOUT; /* we want to POLLIN */ state_new |= POLLIN; } else { -- 2.47.3