Skip to content

Commit

Permalink
Fix uws_res_resume API to call resume() instead of pause() (#1687)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesway authored Dec 6, 2023
1 parent 4f04979 commit b2ea51b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions capi/libuwebsockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1059,12 +1059,12 @@ extern "C"
if (ssl)
{
uWS::HttpResponse<true> *uwsRes = (uWS::HttpResponse<true> *)res;
uwsRes->pause();
uwsRes->resume();
}
else
{
uWS::HttpResponse<false> *uwsRes = (uWS::HttpResponse<false> *)res;
uwsRes->pause();
uwsRes->resume();
}
}

Expand Down

0 comments on commit b2ea51b

Please sign in to comment.