From: Alex Rousskov Date: Tue, 27 Oct 2015 22:45:11 +0000 (-0700) Subject: Bug 4188: Bumping intercepted SSL connections does not work on Solaris X-Git-Tag: SQUID_3_5_11~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6234f7478e563b89560f81448d47bf19aee87ab;p=thirdparty%2Fsquid.git Bug 4188: Bumping intercepted SSL connections does not work on Solaris --- 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 {