Re: Disconnecting clients from SoupServer
- From: Dan Winship <danw gnome org>
- To: Rune Saetre <rune saetre aptomar com>
- Cc: libsoup-list gnome org
- Subject: Re: Disconnecting clients from SoupServer
- Date: Tue, 21 Sep 2010 08:26:29 -0400
On 09/20/2010 07:46 PM, Rune Saetre wrote:
> Is it safe calling soup_socket_disconnect() from a different thread than
> the one running GMainLoop?
No, SoupServer isn't thread-safe. You'd have to add an idle handler to
the server's main context, and call soup_socket_disconnect() from there.
(And if that doesn't work, then file a bug.)
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]