IdleConnList problems

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Mon, 04 Jul 2011 21:35:42 +0300

Hi all,
  I am still having many problems with IdleConnList :-(

Looks that the IdleConnList::pop() and the IdleConnList::findUseable()
methods return always NULL.
The reason is the fd_table[]::flags.read_pending flag which is always 0.
I can find only one place in the code where this flag set to 1/true, and
this is in ssl/support.cc file inside ssl_read_method function.

The test:
   if (!fd_table[theList_[i]->fd].flags.read_pending)
        continue;
replaced an older check which used the comm_has_pending_read_callback
function which returned always false.

What is the fde::flags::read_pending flag? What is supposed to do?

Just removing the check for fd_table[].flags.read_pending in pop and
findUsable methods I am getting other assertions when trying to set a
comm-read handler on a connections retrieved from the connections pool. ...
Received on Mon Jul 04 2011 - 18:35:52 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 05 2011 - 12:00:02 MDT