pull/35650/head
Craig Tiller 10 months ago
parent a0cc37ff0b
commit c0e3c0ea36
  1. 1
      src/core/ext/transport/chaotic_good/server/chaotic_good_server.cc
  2. 15
      test/core/end2end/fuzzers/server_fuzzer_chttp2.cc

@ -34,7 +34,6 @@
#include "src/core/ext/transport/chaotic_good/frame.h"
#include "src/core/ext/transport/chaotic_good/frame_header.h"
#include "src/core/ext/transport/chaotic_good/server/chaotic_good_server.h"
#include "src/core/ext/transport/chaotic_good/settings_metadata.h"
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/event_engine/channel_args_endpoint_config.h"

@ -18,12 +18,11 @@
#include "test/core/end2end/fuzzers/server_fuzzer.h"
DEFINE_PROTO_FUZZER(const fuzzer_input::Msg& msg) {
grpc_core::RunServerFuzzer(
msg, [](grpc_server* server, int port_num,
const grpc_core::ChannelArgs& channel_args) {
auto* creds = grpc_insecure_server_credentials_create();
grpc_server_add_http2_port(
server, absl::StrCat("0.0.0.0:", port_num).c_str(), creds);
grpc_server_credentials_release(creds);
});
grpc_core::RunServerFuzzer(msg, [](grpc_server* server, int port_num,
const grpc_core::ChannelArgs&) {
auto* creds = grpc_insecure_server_credentials_create();
grpc_server_add_http2_port(
server, absl::StrCat("0.0.0.0:", port_num).c_str(), creds);
grpc_server_credentials_release(creds);
});
}

Loading…
Cancel
Save