Need to push the server's async_context around doing message I/O to
make sure all the responses come back to the right place.
msg, client);
g_object_ref (client->sock);
+
+ if (priv->async_context)
+ g_main_context_push_thread_default (priv->async_context);
soup_message_read_request (msg, client->sock,
request_finished, client);
+ if (priv->async_context)
+ g_main_context_pop_thread_default (priv->async_context);
}
static void