Welcome! Log In Create A New Profile

Advanced

Disable buffering/caching of HTTP PUT upload requests in nginx proxy

Pasi Kärkkäinen
November 23, 2011 02:40PM
Hello,

During the upcoming days I'm going to try to implement a feature in nginx proxy
that allows disabling local disk buffering/caching of HTTP PUT upload requests,
e.g. allow directly stream the uploads to the backend server.

Right now I'm having problems because nginx proxy stores all the uploads temporarily
to the nginx server local disk, and thus fills up the disk when big files are being uploaded.

If someone has comments/ideas/suggestions about this, feel free to write to me.

I'm currently in the process of getting familiar with nginx code
and the request 'flow' inside nginx.

I'll let you know how it goes :)

on nginx@ list Alexandr wrote that he had implemented something similar,
by simply hijacking connection of the request.
Is there a patch available somewhere?

Thanks,

-- Pasi

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

Disable buffering/caching of HTTP PUT upload requests in nginx proxy

Pasi Kärkkäinen 2176 November 23, 2011 02:40PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 213
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