Change #265129
| Category | None |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Tue 21 Apr 2026 15:58:06 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | master |
| Revision | ad1fcd6111990fee9e7734a30e13815a93102699 |
Comments
async-ares: fix query counter handling When starting an c-ares query, the provided callback may be invoked right away, leading to a decrement of `queries_ongoing`. Increment the counter *before* call c-ares. Otherwise, the `async->done` bit is not properly set. Closes #21399
Changed files
- lib/asyn-ares.c
- lib/asyn-thrdd.c