summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-09-14 14:50:04 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2022-09-15 16:50:28 -0400
commit73df7b643b8734383047675669de45660a983a7b (patch)
tree4da899a9d9c3c39cd08aab6fac57fac85f01dd5b /configure.ac
parent3991099ea09370463cec7dac3527678284669ff9 (diff)
downloadlighttpd-git-73df7b643b8734383047675669de45660a983a7b.tar.gz
[core] manually calculate off_t max (fixes #3171)
manually calculate off_t max for broken cross-compilation systems which fail to enable large file support (so sizeof(off_t) != sizeof(int64_t)) If sizeof(off_t) != sizeof(int64_t), a negative number could end up in cq->upload_temp_file_size when it was assigned INTMAX_MAX, leading to excessive new temporary file creation occurring on each and every write. x-ref: "File upload regression with --disable-lfs" https://redmine.lighttpd.net/issues/3171
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions