Commit Graph

9 Commits

Author SHA1 Message Date
Pavel Punsky
265d1029e6
Use bool to enable prometheus (#1779)
`turn_params.prometheus` is bool but used as int throughout the code
`turn_params,prometheus_username_labels` is bool but in one place is set
with 1

This PR changes 0 and 1 to false and true accordingly
2025-12-08 08:43:36 -08:00
Kang Lin
40c99db6ba
Support Windows MSVC (#855)
The following changes have been made:
1. Replace deprecated functions with new standard functions
2. Add corresponding MSVC functions for non-standard functions 
3. Remove warnings about unsafe functions
4. CMAKE: modify find pack Libevent and openssl 
5. Modify include files
6. Use pthread4W
7. Modify socket in windows
8. Add CI - github action
8.1. msvc
8.2. mingw
10. The database:
9.1. sqlite, pgsql, hiredis, mongo  is test compiled.
9.2. mysql, isnot test compiled.
11. The applications、server can be compiled and run successfully! 
12. Add vcpkg manifest mode in cmake.
2022-10-28 19:32:23 -07:00
tyranron
5d196ff1d0
Add 'debian' image and run as non-root 2021-04-01 17:41:55 +03:00
tyranron
a7b15d2222
Bootstrap image 2021-04-01 12:01:24 +03:00
KangLin
677e5dc5d3 Add cmake 2021-02-26 09:02:50 +08:00
Mészáros Mihály
61cb7537d0 Add .vscode to gitignore 2020-06-24 12:40:56 +02:00
Mészáros Mihály
7d1c1e0f89 Add new test certs 2020-04-28 09:26:31 +00:00
Mészáros Mihály
499f2dad6e ignore sqlite folder 2017-12-04 09:40:20 +01:00
Mészáros Mihály
4595274bf7 Add git ignore 2017-09-29 15:04:55 +02:00