Add connection_speed to advanced settings

Now we follow libtorrent current default value 30.
Closes #6973.

Also bump WebAPI version.
This commit is contained in:
Chocobo1 2021-05-17 01:16:38 +08:00
parent ea3b897d5d
commit ef79546508
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
8 changed files with 47 additions and 6 deletions

View file

@ -62,7 +62,8 @@
#include "api/torrentscontroller.h"
#include "api/transfercontroller.h"
constexpr int MAX_ALLOWED_FILESIZE = 10 * 1024 * 1024;
const int MAX_ALLOWED_FILESIZE = 10 * 1024 * 1024;
const char C_SID[] = "SID"; // name of session id cookie
const QString PATH_PREFIX_ICONS {QStringLiteral("/icons/")};
const QString WWW_FOLDER {QStringLiteral(":/www")};