Welcome! Log In Create A New Profile

Advanced

Re: dav module temp files

Maxim Dounin
March 01, 2012 04:06AM
Hello!

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
> file)
> 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:

http://nginx.org/en/docs/http/ngx_http_dav_module.html#dav_methods

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

dav module temp files

Reinis Rozitis February 29, 2012 06:56AM

Re: dav module temp files

Maxim Dounin February 29, 2012 09:28AM

Re: dav module temp files

Gelonida N February 29, 2012 08:50PM

Re: dav module temp files

Maxim Dounin March 01, 2012 04:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 240
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready