1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

dummy: unhandled POST completion issues 200

This commit is contained in:
Andy Green 2020-12-20 08:38:16 +00:00
parent 1f477e4915
commit f409878bb6

View file

@ -298,6 +298,10 @@ lws_callback_http_dummy(struct lws *wsi, enum lws_callback_reasons reason,
break;
}
#endif
if (lws_return_http_status(wsi, 200, NULL))
return -1;
break;
/* fallthru */
case LWS_CALLBACK_HTTP_FILE_COMPLETION:
if (lws_http_transaction_completed(wsi))