Re: [squid-users] bug 1991/1939 and kqueue

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 12 May 2011 14:21:56 +1200

On 12/05/11 07:21, Ming Fu wrote:
> Hi,
>
> I was looking into the fix for 1939 on Linux epoll. I am wondering if similarly apply the same modification to kqueue will do the same magic for 1991. On Linux epoll that fix seems to enable write monitoring whenever read_pending is present. I don't understand the logic, but if it works for Linux, would it work for FreeBSD as well?
>
> Regards,
> Ming
>

Thank you for taking an interest in fixing bugs!

Which version(s) or Squid and OpenSSL are you replicating it with?

The logic goes that if there is read pending, then SSL might have
something buffered needing to write. I suspect it may be a higher level
problem with SSL omitting a write somewhere or a flags we omit to
disable OpenSSl buffering. But if Henrik failed to find it, could be hard.

Nothing beats experiments for finding things out. Try it and see.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Thu May 12 2011 - 02:22:02 MDT

This archive was generated by hypermail 2.2.0 : Thu May 12 2011 - 12:00:02 MDT