Re: Disconnecting a client
- From: Michael Bell <michael bell cms hu-berlin de>
- To: libsoup-list gnome org
- Subject: Re: Disconnecting a client
- Date: Mon, 23 Mar 2009 16:09:55 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Bell wrote:
> if I use the following code to cleanup an asynchronous http client:
>
> soup_session_abort(session);
> g_object_unref(session);
>
> Sometime the code crashes on g_object_unref. soup_session_abort always
> works. Is there a clean way how I can sanitize the cleanup of SoupSession?
>
> I use libsoup 2.24.3.
Just for completeness - the full source code is available at:
https://libsyncml.opensync.org/browser/trunk/tests/check_libsoup.c
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
iD8DBQFJx6ZD2L0ZGCAwWqsRAmZoAKDAm1F7J90Dp65g9ZkyCJh3fxy4EgCfVEVl
uvcDPMvxcW8CUGt4VYGVtQA=
=SYVU
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]