Add option to always use HTTP/1
I observe an issue since updating from 3.44.1 to 3.46.1 - I can not connect with my company's exchange server. The issue is I keep getting asked for login/password, never is any data downloaded. From what I can tell local and IMAP mailboxes are unaffected.
I have thoroughly confirmed my settings and I can confirm I can still interact with the server correctly using the evolution 3.44.1 with the same settings. I observe the issue on Arch and Ubuntu, on the same machines running the 3.44.1 works without issue.
I used EWS_DEBUG=2 evolution >& logfile
, this produces a stream of around 50 entries as below per login attempt.
> POST /EWS/Exchange.asmx HTTP/2
> Soup-Debug-Timestamp: 1669201594
> Soup-Debug: ESoupSession 1 (0x55ac667d6220), SoupMessage 1 (0x55ac6646ce10), GSocket 1 (0x55ac66728670)
> Cache-Control: no-cache
> Pragma: no-cache
> Content-Type: text/xml; charset=utf-8
> Content-Length: 898
> User-Agent: Evolution/3.46.1
> Accept-Encoding: gzip, deflate, br
> Accept-Language: de-at, de;q=0.9
> Authorization: <redacted>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header><types:RequestServerVersion xmlns:types="http://schemas.microsoft.com/exchange/services/2006/types" Version="Exchange2007_SP1"/></SOAP-ENV:Header><SOAP-ENV:Body xmlns:messages="http://schemas.microsoft.com/exchange/services/2006/messages"><messages:SyncFolderHierarchy xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><messages:FolderShape><BaseShape>AllProperties</BaseShape><AdditionalProperties><ExtendedFieldURI PropertyTag="4340" PropertyType="Boolean"/></AdditionalProperties></messages:FolderShape></messages:SyncFolderHierarchy></SOAP-ENV:Body></SOAP-ENV:Envelope>
< HTTP/2 401 Unauthorized
< Soup-Debug-Timestamp: 1669201594
< Soup-Debug: SoupMessage 1 (0x55ac6646ce10)
< Server: Microsoft-IIS/10.0
< WWW-Authenticate: NTLM redacted==
< WWW-Authenticate: Negotiate
< Date: Wed, 23 Nov 2022 11:06:38 GMT
< Content-Length: 0
< Set-Cookie: <redacted>
< request-id: b7a38a69-77ac-43d5-86f1-653874a4b85a
< x-owa-version: 15.1.2507.16
< x-powered-by: ASP.NET
< x-feserver: XMBX7