-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42700/#review116069
-----------------------------------------------------------



Does the reactor still shut itself down when the last connection is removed?

- Gordon Sim


On Jan. 24, 2016, 10:20 p.m., Kenneth Giusti wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42700/
> -----------------------------------------------------------
> 
> (Updated Jan. 24, 2016, 10:20 p.m.)
> 
> 
> Review request for qpid, Alan Conway and Gordon Sim.
> 
> 
> Bugs: PROTON-1104
>     https://issues.apache.org/jira/browse/PROTON-1104
> 
> 
> Repository: qpid-proton-git
> 
> 
> Description
> -------
> 
> When a reactor's final connection is closed/released, new connections created 
> on that reactor don't work properly.  Specifically, the pn_reactor_wakeup() 
> call fails.  This can lead to the reactor thread "hanging" until the next 
> configured timeout occurs.
> 
> This is due to reactor destroying its internal timer selectable when the last 
> connection is released.  The timer finalize also closes the IPC pipe, 
> rendering pn_reactor_wakeup() unable to work.
> 
> 
> Diffs
> -----
> 
>   proton-c/src/reactor/reactor.c 7ea279b 
> 
> Diff: https://reviews.apache.org/r/42700/diff/
> 
> 
> Testing
> -------
> 
> Unit tests pass.  reproducer pass.
> 
> Need to check the python reactor examples.
> 
> 
> Thanks,
> 
> Kenneth Giusti
> 
>

Reply via email to