BIND 10 #296: Timeouts on msgq's cc-channel

BIND 10 Development do-not-reply at isc.org
Fri Aug 6 16:33:32 UTC 2010


#296: Timeouts on msgq's cc-channel
-------------------------------+--------------------------------------------
      Reporter:  jelte         |        Owner:  UnAssigned          
          Type:  enhancement   |       Status:  reviewing           
      Priority:  major         |    Milestone:  y2 6 month milestone
     Component:  Unclassified  |   Resolution:                      
      Keywords:                |    Sensitive:  0                   
Estimatedhours:  0.0           |        Hours:  0                   
      Billable:  1             |   Totalhours:  0                   
      Internal:  0             |  
-------------------------------+--------------------------------------------
Changes (by jelte):

  * owner:  jelte => UnAssigned
  * status:  new => reviewing


Comment:

 Ok, i think it should be about ready now;

 I've added error handling (raises a SessionError containing the lowlevel
 error message), and added tests. There is an interface to set timeouts
 now; but rather than add an optional argument to everything that might
 send a message, you can set it on the session object itself, in which case
 the value will be used for any blocking read.

 I also added timeouts to the python version, though in this case no
 exception is raised (but the answer and envelope are None). Should we have
 an exception here too (ie if (blocking and timeout and no answer) raise
 TimeoutError)?

-- 
Ticket URL: <http://bind10.isc.org/ticket/296#comment:6>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list