From 55fa42ab1edda4b76015d268cc6c9762a481766e Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Thu, 19 Dec 2024 10:51:55 +0100 Subject: [PATCH] Added use case for connection reset when https://192.168.4.1:80 is called --- examples/SimpleServer/SimpleServer.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/SimpleServer/SimpleServer.ino b/examples/SimpleServer/SimpleServer.ino index 5b2e555..c8d74a5 100644 --- a/examples/SimpleServer/SimpleServer.ino +++ b/examples/SimpleServer/SimpleServer.ino @@ -750,6 +750,10 @@ websocat: error running } }); + // Reset connection on HTTP request: + // for i in {1..20}; do curl -v -X GET https://192.168.4.1:80; done; + // The heap size should not decrease over time. + #if __has_include("ArduinoJson.h") server.addHandler(jsonHandler); server.addHandler(msgPackHandler);