From 3410baa513ad2e403450aebe6434dfe314243255 Mon Sep 17 00:00:00 2001 From: JJenkx <31495916+JJenkx@users.noreply.github.com> Date: Wed, 22 Jun 2022 03:17:53 -0400 Subject: [PATCH] Update HttpListenCommand.cc --- src/HttpListenCommand.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/HttpListenCommand.cc b/src/HttpListenCommand.cc index 9b632ba6..96e2323c 100644 --- a/src/HttpListenCommand.cc +++ b/src/HttpListenCommand.cc @@ -51,6 +51,12 @@ namespace aria2 { HttpListenCommand::HttpListenCommand(cuid_t cuid, DownloadEngine* e, int family, + uint16_t port, bool secure) + : Command(cuid), e_(e), fd_(-1), family_(family), port_(port), secure_(secure) +{ +} + +HttpListenCommand::HttpListenCommand(cuid_t cuid, DownloadEngine* e, int fd, bool secure) : Command(cuid), e_(e), fd_(fd), family_(AF_INET), port_(0), secure_(secure) {