|
|
@ -1556,7 +1556,7 @@ bool GUI::initWebUi(QString username, QString password, int port) |
|
|
|
httpServer->close(); |
|
|
|
httpServer->close(); |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
httpServer = new HttpServer(BTSession, 1000, this); |
|
|
|
httpServer = new HttpServer(BTSession, 2000, this); |
|
|
|
httpServer->setAuthorization(username, password); |
|
|
|
httpServer->setAuthorization(username, password); |
|
|
|
bool success = httpServer->listen(QHostAddress::Any, port); |
|
|
|
bool success = httpServer->listen(QHostAddress::Any, port); |
|
|
|
if (success) |
|
|
|
if (success) |
|
|
|