From bc6214e37f6a125109189c8639f9f302fb0beb98 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 2 Jun 2003 20:17:29 +0000 Subject: [PATCH] always force a reconnect when there's an error with ssl connection. This 2003-05-30 Chris Toshok * libsoup/soup-queue.c (soup_queue_error_cb): always force a reconnect when there's an error with ssl connection. This fixes #43387, but it runs the risk of sending requests multiple times to the exchange server, and it results in lots of shorter lived connections and more forking (in the ssl proxy case), depending on the length of the operation. --- ChangeLog | 9 +++++++++ libsoup/soup-queue.c | 2 ++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index e913b1a..17104f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-05-30 Chris Toshok + + * libsoup/soup-queue.c (soup_queue_error_cb): always force a + reconnect when there's an error with ssl connection. This fixes + #43387, but it runs the risk of sending requests multiple times to + the exchange server, and it results in lots of shorter lived + connections and more forking (in the ssl proxy case), depending on + the length of the operation. + 2003-05-21 Dan Winship * configure.in: 1.99.22 (codename: French Onion Soup) diff --git a/libsoup/soup-queue.c b/libsoup/soup-queue.c index 55a81b1..fb48a95 100644 --- a/libsoup/soup-queue.c +++ b/libsoup/soup-queue.c @@ -91,6 +91,8 @@ soup_queue_error_cb (gboolean body_started, gpointer user_data) soup_message_issue_callback (req); } else { req->priv->retries++; + soup_connection_release (req->connection); + req->connection = NULL; soup_message_requeue (req); } } else if (conn_is_new) { -- 2.7.4