Search found 2 matches

by all50orbust
Tue Apr 18, 2023 5:26 pm
Forum: General Discussion
Topic: Stopping server inside handler using httpd_stop(*server);
Replies: 3
Views: 3162

Re: Stopping server inside handler using httpd_stop(*server);

It is pity that nobody replied. I am incountered httpd_stop() issue also, using the same example. I simply added the button Close to the web page generated by ESP32, added correspondent handler etc. To be sure I do operate with the same server descriptor I simply made it global. All works until ser...
by all50orbust
Tue Apr 18, 2023 5:18 pm
Forum: General Discussion
Topic: Stopping server inside handler using httpd_stop(*server);
Replies: 3
Views: 3162

Re: Stopping server inside handler using httpd_stop(*server);

Hello zazas321, Edit: I wanted to correct my response now that I've cleared up this similar issue for myself. I had to change my stop_webserver definition from static void stop_webserver(httpd_handle_t server) to static void stop_webserver(httpd_handle_t *server) Not sure why this function was the w...