Re: Having trouble getting more than one chunk sent with chunked encoding



On 01/21/2014 06:28 PM, Pedro Côrte-Real wrote:
Here is a minimal testcase extracted from my app:

https://github.com/pedrocr/camerasink/blob/c082d41c2427711a86f194c012277ca4ae4fc2f3/bin/testcase_libsoup.c

It listens on http://localhost:4000/mjpeg and shows the behavior I've described.

Any pointers would be most welcome.

send_chunk() is being called from a different thread than the one that
the SoupServer is running in. SoupServer is not thread-safe, so you
can't do that.

-- Dan



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