RE: [reSIProcate] DUM: Sending ACK in response to BYE
>
> Well, 200 OK is not sent if dum->shutdown(&shutdownHandler) is called
> immediately after onTerminated(). (Note that my app waits for
> onDumCanBeDeleted() callback inside shutdownHandler before deleting
> the dum object.) If the app continues working, (and thus calling
> dum->process(fdset)), then 200 OK is sent in time.
>
> So, as a workaround dum->process() could be called several times
> before dum->shutdown().
>
>
Currently, dum assumes that you have terminated all of your usages before
calling shutdown. It may be a good idea to add a shutdown that also gets rid
of all the usages for you.