fixed calling terminate instead of gracefully ending

This commit is contained in:
loki
2021-06-08 21:58:32 +02:00
parent 0942f2ee7f
commit c53564dd31
3 changed files with 16 additions and 9 deletions
+4
View File
@@ -1,5 +1,8 @@
#include "network.h"
#include "thread_safe.h"
namespace http {
void init(std::shared_ptr<safe::signal_t> shutdown_event);
int create_creds(const std::string &pkey, const std::string &cert);
std::string read_file(const char *path);
@@ -7,4 +10,5 @@ int write_file(const char *path, const std::string_view &contents);
int reload_user_creds(const std::string &file);
extern std::string unique_id;
extern net::net_e origin_pin_allowed;
} // namespace http