fix fuzzer. should be correct.
@@ -358,11 +358,11 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
hostconf = h2o_config_register_host(&config, h2o_iovec_init(H2O_STRLIT(unix_listener)), 65535);
register_handler(hostconf, "/chunked-test", chunked_test);
h2o_url_parse(unix_listener, strlen(unix_listener), &upstream);
- h2o_socketpool_t sockpool = {};
- h2o_socketpool_init_specific(&sockpool, SIZE_MAX /* FIXME */, &upstream, 1, NULL, NULL, NULL);
- h2o_socketpool_set_timeout(&sockpool, 2000);
- h2o_socketpool_set_ssl_ctx(&sockpool, NULL);
- h2o_proxy_register_reverse_proxy(h2o_config_register_path(hostconf, "/reproxy-test", 0), &proxy_config, &sockpool);
+ h2o_socketpool_t *sockpool = new h2o_socketpool_t();
+ h2o_socketpool_init_specific(sockpool, SIZE_MAX /* FIXME */, &upstream, 1, NULL, NULL, NULL);
+ h2o_socketpool_set_timeout(sockpool, 2000);
+ h2o_socketpool_set_ssl_ctx(sockpool, NULL);
+ h2o_proxy_register_reverse_proxy(h2o_config_register_path(hostconf, "/reproxy-test", 0), &proxy_config, sockpool);
h2o_file_register(h2o_config_register_path(hostconf, "/", 0), "./examples/doc_root", NULL, NULL, 0);
loop = h2o_evloop_create();
