Welcome! Log In Create A New Profile

Advanced

Forcing request body read into memory

April 03, 2019 08:00AM
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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Forcing request body read into memory

erankor 834 April 03, 2019 08:00AM



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

Online Users

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