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:

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]