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
main()
{
while (!stop_server) {
mg_poll_server(server, 1000);
}
// one last time does the trickmg_poll_server(server, 0);
mg_destroy_server(&server);
}
// somefun is called inside the uri handlersomefun()
{
stop_server= true;
// message never shows up, server times outmg_printf_data(conn, "shutting down");
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: