Ah, good. I was just about to provide a diff bringing Steve's 6.9 httpd
to HEAD but I guess that's obsolete then. Happy to see everything's fine.
On 2021-05-20 17:17, Florian Obser wrote:
> I suspect there was one diff too many in Steve's procedure. I provided a
> clean diff for 6.9 in private (d
On 2021-05-19 17:54, Florian Obser wrote:
> Please indicate where you experience a 30 second delay.
> You get a 302 Found with no body so it's not chunk encoded and a 200
> which is still chunk encoded. The 302 Found transcript looks fine to me,
> too. No idea what's going on. I also can't reprodu
Ping. Latest diff below.
Index: usr.sbin/httpd/parse.y
===
RCS file: /cvs/src/usr.sbin/httpd/parse.y,v
retrieving revision 1.118
diff -u -p -u -p -r1.118 parse.y
--- usr.sbin/httpd/parse.y 11 Oct 2020 03:21:44 - 1.118
++
It appears the patch can be far more simple.
Comments are welcome.
Index: usr.sbin/httpd/config.c
===
RCS file: /cvs/src/usr.sbin/httpd/config.c,v
retrieving revision 1.61
diff -u -p -u -p -r1.61 config.c
--- usr.sbin/httpd/config.c
Given the following httpd.conf snippet
server "example.com" {
...
directory no index
...
location "/foo" {
...
directory auto index
...
}
}
the URL http://example.com/foo surprisingly results in a 403
response
Ping. Updated diff below.
---
Index: usr.sbin/httpd/parse.y
===
RCS file: /cvs/src/usr.sbin/httpd/parse.y,v
retrieving revision 1.118
diff -u -p -u -p -r1.118 parse.y
---
During httpd setup I realized that duplicate location names are not
being detected even though I remembered having seen a corresponding
piece of code in 'usr.sbin/httpd/parse.y' the other day. As far
as I understand, the comparison 's->srv_conf.id == srv_conf->id'
can never be true as a newly crea