Project

General

Profile

Actions

Bug #2283

closed

chunk.c contains non-configurable location for temp files

Added by edsouza over 14 years ago. Updated over 14 years ago.

Status:
Invalid
Priority:
Low
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

On the system I am working on, there is no /var/tmp directory, so files uploaded bigger than 64K give a 413 error.

Location for the tempfile should be configurable via a configuration with out having to change the code.

Code from chunk.c:
chunk *chunkqueue_get_append_tempfile(chunkqueue *cq) {
chunk *c;
buffer *template = buffer_init_string("/var/tmp/lighttpd-upload-XXXXXX");

Actions #1

Updated by nitrox over 14 years ago

  • Status changed from New to Invalid

Re-open this bug if either "search" on the wiki or the following option doesn´t work. Server.upload-dirs

Actions #2

Updated by edsouza over 14 years ago

nitrox wrote:

Re-open this bug if either "search" on the wiki or the following option doesn´t work. Server.upload-dirs

My bad. Thanks for the correct config to use. Did not read the code in the function thoroughly.

Actions

Also available in: Atom