1
0
mirror of https://github.com/coturn/coturn.git synced 2025-12-26 10:21:00 +01:00
coturn/examples
Pavel Punsky c7d431a36a
Memset user_db before reading conf file, not after (#1537)
Fixes #1533 and #1534

Memsetting `turn_params.default_users_db` before reading conf file, not
after.
Because auth is read in first iteration so secret was wiped out.

# test plan
Add new test script that uses config file to setup turnserver instead of
cli arguments and confirm it works (fails without the change)
2024-07-14 16:59:26 -07:00
..
2020-04-28 09:26:31 +00:00
2024-01-15 18:31:16 -08:00
2015-09-15 22:42:39 -07:00
2018-11-05 14:15:36 +00:00