vasino's picture

When I use send() to transfer all data, everything is ok. However, when I try to use sendChunk and sendFinalChunk everything breaks. Sometimes, the server stops responding. Sometimes I get asserts. What is the correct way to use them? The code I'm using is attached.

AttachmentSize
code.txt2.21 KB
Mike Dickey's picture
Please take a look at

Please take a look at the ChunkedPostRequestSender unit tests in the net/tests/WebServerTests.cpp for examples on using chunks.

Submitted by Mike Dickey on Mon, 04/05/2010 - 10:11.