Skip to content

Commit

Permalink
Fixed FuzzableServer build error
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Sep 8, 2024
1 parent 7b18ae6 commit f35aff8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/fuzzing/server_fuzzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ class FuzzableServer : public httplib::Server {
public:
void ProcessFuzzedRequest(FuzzedStream &stream) {
bool connection_close = false;
process_request(stream, /*last_connection=*/false, connection_close,
nullptr);
process_request(stream,
/*remote_addr=*/"",
/*remote_port =*/0,
/*local_addr=*/"",
/*local_port =*/0,
/*last_connection=*/false, connection_close, nullptr);
}
};

Expand Down

0 comments on commit f35aff8

Please sign in to comment.