-
Committer:
Christos Tsantilas
-
Date:
2008-11-18 22:44:42 UTC
-
Revision ID:
chtsanti@users.sourceforge.net-20081118224442-awd37hxz1dhifcs7
Add the methods:
- ICAPServiceRep::freeConnectionSlots which returns the number of free
connections slots (MaxConnections-BusyConnections)
- ICAPServiceRep::existWaiters which returns true if there are waiting
requests for the service to be available
Also:
- Modify the ICAPServiceRep::available() and ICAPServiceRep::busyCheckpoint
to use the new ICAPServiceRep::freeConnectionSlots method
- Remove the Must(!theIdleConns.count()); statement in the
ICAPServiceRep::callWhenAvailable method. If there are waiting requests we
are allowing new incomming request to be queued even if there are idle
connections.