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:
parent
1f477e4915
commit
f409878bb6
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue