Skip to content

Fix crash with serve-stale in combination with prefetch

Matthijs Mekking requested to merge 2733-serve-stale-prefetch-crash into main

Once we resume a query, we should clear DNS_FETCHOPT_TRYSTALE_ONTIMEOUT from the options to prevent triggering the stale-answer-client-timeout on subsequent fetches.

If we don't this may cause a crash when for example when prefetch is triggered after a query restart.

Closes #2733 (closed)

Edited by Matthijs Mekking

Merge request reports