feat: Add https proxying

This commit is contained in:
2025-04-23 17:33:23 +10:00
parent aa3da9d5c3
commit 92f4f19d32
3 changed files with 303 additions and 17 deletions

View File

@@ -1,6 +1,9 @@
#ifndef PROXY_H
#define PROXY_H
#include <signal.h>
#include <netinet/tcp.h>
/**
* Starts the proxy server on the specified port
*
@@ -9,4 +12,9 @@
*/
int start_proxy_server(int port);
/**
* Signal handler for graceful termination
*/
void handle_signal(int sig);
#endif // PROXY_H