Closed alex-lt-kong closed 2 months ago
These temporary directories are used to store requests larger than client_max_body_size, which are then mapped into memory using mmap for user processing. This approach is to handle the physical memory consumption caused by large requests during high concurrency
You can change the upload directory in the configuration file. It can't be turned off currently.
Just incoporated Drogon into my program, works like a charm, but i noticed that Drogon appears to attempt to create a ./uploads/ directory and many of its sub-directories. (the attempts failed because the program does not have write permission) Is this expected?:
Below is the function used to invoke a Drogon instance: