BIND 10 #419: Parallel xfrout session should be allowed
BIND 10 Development
do-not-reply at isc.org
Tue Mar 1 15:10:18 UTC 2011
#419: Parallel xfrout session should be allowed
-------------------------------------+-------------------------------------
Reporter: | Owner: vorner
zhanglikun | Status: reviewing
Type: defect | Milestone: A-Team-
Priority: major | Sprint-20110309
Component: xfrout | Resolution:
Keywords: | Sensitive: 0
Estimated Number of Hours: 0.0 | Add Hours to Ticket: 0
Billable?: 1 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Changes (by zzchen_pku):
* owner: zzchen_pku => vorner
Comment:
Replying to [comment:13 vorner]:
> The mixin class is in isc.util, which means it should be independent on
what uses it. But it talks about auth in the comment (it probably
shouldn't) and introduces threads to all applications that use it. I think
that is not really OK. Would it be possible to call the
_handle_request_nonblock() as before and in the case of the xfrout it
would start the thread like this? Simply wrap it?
The comments was there before, I have removed it and moved the thread
logic into xfrout.
> Anyway, this way has another problem. The mixin test sometimes refuses
to terminate. I guess it is related to the thread that is started but
never stops (and it is not a daemon thread, therefore the python waits for
it to terminate).
As mentioned above, _handle_request_nonblock() will create a daemon thread
to handle request.
--
Ticket URL: <http://bind10.isc.org/ticket/419#comment:14>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list