paivana

HTTP paywall reverse proxy
Log | Files | Refs | README | LICENSE

commit a7c4865b31d6da600ad0ca05f9d346f12c75d823
parent f1c2d1eeaf310313d733ad4fd5577a1fef274a1d
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 27 Nov 2025 00:32:40 +0100

Paivana paywall serving

Diffstat:
Msrc/backend/paivana-httpd.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/backend/paivana-httpd.c b/src/backend/paivana-httpd.c @@ -1035,6 +1035,8 @@ create_response (void *cls, struct HttpRequest *hr = *con_cls; (void) cls; + // FIXME: check if url is one that we reverse proxy! + (void) url; if (NULL == hr) @@ -1093,6 +1095,8 @@ create_response (void *cls, return MHD_YES; } + // FIXME: move vanilla reverse proxy logic to another file! + /* continuing to process request */ if (0 != *upload_data_size) { @@ -1899,6 +1903,7 @@ run (void *cls, (void) args; (void) cfgfile; cfg = c; + // FIXME: initialize database logic! if (0 != curl_global_init (CURL_GLOBAL_WIN32)) {