-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing error check in resolve callback
If an error happens in libunbound during the processing of a resolve request the callback will be called with err being set to a nonzero value and result being NULL. Add a check to catch that error. This requires slightly extending the data we pass to the callback ourselves so the forwarder can still tell the parent process which query failed.
- Loading branch information
Carsten Beckmann
committed
Nov 3, 2023
1 parent
52873f4
commit 014fcb2
Showing
1 changed file
with
35 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters