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

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

2021-05-20 Thread Florian Obser
On 2021-05-20 16:31 +02, Matthias Pressfreund wrote: > I just tried WordPress again on Firefox and Chrome. No problems. > Is there an obj folder? If so, maybe try to do 'make clean' > after step 5. > I suspect there was one diff too many in Steve's procedure. I provided a clean diff for 6.9 in

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

2021-05-20 Thread Matthias Pressfreund
I just tried WordPress again on Firefox and Chrome. No problems. Is there an obj folder? If so, maybe try to do 'make clean' after step 5. On 2021-05-20 16:02, Steve Williams wrote: > Hi, > > > I still get a connection error from my Andriod Nextcloud client and Wordpress > does not work

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

2021-05-20 Thread Steve Williams
Hi, I still get a connection error from my Andriod Nextcloud client and Wordpress does not work correctly on Firefox. Please see my steps below to ensure I have tested the correct thing.  (patches are attached as well). Nextcloud and roundcubemail on Firefox work fine. On Chrome,

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

2021-05-19 Thread Florian Obser
Yes, ugh, this is much better, thanks! I'll wait for Steve to confirm that it fixes nextclown for him, too and then I'll put it in. On 2021-05-20 06:43 +02, Matthias Pressfreund wrote: > Fix works for me, too. Thanks. > > It now sets the "Content-Length: 0" header for ALL traffic that > is not

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

2021-05-19 Thread Florian Obser
Can you try Matthias' patch from the other mail please? This is better and seems to fix the nextcloud app for me. This is on top of my patch. --- usr.sbin/httpd/server_fcgi.cThu May 20 05:57:23 2021 +++ usr.sbin/httpd/server_fcgi.cThu May 20 06:03:40 2021 @@ -620,6 +620,12 @@

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

2021-05-19 Thread Steve Williams
Hi, Now that I have my head out of my ass (php/redis issue), I can confirm that the Nextcloud Android client does NOT work with this latest patch for me. I am getting the same "Connection Error" that I do with the stock httpd that's supplied in 6.9.  I am running Nextcloud Andriod client

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

2021-05-19 Thread Matthias Pressfreund
My previous statement was not entirely correct as the Content-Length header is not set for ALL traffic, but just in case Content-Length is not set already. However, I'd still suggest to move the fix to where it belongs (in my opinion). On 2021-05-20 06:43, Matthias Pressfreund wrote: > Fix works

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

2021-05-19 Thread Matthias Pressfreund
Fix works for me, too. Thanks. It now sets the "Content-Length: 0" header for ALL traffic that is not chunk-encoded. But chunk-encoding may be disabled already (e.g. for http/1.0). I'd therefore suggest to move the fix to where the handling of zero-length bodies actually takes place. ---

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

2021-05-19 Thread Steve Williams
Please disregard.  It seems like I somehow broke my Nextcloud install cleaning up packages :( On 19/05/2021 9:59 p.m., Steve Williams wrote: Hi, I applied this patch to the base OpenBSD 6.9 httpd source tree, recompiled & installed. Wordpress works in both Firefox and Chrome,

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

2021-05-19 Thread Steve Williams
Hi, I applied this patch to the base OpenBSD 6.9 httpd source tree, recompiled & installed. Wordpress works in both Firefox and Chrome, Roundcubemail works in both Firefox and Chrome. However, my Andriod Nextcloud client is now broken again.  I get a "Connection Error". Is there a way I

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

2021-05-19 Thread Tracey Emery
On Wed, May 19, 2021 at 08:56:48PM +0200, Paul de Weerd wrote: > For the record: I tested this on a WordPress instance and it fixed the > problem for me. It was also visible in roundcubemail and wikimedia > (firefox and safari showed the issue, chrome on the company laptop > did not). > > Thanks

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

2021-05-19 Thread Paul de Weerd
For the record: I tested this on a WordPress instance and it fixed the problem for me. It was also visible in roundcubemail and wikimedia (firefox and safari showed the issue, chrome on the company laptop did not). Thanks Florian! Paul On Wed, May 19, 2021 at 08:44:47PM +0200, Florian Obser