Skip to content

Commit

Permalink
ws-auth: restore zone cache cleanup in apiServerZoneDetailDELETE
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Dec 15, 2023
1 parent 1d4a889 commit 1e70fa8
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 1e70fa8

Please sign in to comment.