From 0792bbab3d440b4e7a625d87ac0c84be2c076d8b Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Wed, 24 Sep 2025 01:14:37 +0200 Subject: [PATCH] Initialize HTTPParams, in turn ininitializing logger Fixes https://github.com/duckdb/duckdb-wasm/issues/2091 --- lib/include/duckdb/web/http_wasm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/include/duckdb/web/http_wasm.h b/lib/include/duckdb/web/http_wasm.h index b4d108b4d..4b87d45a7 100644 --- a/lib/include/duckdb/web/http_wasm.h +++ b/lib/include/duckdb/web/http_wasm.h @@ -33,7 +33,9 @@ class HTTPWasmUtil : public HTTPUtil { public: unique_ptr InitializeParameters(optional_ptr opener, optional_ptr info) override { - return make_uniq(*this); + auto result = make_uniq(*this); + result->Initialize(opener); + return result; } unique_ptr InitializeClient(HTTPParams &http_params, const string &proto_host_port) override;