TelegramMessenger / TelegramMessenger/Telegram-iOS

Slow connection when proxy uses domain name

Open
#221 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Checklist
  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues
Description

Slow connection when proxy uses domain name.

The default DNS request of the program passes 8.8.8.8, but Google DNS is not available in some countries. At this time, you need to customize the DNS server address.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by locating the iOS proxy connection and DNS-resolution entry points, then reproduce a slow connection with a domain-based proxy where 8.8.8.8 is unavailable. Done should mean domain-based proxy connections no longer depend on an unavailable fixed DNS server or otherwise avoid the reported delay.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.