Re: Having trouble getting more than one chunk sent with chunked encoding
- From: Dan Winship <danw gnome org>
- To: Pedro Côrte-Real <pedro pedrocr net>, Bernhard Schuster <schuster bernhard gmail com>
- Cc: libsoup-list <libsoup-list gnome org>
- Subject: Re: Having trouble getting more than one chunk sent with chunked encoding
- Date: Sun, 16 Mar 2014 10:36:06 -0400
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]