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);