This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP432E401Y: BUG: HTTP Server based on SimpleLink from SDK 4.20.00.12

Part Number: MSP432E401Y

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 Slight smile