This is what I ended up doing.
Will commit the changes HEAD shortly, together with the other pending
SSL fixes/tweaks.
Regards
Henrik Nordström
Squid Hacker
Henrik Nordstrom wrote:
> One quick way is to add a flag to the fde_table struct telling that the
> filedescriptor is active, and set this flag to 1 if there is data in the
> SSL buffer after SSL_Read. Then use this flag in the select loop to
> consider the fd as active regardless if select/poll returned it or not.
> The precense of such active (== flag set and not deferred)
> filedescriptors also need to zero out the select timeout.
Received on Fri Oct 19 2001 - 18:01:44 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:33 MST