Re: libsoup-2.34.1 : Bug or wrong using?
- From: Dan Winship <danw gnome org>
- To: pydenonfoux <pydenonfoux orange-vallee net>
- Cc: libsoup-list gnome org
- Subject: Re: libsoup-2.34.1 : Bug or wrong using?
- Date: Mon, 18 Jul 2011 10:51:48 -0400
On 07/08/2011 12:27 PM, pydenonfoux wrote:
> In the function do_idle_run_queue, soup_add_completion is never called
> because priv->idle_run_queue_source is not null. Idle_run_queue is
> correctly called before the message was sent.
>
> I don't understand why priv->idle_run_queue_source is not null, I didn't
> find function which modify it between those two steps. But if I comment
> the 'if' my application works!
idle_run_queue_source would be non-NULL if the session had already
queued an idle source to run run_queue(). Removing the if should not be
necessary (and in fact, may eventually cause crashes).
Are you using multiple threads? SoupSessionAsync is not thread-safe, so
if you are, that's your problem.
Other than that, all I can say is "that can't happen", and I'd need to
see the code to be able to figure out what's happening.
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]