dav module temp files

Gelonida N gelonida at gmail.com
Thu Mar 1 01:47:40 UTC 2012


On 02/29/2012 03:27 PM, Maxim Dounin wrote:
> Hello!
> 
> On Wed, Feb 29, 2012 at 01:55:42PM +0200, Reinis Rozitis wrote:
> 
>> Hello,
>> is there a technical reason why the WebDAV module (for PUTs) always
>> makes a temp file rather than use/honour memory buffer
>> (client_body_buffer_size)?
> 
> It will use memory buffer for intermediate data, but as it needs 
> file on disk anyway - data are always written to a file.
> 
> Maxim Dounin
Just a tiny idea. (but perhaps this is already the case)
Ideally the temp file should be on the same file system than the target
file)
Otherwise the file has top be created twice.



More information about the nginx mailing list