apache / apache/brpc

dns 解析 ipv6 地址失败

Open
#2,283 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
17.6k
Forks
4.1k
Avg merge
2d 12h
Merged PRs (30d)
69

Description

domain_naming_service.cpp 里面如果是 ipv6 的地址,冒号后面不一定是端口,可能会解析失败?
报 “No port after colon in ...”

Contributor guide

Open the contributing guide

Research direction

Start by reading the IPv6 parsing logic in domain_naming_service.cpp and reproduce the reported failure with an IPv6 address that has no port. Trace why the colon is treated as a port separator. Done means valid IPv6 addresses without ports no longer produce “No port after colon in ...”, while supported address-and-port forms continue to parse correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.