Skip to content

Commit b2ea51b

Browse files
authored
Fix uws_res_resume API to call resume() instead of pause() (#1687)
1 parent 4f04979 commit b2ea51b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

capi/libuwebsockets.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,12 +1059,12 @@ extern "C"
10591059
if (ssl)
10601060
{
10611061
uWS::HttpResponse<true> *uwsRes = (uWS::HttpResponse<true> *)res;
1062-
uwsRes->pause();
1062+
uwsRes->resume();
10631063
}
10641064
else
10651065
{
10661066
uWS::HttpResponse<false> *uwsRes = (uWS::HttpResponse<false> *)res;
1067-
uwsRes->pause();
1067+
uwsRes->resume();
10681068
}
10691069
}
10701070

0 commit comments

Comments
 (0)