Before, a lot of common errors went unnoticed, due to insufficient
compiler diagnostics. This commit fixes this by adding a lot of new
diagnostics, and fixing the issues found by this.
The event loop tries to run no faster than every 10ms. If it detects
that it goes faster, it would incorrectly calculate the difference, and
then wait (what I assume was) way too long or too short.
Either way, now it's fixed and it correctly works, even when introducing
new lua states.
This fixes an issue where the log file is written to the original
directory, even if --working-directory=path was used. This can obviously
be pretty bad.
* Add preliminary work for HTTP health endpoint
* Http: Fix infinite loop bug in Tx509KeypairGenerator::generateKey()
* update commandline
* Add TLS Support class for use with http server
* Add preliminary HTTP Server; TLS still broken; fix in later commit
* Fix TLS handshake, due to server being unable to serve key/certfile in 'Http.h/Http.cpp'; Cause was httlib not being threadsafe due to being a blocking http library
* Run clang format
* Add option to configure http server port via ServerConfig
* TConfig: add HTTPServerPort to config parsing step
* Fix SSL Cert / Key path not auto generating when not existing
* Add health endpoint; Fix SSL Cert serial no. not refreshing when regenerating
* Switch arround status codes in /health route
* Run clang format
Co-authored-by: Lion Kortlepel <development@kortlepel.com>
Fix sentry url length print
remove quotes
github actions is cursed
add debug print
test action
Dont use curl on windows
I dont know why the windows build doesnt report to sentry, so ill try
this.
Change timeout to 20 minutes instead of 5
this is a hacky workaround anyways, so i really dont see why it should
only be 5. 5 is barely enough.
temporarily enable debug mode on sentry
CMake: Use breakpad on windows instead of crashpad
CMake: Sentry: use inproc backend
Since cmake refuses to set my variables, I will do it this way.
I am so tired of this github workflow garbage
Sentry: disable debug again, set
sentry_options_set_symbolize_stacktraces to true, fix memory leak
Sentry: hotfix: dont free options
somehow that causes it to crash, and i cannot be bothered to find out
why right now