Small files are handled the same way that a textbox would be handled. Here
is how I handle upload files:
https://github.com/keithmendozasr/flat8/blob/master/src/server.cpp#L281-317.
Server::postIterator is able to handle both small and large files. Good luck

Keith

On Tue, Oct 9, 2012 at 1:58 AM, Mark Marsella <[email protected]>wrote:

> Hi,
>
> I have created an http listener based on the example largepost.c, which
> works fine for larger files, however a small file (30 bytes) the
> iterate_post is never called, and the file isn't uploaded (I used gdb to
> confirm this as well as with printfs). With a large file it is
> called multiple times as expected.
>
> Any ideas?
>
> Regards
>
> Mark
>

Reply via email to