From 63be32de7cedabd15fd10dfb5419283c5d0884ea Mon Sep 17 00:00:00 2001 From: Bart Beumer Date: Sun, 9 Nov 2025 23:00:09 +0000 Subject: [PATCH] WIP: apparently pipelining is not a thing anymore, and this now works, sessions are being cleaned up. --- applications/http-mandelbrot/html/index.html | 4 +- applications/http-mandelbrot/src/main.cpp | 35 +++--- .../bmrshared/directory_request_handler.hpp | 2 +- .../bmrshared/request_handler_interface.hpp | 4 +- .../include/bmrshared/request_response.hpp | 104 +++++++++++++++++ .../include/bmrshared/response_promise.hpp | 75 ------------ bmrshared-web/lib/CMakeLists.txt | 2 +- .../lib/directory_request_handler.cpp | 28 ++--- bmrshared-web/lib/internal_server.cpp | 108 +++++++++++------- bmrshared-web/lib/internal_server.h | 21 +++- bmrshared-web/lib/request_response.cpp | 56 +++++++++ bmrshared-web/lib/response_promise.cpp | 27 ----- 12 files changed, 282 insertions(+), 184 deletions(-) create mode 100644 bmrshared-web/include/bmrshared/request_response.hpp delete mode 100644 bmrshared-web/include/bmrshared/response_promise.hpp create mode 100644 bmrshared-web/lib/request_response.cpp delete mode 100644 bmrshared-web/lib/response_promise.cpp diff --git a/applications/http-mandelbrot/html/index.html b/applications/http-mandelbrot/html/index.html index 44f2e46..f77d28c 100644 --- a/applications/http-mandelbrot/html/index.html +++ b/applications/http-mandelbrot/html/index.html @@ -31,12 +31,12 @@ -
+