https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412015-08-13T18:41:02Zlighty labsLighttpd - Bug #2660: [bisected] 1.4.36 regression: uploading 4 MiB+ files results in 413 - Request Entity Too Largehttps://redmine.lighttpd.net/issues/2660?journal_id=85242015-08-13T18:41:02Zstbuehler
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/8524/diff?detail_id=6635">diff</a>)</li><li><strong>Target version</strong> set to <i>1.4.37</i></li></ul> Lighttpd - Bug #2660: [bisected] 1.4.36 regression: uploading 4 MiB+ files results in 413 - Request Entity Too Largehttps://redmine.lighttpd.net/issues/2660?journal_id=85252015-08-13T18:45:04Zstbuehler
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fixed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r3009.</p> Lighttpd - Bug #2660: [bisected] 1.4.36 regression: uploading 4 MiB+ files results in 413 - Request Entity Too Largehttps://redmine.lighttpd.net/issues/2660?journal_id=85682015-10-11T22:33:40Zpetar
<ul></ul><p>Upgraded from 1.4.35 to 1.4.37 and my text upload form (POST, CGI) stopped working with the same 413 error.</p>
<p>/var/log/messages said:</p>
<pre>
(chunk.c.471) denying upload as opening temp-file for upload failed: No such file or directory
</pre>
<p>lighttpd and the CGI script that receives the POST-data are both in a chroot without a tmp directory. That worked fine for many patch-releases so I didn't want to touch anything before asking here.</p>
<p>Are POST-uploads now written into /tmp or is the issue something else?</p> Lighttpd - Bug #2660: [bisected] 1.4.36 regression: uploading 4 MiB+ files results in 413 - Request Entity Too Largehttps://redmine.lighttpd.net/issues/2660?journal_id=85692015-10-11T23:07:09Zpetar
<ul></ul><p>Yes, the chroot was missing /var/tmp and for some reason I was able to get away without it before the recent rewrite of chunk.c.</p>
<p>Thanks</p> Lighttpd - Bug #2660: [bisected] 1.4.36 regression: uploading 4 MiB+ files results in 413 - Request Entity Too Largehttps://redmine.lighttpd.net/issues/2660?journal_id=85712015-10-14T05:14:34Zstbuehler
<ul></ul><p><a class="user active user-mention" href="https://redmine.lighttpd.net/users/141">@petar</a>: r3046 should "fix" your problem too, which is unrelated to the main issue here.</p>