The problem is not MHD, it’s how the client sends the data. It may not all be in one transmission. The POST-handling example code explains how to handle POST data that does not all come in one TCP transmission:
https://gnunet.org/svn/libmicrohttpd/src/examples/post_example.c In short, it is up to you to track and assemble POST requests whose data are sent in pieces. HTH Greg From: libmicrohttpd-bounces+gregory.junker=intel....@gnu.org [mailto:libmicrohttpd-bounces+gregory.junker=intel....@gnu.org] On Behalf Of Ludovic Coralie Sent: Wednesday, June 24, 2015 6:32 AM To: libmicrohttpd@gnu.org Subject: [libmicrohttpd] Post request / upload_data / received request data packet Hi, I'm new in libmicrohttpd and i need some advice: <snip> I want libmicrohttpd receive and read one single packet from my request. And my request can have 10000 characters. Thanks for your help