• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

c-ares / c-ares / 12519454176
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: more-record-types
DEFAULT BRANCH: main
Ran 27 Dec 2024 06:36PM UTC
Jobs 1
Files 173
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Dec 2024 06:33PM UTC coverage: 92.262% (+0.1%) from 92.147%
12519454176

push

github

bradh352
Localhost resolution can fail if only one address family is in /etc/hosts (#947)

Resolution of 'localhost' is required to be resolved locally as per
RFC6761, and c-ares implements fallback cases if `/etc/hosts` does not
contain an entry for `localhost` as is common for Windows. However, if
`/etc/hosts` does have an address entry for one family (e.g. ipv4) but
not the other (e.g. ipv6), the fallback wasn't being called since an
entry was found.

We need to enhance the logic to always fallback if an address family is
missing after reading `/etc/hosts`. We will also add specific test cases
for this scenario to ensure it doesn't regress in the future.

Fixes #946
Signed-off-by: Brad House (@bradh352)

211 of 214 new or added lines in 10 files covered. (98.6%)

1 existing line in 1 file now uncovered.

20854 of 22603 relevant lines covered (92.26%)

97156.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12519454176.1 27 Dec 2024 06:36PM UTC 0
58.95
GitHub Action Run
Source Files on build 12519454176
Detailed source file information is not available for this build.
  • Back to Repo
  • 591742b3 on github
  • Prev Build on v1.33 (#12300304564)
  • Next Build on v1.33 (#12675171097)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc