libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] MHD_create_post_processor: recommended buffer size for l


From: silvioprog
Subject: [libmicrohttpd] MHD_create_post_processor: recommended buffer size for large posts
Date: Fri, 31 Mar 2017 00:17:27 -0300

Hello dudes,

Looking at MHD examples, it seems the recommended buffer size to specify on MHD_create_post_processor() for large uploads is 512:

https://gnunet.org/svn/libmicrohttpd/doc/examples/largepost.c

However, what means large for you? About 100 MB, 1 GB, 10 GB or greater?!

I have a structure that I need to support ~ 5 GB, so I'm planning to use 1024, because I want fast transfer using less memory and CPU possible. In that case, is 1024 an ideal size?

Thank you!

P.S.: we should specify the size (in MB or GB) that we consider large on the example `largepost.c`.

--
Silvio Clécio

reply via email to

[Prev in Thread] Current Thread [Next in Thread]