From e90ea599aa886d13b05f0821be9d71de4758f03b Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Sat, 29 Apr 2023 12:47:11 -0500 Subject: Revert "connection: a connection is disconnected state should not be reusable" This reverts commit a15107a70b4b2b0b5bda241f037d09af403db96e. --- libsoup/soup-connection.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c index f08108f6..4007f282 100644 --- a/libsoup/soup-connection.c +++ b/libsoup/soup-connection.c @@ -1373,8 +1373,7 @@ soup_connection_is_reusable (SoupConnection *conn) { SoupConnectionPrivate *priv = soup_connection_get_instance_private (conn); - return g_atomic_int_get (&priv->state) != SOUP_CONNECTION_DISCONNECTED && - priv->io_data && soup_client_message_io_is_reusable (priv->io_data); + return priv->io_data && soup_client_message_io_is_reusable (priv->io_data); } GThread * -- cgit v1.2.1