mirror of https://github.com/aria2/aria2
Update HttpListenCommand.cc
parent
91de1de749
commit
3410baa513
|
@ -51,6 +51,12 @@
|
||||||
namespace aria2 {
|
namespace aria2 {
|
||||||
|
|
||||||
HttpListenCommand::HttpListenCommand(cuid_t cuid, DownloadEngine* e, int family,
|
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)
|
bool secure)
|
||||||
: Command(cuid), e_(e), fd_(fd), family_(AF_INET), port_(0), secure_(secure)
|
: Command(cuid), e_(e), fd_(fd), family_(AF_INET), port_(0), secure_(secure)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue