Not a question, just reporting a bug.
If you declare URL handlers so:
URLHandler_Setup http_server_handlerTable[] = {
{
NULL,
NULL,
NULL,
http_urlhandler_process,
NULL,
NULL
}
}
In SDK server, httpserver.c, in the function deleteSession
At part
for (i = 0; i < srv->numURLh; i++) {
if (session->urlh[i]) {
srv->setup[i].del(&session->urlh[i]);
}
}
del in srv->setup[i].del refers to the 3rd item in that table.
It does not check if del exists and your program will crash.
Either fix the code or add a dummy http_urlhandler_delete.
It take a while for the code to reach that, but it will eventually crash the processor if you have a javascript UI that poll a status CGI endpoint for instance