httpRedirect

Daemon that redirects http GET requests on port 80 to a specified url (https)
git clone https://noulin.net/git/httpRedirect.git
Log | Files | Refs | README

commit 0a1410ef98f8197b6269c4f81839fe03854edb8f
parent 2101da6eb3470feb0187e3988a16513fb610edc1
Author: Remy Noulin <loader2x@gmail.com>
Date:   Sat, 25 May 2019 18:20:07 +0200

dont log the received data

httpRedirect.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Diffstat:
MhttpRedirect.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/httpRedirect.c b/httpRedirect.c @@ -167,11 +167,11 @@ local void serve(void) { continue; } - logVarG(rval); - logI(buf); - if (!icStartsWithG(buf, "get ")) goto closeClientSocket; + logVarG(rval); + //logI(buf); + //logI("get"); buf[sizeof(buf)-1] = 0;