On Thu, Aug 26, 2021 at 11:46:15AM +0200, Stefan Sperling wrote: > On Thu, Aug 26, 2021 at 06:20:08AM -0300, Crystal Kolipe wrote: > > On Thu, Aug 26, 2021 at 02:47:40AM +0000, iio7 wrote: > > > Any caveats to look out for? > > > > There is an issue with httpd and large file uploads, ( > ~ 600 Mb), which > > was introduced sometime after OpenBSD 6.1. > > > > We had a system handling such large file uploads via http, (which is > > probably not a typical use case), and it worked fine whilst it was running > > OpenBSD 6.1. When OpenBSD 6.6 was released we did a fresh installation and > > found that uploads over about 600 Mb would randomly abort. Since by this > > time the system had fallen into disuse anyway, as far as I know nobody here > > bothered to investigate further, but testing now on an OpenBSD 6.9 > > installation, I can see that the bug still exists. > > > > If your test on 6.9 involves a handoff to fcgi (e.g. nextcloud) then > please try again with a server running -current. There was a related > bug fixed in May after 6.9 was branched.
A quick test on -current with a very simple CGI handler invoked via slowcgi showed different behaviour. It now results in a repeatable kernel panic after uploading about 1098-1119 Mb. Smaller uploads work fine. As we know that it worked at one point, albeit several years ago, I'll try to find the commit that broke it. That might take a while, though.

