Fix fuzzing builds
This commit is contained in:
@@ -65,10 +65,10 @@ void test() {
|
||||
.drain = [](auto *ws) {
|
||||
/* Check getBufferedAmount here */
|
||||
},
|
||||
.ping = [](auto *ws) {
|
||||
.ping = [](auto *ws, std::string_view) {
|
||||
|
||||
},
|
||||
.pong = [](auto *ws) {
|
||||
.pong = [](auto *ws, std::string_view) {
|
||||
|
||||
},
|
||||
.close = [](auto *ws, int code, std::string_view message) {
|
||||
|
||||
@@ -80,13 +80,13 @@ void test() {
|
||||
.drain = [](auto *ws) {
|
||||
/* Check ws->getBufferedAmount() here */
|
||||
},
|
||||
.ping = [](auto *ws) {
|
||||
.ping = [](auto *ws, std::string_view) {
|
||||
/* We use this to trigger the async/wakeup feature */
|
||||
uWS::Loop::get()->defer([]() {
|
||||
/* Do nothing */
|
||||
});
|
||||
},
|
||||
.pong = [](auto *ws) {
|
||||
.pong = [](auto *ws, std::string_view) {
|
||||
/* Not implemented yet */
|
||||
},
|
||||
.close = [](auto *ws, int code, std::string_view message) {
|
||||
|
||||
Reference in New Issue
Block a user