On Sun, Sep 18, 2011 at 08:03:00AM +0200, Christian Grothoff wrote: > Dear Peter, > > I suspect you're simply queueing your response too early. The API > may not be 100%-intuitive here: if you have an upload (and did not > replace the 100-CONTINUE with an error), you need to wait for MHD to > call you with an '*upload_size' of zero before giving your response. > From what you write about the state we're at, your code does not do > this.
Thanks for the speedy response. Your suggestion works! Note that in my example, AccessHandlder is called *three* times per POST request. The first time upload_data_size is zero, second time its non-zero, and then finally its zero again. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: Digital signature
