[evolution-patches] 65685, connector mail sending problem



I can't easily test this, but I think this should fix bug 65685. (We had
to set the message version to HTTP 1.0 in connector 1.4 to ensure that
the server wouldn't send back a "100 Continue" response, which libsoup
2.0 couldn't deal with. But we don't need it any longer, and libsoup 2.2
doesn't send a "Host" header with HTTP 1.0 messages (possibly also a
bug), which I think is what's causing this error.


Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-exchange/ChangeLog,v
retrieving revision 1.139.2.11
diff -u -r1.139.2.11 ChangeLog
--- ChangeLog	24 Sep 2004 15:07:52 -0000	1.139.2.11
+++ ChangeLog	30 Sep 2004 20:23:18 -0000
@@ -1,3 +1,9 @@
+2004-09-30  Dan Winship  <danw novell com>
+
+	* mail/mail-stub-exchange.c (send_message): Remove code that was
+	setting the message to use HTTP 1.0, which isn't needed with
+	libsoup 2.2, and which was probably causing 65685.
+
 2004-09-24  Christophe Merlet  <redfox redfoxcenter org>
 
         * configure.in: Added 'fr' (French) to ALL_LINGUAS.
Index: mail/mail-stub-exchange.c
===================================================================
RCS file: /cvs/gnome/evolution-exchange/mail/mail-stub-exchange.c,v
retrieving revision 1.7
diff -u -r1.7 mail-stub-exchange.c
--- mail/mail-stub-exchange.c	7 Aug 2004 11:04:35 -0000	1.7
+++ mail/mail-stub-exchange.c	30 Sep 2004 20:23:19 -0000
@@ -2241,7 +2241,6 @@
 					 data->str, data->len);
 	g_string_free (data, FALSE);
 	soup_message_add_header (msg->request_headers, "Saveinsent", "f");
-	soup_message_set_http_version (msg, SOUP_HTTP_1_0);
 
 	status = e2k_context_send_message (mse->ctx, NULL, msg);
 	if (E2K_HTTP_STATUS_IS_SUCCESSFUL (status))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]