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

c-ares / c-ares / #1197
81%
main: 92%

Build:
Build:
LAST BUILD BRANCH: adig
DEFAULT BRANCH: main
Ran 14 Jul 2024 09:39PM UTC
Jobs 1
Files 156
Run time 1min
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

14 Jul 2024 09:30PM UTC coverage: 80.663% (+0.03%) from 80.634%
#1197

push

travis-ci

bradh352
Rework WinAFD event code (#811)

We've had reports of user-after-free type crashes in Windows cleanup
code for the Event Thread. In evaluating the code, it appeared there
were some memory leaks on per-connection handles that may have remained
open during shutdown, while trying to resolve that it became apparent
the methodology chosen may not have been the right one for interfacing
with the Windows AFD system as stability issues were seen during this
debugging process.

Since this system is completely undocumented, there was no clear
resolution path other than to switch to the *other* methodology which
involves directly opening `\Device\Afd`, rather than spawning a "peer
socket" to use to queue AFD operations.

The original methodology chosen more closely resembled what is employed
by [libuv](https://github.com/libuv/libuv) and given its widespread use
was the reason it was used. The new methodology more closely resembles
[wepoll](https://github.com/piscisaureus/wepoll).

Its not clear if there are any scalability or performance advantages or
disadvantages for either method. They both seem like different ways to
do the same thing, but this current way does seem more stable.

Fixes #798
Fix By: Brad House (@bradh352)

22 of 22 new or added lines in 1 file covered. (100.0%)

8710 of 10798 relevant lines covered (80.66%)

3773.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #1197.1 14 Jul 2024 09:39PM UTC 0
80.66
Source Files on build #1197
Detailed source file information is not available for this build.
  • Back to Repo
  • ee7a9446 on github
  • Prev Build on v1.30
  • Next Build on v1.30
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