Thanks for the patch.
Wasn't able to test yet, but doesn't seem the patch will work as expected, as it will always remove just the first occurrence, and then stop when it'll reach that stream again, because of the lmp->len == 0 condition.
I'll rework the patch a little and apply it on trunk.
Best Regards,
Vlad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
stream_delete_except() support for sipmsgops
Hi Ryan,
Thanks for the patch.
Wasn't able to test yet, but doesn't seem the patch will work as expected, as it will always remove just the first occurrence, and then stop when it'll reach that stream again, because of the lmp->len == 0 condition.
I'll rework the patch a little and apply it on trunk.
Best Regards,
Vlad