Re-enable mocked post fuzz

This commit is contained in:
Alex Hultman
2020-01-07 14:04:51 +01:00
committed by GitHub
parent 03681ccbe6
commit a23d3fd901
+2 -2
View File
@@ -20,7 +20,7 @@ extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) {
} else {
res->end("Hello world!");
}
})/*.post("/*", [](auto *res, auto *req) {
}).post("/*", [](auto *res, auto *req) {
res->onAborted([]() {
});
@@ -29,7 +29,7 @@ extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) {
res->end(chunk);
}
});
})*/.listen(9001, [](us_listen_socket_t *listenSocket) {
}).listen(9001, [](us_listen_socket_t *listenSocket) {
if (listenSocket) {
std::cout << "Listening on port " << 9001 << std::endl;
::listenSocket = listenSocket;