Re: Respect X-Forwarded-Proto in httpd

2021-04-27 Thread Raymond E. Pasco
On Tue Apr 27, 2021 at 4:55 PM EDT, Stuart Henderson wrote: > It's the other way round, this (or proto= in the newer standardised > Forwarded header) would be set by a reverse proxy to indicate the > protocol that the client request came in on so that something running on > the webserver could reac

Re: Respect X-Forwarded-Proto in httpd

2021-04-27 Thread Raymond E. Pasco
On Tue Apr 27, 2021 at 3:40 PM EDT, Stuart Henderson wrote: > How does this work with other web servers? For example, I don't see the > string X-Forwarded-Proto in nginx or Apache httpd (and the use of other > X-Forwarded headers in them are only for adding to requests when running > as a proxy its

[PATCH] df(1): add -m, -g to display megabyte and gigabyte blocks

2021-04-27 Thread Raymond E. Pasco
For parity with NetBSD/FreeBSD df(1). I made them incompatible with -P, as -h is; NetBSD also only supports 512/1024 with -P and FreeBSD uses -P to force 512. --- bin/df/df.1 | 30 +- bin/df/df.c | 33 - 2 files changed, 53 insertions(+),

[PATCH] www/faq/faq14.html: make disklabel(8) prompts match the actual program

2020-07-27 Thread Raymond E. Pasco
When there are unwritten changes to the disklabel, disklabel(8) adds an '*' to the prompt. Just a minor erratum I noticed doing an install. diff --git a/faq/faq14.html b/faq/faq14.html index f53d45180..377f8c7b2 100644 --- a/faq/faq14.html +++ b/faq/faq14.html @@ -569,7 +569,7 @@ sd0> a a offset:

pfctl: make functions return void, merge two ifs

2017-06-11 Thread Raymond
Transform the following functions (which never return anything other than 0, and whose return value is never used) to void: * pfctl_clear_stats, pfctl_clear_interface_flags, pfctl_clear_rules, pfctl_clear_src_nodes, pfctl_clear_states * pfctl_kill_src_nodes, pfctl_net_kill_states, pfctl_label_ki

Add Radeon HD6450

2013-02-16 Thread Raymond Lillard
Not that it matters much in the grand scheme of things, but it does gets the chip recognized at boot time. Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.1669 diff -u pcidevs --- pcidevs 8 Feb