Clifford Jansen created PROTON-2834:
---------------------------------------

             Summary: Container stop delayed by canceled work_queue task.
                 Key: PROTON-2834
                 URL: https://issues.apache.org/jira/browse/PROTON-2834
             Project: Qpid Proton
          Issue Type: Bug
          Components: cpp-binding
    Affects Versions: proton-c-0.39.0
            Reporter: Clifford Jansen
         Attachments: tc1.cpp

Canceling work using the work_handle does not remove the canceled item nor 
adjust the next proactor timeout forward if necessary.

This prevents the container from stopping until the last scheduled work has 
reached its deadline, even if canceled.

My first attempt at a fix fell short.  I believe a proper fix requires a 
combination of checking for a shortened timer in cancel and some sort of 
reaping of canceled work in cancel() or run_timer_jobs() or both.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to