src/relpipe-tr-httpd.cpp
branchv_0
changeset 1 23c516259cc5
parent 0 7b70918c30af
child 2 4b05b16b97e6
--- a/src/relpipe-tr-httpd.cpp	Tue Apr 05 23:46:34 2022 +0200
+++ b/src/relpipe-tr-httpd.cpp	Thu Apr 07 21:06:37 2022 +0200
@@ -51,7 +51,8 @@
 		Configuration configuration = cliParser.parse(cli.arguments());
 		std::shared_ptr<RelationalWriter> writer(relpipe::writer::Factory::create(std::cout));
 		std::shared_ptr<RelationalReader> reader(relpipe::reader::Factory::create(std::cin));
-		HttpdHandler handler(writer, configuration);
+		std::shared_ptr<HTTPServer> httpServer(HTTPServer::create());
+		HttpdHandler handler(writer, configuration, httpServer);
 		reader->addHandler(&handler);
 		reader->process();