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

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 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 :slight_smile:

Thanks,

– Pasi

On Wed, Nov 23, 2011 at 9:11 PM, Pasi K. [email protected] wrote:

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

It depends how are you going to approach this. I already did something
similar by simply hijacking connection of the request.

Consider subscribing to nginx-devel@ for further questions.

On Wed, Nov 23, 2011 at 09:22:39PM +0200, Alexandr G. wrote:

If someone has comments/ideas 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.

It depends how are you going to approach this. I already did something
similar by simply hijacking connection of the request.

Ok, good to hear.

Consider subscribing to nginx-devel@ for further questions.

Good idea. I’ll do that.

Thanks,

– Pasi