On 2021-05-11 23:30 +01, Chris Narkiewicz <[email protected]> wrote: > Hi all, > > I'm using Nextcloud and after upgrading to latest OpenBSD 6.9 > it stopped uploading files from Android client. > > I did an analysis and it turns out that becuase httpd uses > Transfer-Encoding: chunked, Content-Length is not available on the > client side and some code path there excplicitly checks for > Content-Length == 0. > > If you are interested in boring details, here is the upstream bug > report that I'll be fixing shortly: > > https://github.com/nextcloud/android/issues/8384 > > Funny thing is that this worked on my 6.8 installation, so I thought > that something might have changed in latest httpd that broke the > client.
I don't think so, I'm running current and I last updated my nextcloud server on Apr 30th. Uploads were still working on May 5th and they stopped working on May 7th. Apparently I did not take pictures on May 7th. > > Nevertheless, I thought that I'll ping port maintainers as well, as > this might sting any OpenBSD users of Nextcloud as well and perhaps it > is some sort of issue with httpd? While my timeline suggests that this is triggered by a change in the mobile app, I'm happy to entertain the idea that httpd is doing something wrong. Were you able to try with e.g. nginx and is it working there? I'd be interested in seeing HTTP request/response headers for httpd(8) and nginx to see how they are different if this works with nginx. Or maybe the answer is just: nginx doesn't do chunked encoding? Thanks, Florian > > Cheers, > Chris > -- I'm not entirely sure you are real.
