Re: httpd(8): fastcgi & Content-Length: 0

2021-05-20 Thread mpfr
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

Re: Regarding May 17 patch

2021-05-19 Thread mpfr
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

Re: httpd(8): fix location duplicate detection

2020-10-26 Thread mpfr
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 ++

Re: httpd(8): server/location directory index question

2020-10-18 Thread mpfr
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

httpd(8): server/location directory index question

2020-10-17 Thread mpfr
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

Re: httpd(8): fix location duplicate detection

2020-10-11 Thread mpfr
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 ---

httpd(8): fix duplicate location detection

2020-09-26 Thread mpfr
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