OfficeDev / ews-managed-api

Other
585 stars 322 forks source link

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

Closed SchultzAndreas closed 3 years ago

SchultzAndreas commented 3 years ago

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

SchultzAndreas commented 3 years ago

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