Commit Graph

7 Commits

Author SHA1 Message Date
Alex Gustafsson
d63704c72d
Implement custom prometheus http handler (#1591)
Implement a custom prometheus http handler in order to:

1. Support listening on a specified address as opposed to any
2. Remove the requirement on the unmaintained promhttp library

This feature comes with one limitation: if an IPv4 address is used, the
server will not listen on the IPv6-mapped address, even if IPv6 is
available. That is, dual-stacking does not work.

Solves: #1475

---------

Co-authored-by: Pavel Punsky <eakraly@users.noreply.github.com>
2024-12-10 10:28:43 -08:00
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
Kang Lin
c7a18c6296
Fix: run cmake.yml in any github action (#1320) 2023-11-22 20:34:13 -08:00
dependabot[bot]
ea96379905
Upgrade actions/checkout to 4 version (#1261)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 14:14:40 +02:00
Pavel Punsky
05c0b6e34c
Build CI with prometheus support (#999)
Install dependencies and build with prometheus support during CI builds

Ubuntu 16.04 has issues supporting `MHD_USE_EPOLL_INTERNAL_THREAD` so
disabling it (using SELECT)
Should not impact anything as the only reason we use Ubuntu 16.04 is to
validate build against openssl-1.0.2

Fixes  #998
2022-09-29 14:03:03 -07:00
Pavel Punsky
9d412d86b6 Lock runner version on ubuntu 20.04 so we get openssl-1.1.1 2022-08-25 20:00:11 -07:00
Pavel Punsky
6996c51d49 Create github action to build PR using cmake 2022-08-16 22:49:01 -07:00