You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if 2 GET request are send in a loop and on is pointing to a existing url, both fail
Sketch
[ **** SERVER side code ******] working fine when called from a browser
server.on("/", handleRoot);
server.on("/inline", [](){
server.send(200, "text/plain", "this works as well");
});
server.onNotFound(handleNotFound);
server.begin();
Basic Infos
Platform
Settings in IDE
Problem Description
if 2 GET request are send in a loop and on is pointing to a existing url, both fail
Sketch
note that /led does not exist in the server
Debug Messages
note the "[HTTP-Client][returnError] error(-5): connection lost "
If I change the HTTPClient::connect() to
everything starts to work fine.
The text was updated successfully, but these errors were encountered: