Thank you for your bug report.
It is known issue and it was already fixed at development branch – so it will be fixed in next version of KSDK.
Function httpsrv_plugin_task() in httpsrv_task.c file contains additional two lines:
pl_context = NULL;
pl_callbacks = NULL;
just below line “server->plugin_tid = _task_get_id();”
Have a great day,
RadekS