TelegramMessenger / Telegram-iOS

Telegram-iOS
6.34k stars 1.66k forks source link

If the socks5 proxy is set to use a domain name, it will cause slow response. Similarly, if you use IP, the response is very fast. #682

Open f4nff opened 2 years ago

f4nff commented 2 years ago

If the socks5 proxy is set to a domain name, the response should be the same as using ip. Consider the scenario where the built-in dns cannot be connected and the local dns resolution is used.

This bug exists in windows, ios, and android at the same time:

https://github.com/telegramdesktop/tdesktop/commit/e7e34d50ba1a73c14962cdc4c3dd5ad7a3da74a7

poromony commented 2 years ago

Looking forward to fix :(