Forcing request body read into memory

Eran Kornblau eran.kornblau at kaltura.com
Wed Apr 3 11:59:35 UTC 2019


Hi all,

Tried googling for this and didn't find an answer...

Is it possible to force nginx to read the request body into memory (not temp file) via code?
I tried request_body_in_single_buf, but it seems it only prevents the request body from being split between memory + file
(probably need to update http://nginx.org/en/docs/dev/development_guide.html#http_request_body...)

I guess I can accomplish this by setting client_max_body_size and client_body_buffer_size to the same value in nginx.conf,
but don't know if there's a way to do it in code.

Thanks!

Eran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20190403/ecf62f39/attachment.html>


More information about the nginx-devel mailing list