OfficeDev / ews-managed-api

Other
583 stars 317 forks source link

The call to GetRequestStream() often blocked (without timeout). #270

Closed SchultzAndreas closed 2 years ago

SchultzAndreas commented 2 years ago

The behavior could be reproduced in scenarios with Microsoft 365 and streaming notifications for multiple mailboxes.

SchultzAndreas commented 2 years ago

The blocking resulted from System.Net.ServicePointManager.DefaultConnectionLimit (= 2). If the ExchangeService object is assigned a unique ConnectionGroupName, everything works correctly.