dav module temp files
mdounin at mdounin.ru
Thu Mar 1 09:05:47 UTC 2012
On Thu, Mar 01, 2012 at 02:47:40AM +0100, Gelonida N wrote:
> 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
> Otherwise the file has top be created twice.
Yes, and that's why docs explicitly recommend using
client_proxy_temp on the same file system:
More information about the nginx