When SignalR made 8-10 connections at a time live chat doesn't work

后端 未结 2 1525
我在风中等你
我在风中等你 2021-01-07 06:49

I am developing live chat using SignalR. It is great library. But i coped with one problem that I cant resolve for some time. So problem in when signalR made 8-10 connection

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-07 07:05

    There are two problems you might have ran into:

    1. IIS/Cassini on Windows 7 has a default limit of 10 concurrent connections. Try running tests on Windows Server and see if it behaves the same.
    2. Try opening the connections in separate browser windows and/or separate browsers and/or machines, not tabs. I noticed that in 0.4 things can mess up when using tabs.

提交回复
热议问题