Files
asterisk/res
Mike Bradeen b0df75eb09 res_pjsip: prevent crash on websocket disconnect
When a websocket (or potentially any stateful connection) is quickly
created then destroyed, it is possible that the qualify thread will
destroy the transaction before the initialzing thread is finished
with it.

Depending on the timing, this can cause an assertion within pjsip.

To prevent this, ast_send_stateful_response will now create the group
lock and add a reference to it before creating the transaction.

While this should resolve the crash, there is still the potential that
the contact will not be cleaned up properly, see:ASTERISK~29286. As a
result, the contact has to 'time out' before it will be removed.

ASTERISK-28689

Change-Id: Id050fded2247a04d8f0fc5b8a2cf3e5482cb8cee
2022-10-31 12:49:40 -05:00
..
2021-12-03 10:38:39 -06:00
2021-12-03 10:38:39 -06:00
2021-12-03 10:38:39 -06:00
2022-07-12 07:52:12 -05:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2021-11-18 16:25:51 -06:00
2022-06-09 03:47:41 -05:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2022-05-09 08:21:45 -05:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2022-07-12 07:46:03 -05:00
2021-12-03 10:38:39 -06:00
2022-03-24 12:00:58 -05:00
2021-11-18 16:59:26 -06:00
2021-12-03 10:38:39 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2021-11-15 16:37:34 -06:00
2021-12-03 10:38:39 -06:00
2021-12-03 10:38:39 -06:00
2021-12-03 10:38:39 -06:00