Re: Disconnecting a client
- From: Michael Bell <michael bell cms hu-berlin de>
- To: Dan Winship <danw gnome org>
- Cc: libsoup-list gnome org
- Subject: Re: Disconnecting a client
- Date: Wed, 25 Mar 2009 09:59:07 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dan Winship wrote:
> Yup, the problem is that SoupSessionAsync is not thread-safe, but you're
> queuing messages from the main thread and having them be run in the
> client_thread. If you change the code so that the
> soup_session_queue_message() call happens in client_thread, then it will
> work fine.
Short question, does this limitation exist for soup_server_quit too?
FYI my client code works now. Thanks a lot.
Best regards
Michael
- --
___________________________________________________________________
Michael Bell Humboldt-Universitaet zu Berlin
Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice
Fax: +49 (0)30-2093 2704 Unter den Linden 6
michael bell cms hu-berlin de D-10099 Berlin
___________________________________________________________________
PGP Fingerprint: 09E4 3D29 4156 2774 0F2C C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJyfJa2L0ZGCAwWqsRAlTgAJ9/Ex6DqjQfEr1xsRTh61wZPYq8lACgh3p1
/hFFtnfQ74ixdqOtMk7PoAU=
=yzei
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]