Skip to content

Commit

Permalink
Merge pull request #13641 from zeha/fix-zone-delete-cache
Browse files Browse the repository at this point in the history
ws-auth: restore zone cache cleanup in apiServerZoneDetailDELETE
  • Loading branch information
Habbie committed Dec 18, 2023
2 parents af62fb1 + 1e70fa8 commit 477555a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/ws-auth.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ static void apiServerZoneDetailDELETE(HttpRequest* req, HttpResponse* resp) {

di.backend->commitTransaction();

purgeAuthCaches(zonename.toString() + "$");
g_zoneCache.remove(zonename);
} catch (...) {
di.backend->abortTransaction();
throw;
Expand Down

0 comments on commit 477555a

Please sign in to comment.