No error from problems during proxy tunnel setup
Submitted by Dirkjan Ochtman
Assigned to libsoup-maint@gnome.bugs
Link to original bug (#727434)
Description
I think the fix should be along these lines:
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c index 0eb334f..13e04f1 100644 --- a/libsoup/soup-session.c +++ b/libsoup/soup-session.c @@ -1576,6 +1576,9 @@ tunnel_complete (SoupMessageQueueItem *tunnel_item, item->state = SOUP_MESSAGE_FINISHING;
soup_message_set_https_status (item->msg, item->conn);
-
if (!error && !SOUP_STATUS_IS_SUCCESSFUL (status)) {
-
error = g_error_new(SOUP_HTTP_ERROR, status, soup_status_get_phrase(status));
-
}
item->error = error; if (!status)
However, I haven't been able to test it yet (having problems getting libsoup compiled for my setup on a new VM :().
Version: 2.46.x