Re: [OpenSIPS-Devel] [opensips] abandoned turn causes processes to sleep forever when handling retransmitted publishes (#754)

2016-01-14 Thread Will Mitchell
Here's a preliminary patch we put together: https://gist.github.com/wakamoleguy/dc9d694e64364ba6f7d2 We haven't tested it yet, or even really compiled it. The general idea is that if a process detects that it is about to throw away an old presentity, it still waits its turn and calls

Re: [OpenSIPS-Devel] [opensips] abandoned turn causes processes to sleep forever when handling retransmitted publishes (#754)

2016-01-14 Thread Will Mitchell
I could make the patch into an actual pull request, if you'd prefer, although for several reasons (including vulgarity of comments, sorry!) it would be more for discussion than an actual pull. Let me know what you'd prefer. --- Reply to this email directly or view it on GitHub:

Re: [OpenSIPS-Devel] [opensips] abandoned turn causes processes to sleep forever when handling retransmitted publishes (#754)

2016-01-13 Thread Will Mitchell
> It continues processing, but it never calls next_turn_phtable before > exiting. It technically *does* call next_turn_phtable, but on a *new* presentity in the phtable. It does not increment the current_turn on the same presentity that it updated last_turn on. This causes a mismatch on