Client-Side CommunicationException while Service works properly

前端 未结 5 2018
长发绾君心
长发绾君心 2021-01-07 23:04

Currently i am facing a problem i do not understand. I have an wcf client that calls a wcf service through several threads at the same time (both on the same machine). Somet

5条回答
  •  春和景丽
    2021-01-07 23:11

    HTTP protocol defines a limit of 2 connections to the same web server at the same...

    Since you are using http the behaviour you see might be related to that limit...

    There is a registry setting for this and a programatic way - you probably need to increase that limit on your client (depending on the quantity of threads you are using)...

    Other relevant settings (client-side) can be found here.

提交回复
热议问题