This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

http server

Hello,

Apologies if this is the wrong forum to post this in, but I can't find a NDK forum.

I'm using the DM648 with NDK2.0 and the http server to stream jpeg images to a web browser.  The images are updated by javascript.  The problem I'm having is that each cgi request is starting a new socket and I think task, when there is frequent polls from the browser the DM648 can't cope.  I'm seeing lots of these errors:
00018.942 SBNew: Buffer OOM

Firstly is there a way to change the http server to use the same socket/task for each cgi request?  I understand http1.0 is used in NDK2.0 and http1.1 supports persistent connections.  Do more recent versions of NDK have http1.1?

Secondly, can I change to memory allocation to stop this error, and if so how?

Thanks Simon