Skip to content

Set X-DNS-Prefetch-Control header#2396

Merged
DL6ER merged 1 commit into
developmentfrom
x-dns-prefetch-control
Mar 30, 2025
Merged

Set X-DNS-Prefetch-Control header#2396
DL6ER merged 1 commit into
developmentfrom
x-dns-prefetch-control

Conversation

@yubiuser

@yubiuser yubiuser commented Mar 29, 2025

Copy link
Copy Markdown
Member

What does this PR aim to accomplish?:

Moves the 'X-DNS-Prefetch-Control' header to the server side of things. As suggested in pi-hole/web#3306.

I decided to put this in the 'additional' header section and not in civetwebb.c (where it would have fitted also in the header section) to not modify the dependency code.


By submitting this pull request, I confirm the following:

  1. I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
  2. I have commented my proposed changes within the code and I have tested my changes.
  3. I am willing to help maintain this change if there are issues with it later.
  4. It is compatible with the EUPL 1.2 license
  5. I have squashed any insignificant commits. (git rebase)
  6. I have checked that another pull request for this purpose does not exist.
  7. I have considered, and confirmed that this submission will be valuable to others.
  8. I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  9. I give this submission freely, and claim no ownership to its content.

  • I have read the above and my PR is ready for review. Check this box to confirm

@yubiuser yubiuser force-pushed the x-dns-prefetch-control branch 2 times, most recently from 7c15b4a to 97b16f2 Compare March 29, 2025 21:32
@XhmikosR

Copy link
Copy Markdown
Contributor

Maybe you need to increase the number of settings in tests?

Signed-off-by: yubiuser <github@yubiuser.dev>
@yubiuser yubiuser force-pushed the x-dns-prefetch-control branch from 97b16f2 to 5dbb0c2 Compare March 30, 2025 07:38
@yubiuser yubiuser requested a review from DL6ER March 30, 2025 07:39
@DL6ER DL6ER merged commit 75b8556 into development Mar 30, 2025
@DL6ER DL6ER deleted the x-dns-prefetch-control branch March 30, 2025 08:41
@PromoFaux PromoFaux mentioned this pull request Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants