From 9297788cdff6f810e1551a73b60389ea7767b4b8 Mon Sep 17 00:00:00 2001
From: Lorenz Stechauner <lorenz.stechauner@necronda.net>
Date: Thu, 7 Jan 2021 22:51:02 +0100
Subject: [PATCH] Added TODOs

---
 src/rev_proxy.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/rev_proxy.c b/src/rev_proxy.c
index a4cc3b4..04c8ebe 100644
--- a/src/rev_proxy.c
+++ b/src/rev_proxy.c
@@ -95,6 +95,7 @@ int rev_proxy_init(http_req *req, http_res *res, host_config *conf, sock *client
     print(BLUE_STR "Established new connection with " BLD_STR "[%s]:%i" CLR_STR, buffer, conf->rev_proxy.port);
 
     rev_proxy:
+    // TODO strange behaviour with Edge
     http_remove_header_field(&req->hdr, "Connection", HTTP_REMOVE_ALL);
     http_add_header_field(&req->hdr, "Connection", "keep-alive");
 
@@ -226,6 +227,7 @@ int rev_proxy_send(sock *client, int chunked, unsigned long len_to_send) {
     long ret;
     char buffer[CHUNK_SIZE];
     long len, snd_len;
+    // TODO handle websockets
     do {
         if (chunked) {
             ret = sock_recv(&rev_proxy, buffer, 16, MSG_PEEK);