Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that NOTIFY tdata is set before sending it #3373

Merged
merged 1 commit into from
Feb 13, 2023

Conversation

trengginas
Copy link
Member

PR #3126 will delay sending NOTIFY after the SUBSCRIBE response.
This is done by saving the NOTIFY tdata (pending_notify) from pjsip_evsub_send_request() called from on_rx_refresh() callback and send it later.
However, pjsip_evsub_send_request() might not get called and pending_notify not set, which will raise the assertion and crash.
This will remove the assertion and check the pending_notify before sending it.

@trengginas trengginas added this to the release-2.14 milestone Feb 9, 2023
@trengginas trengginas self-assigned this Feb 9, 2023
@sauwming sauwming merged commit 642179a into master Feb 13, 2023
@sauwming sauwming deleted the evsub-pending-notify branch February 13, 2023 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants