libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] get all post data in a map


From: Kenneth Mastro
Subject: Re: [libmicrohttpd] get all post data in a map
Date: Mon, 25 Jan 2016 07:57:20 -0500

My post iterator function also always returns MHD_YES.  (I.e., that's a normal thing unless you encounter some kind of parsing error that you can't handle.)

If you're sure the callback is returning (no infinite loop or something) and the request is still hanging on (i.e., never responding to the client), your problem is somewhere else.

Are you sure you're responding to the request after the POST data has been parsed?


Ken


On Mon, Jan 25, 2016 at 7:45 AM, rahul bhola <address@hidden> wrote:
Hi ,
What i am trying to do is get all the post data key value in map. Now the issue is in post iterator function, I am not sure how to terminate that. The current function that i wrote for iterating through post always returns MHD_YES but that is not the case because the request hangs on. What is the right way to do the same.
Basically what i want is something similar to $_POST in php.

cheers
Rahul


reply via email to

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