mirror of https://github.com/procxx/kepka.git
Allow cdn requests through mtproto proxy.
This commit is contained in:
parent
7797e5a3b7
commit
e0431d270b
|
@ -1082,8 +1082,7 @@ void ConnectionPrivate::connectToServer(bool afterConfig) {
|
||||||
}
|
}
|
||||||
|
|
||||||
destroyAllConnections();
|
destroyAllConnections();
|
||||||
if (_connectionOptions->proxy.type == ProxyData::Type::Mtproto
|
if (_connectionOptions->proxy.type == ProxyData::Type::Mtproto) {
|
||||||
&& _dcType != DcType::Cdn) {
|
|
||||||
appendTestConnection(
|
appendTestConnection(
|
||||||
DcOptions::Variants::Tcp,
|
DcOptions::Variants::Tcp,
|
||||||
_connectionOptions->proxy.host,
|
_connectionOptions->proxy.host,
|
||||||
|
|
Loading…
Reference in New Issue