客户端收到多条回复信息。
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- networking
Research direction
Start by reproducing the reported case where one server message causes multiple client OnData callbacks. Inspect the receivePipe.TryDequeue() call and its ordering relative to OnData?.Invoke(message). Done means a single server message produces the intended client callback behavior without introducing other receive-pipeline problems.
Written by the indexing model from the issue text.
Description

我在使用时出现了服务器发送了一次消息,但 客户端在OnData收到多条信息的情况。我把 state.receivePipe.TryDequeue();方法放到 OnData?.Invoke(message); 之前可以避免这个问题。
这么做会出现其他问题吗?或者有其他更好的解决方法?
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MirrorNetworking/Telepathy
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
MirrorNetworking/Telepathy#132 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
MirrorNetworking/Telepathy#135 ·
-
unity2022Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
MirrorNetworking/Telepathy#133 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MirrorNetworking/Telepathy#131 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
MirrorNetworking/Telepathy#129 ·
All issues in MirrorNetworking/Telepathy
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
:watch: Not Triaged aspnet-core/svc fundamentals/subsvc Source - Docs.ms
Difficulty 1/5 Under an hour Newbie friendliness 85/100
dotnet/AspNetCore.Docs#37785 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Azure/azure-sdk-tools#17204 ·
Maintainers usually reply within 1 day
-
Проблема с Dotnet RUOpenarea-tutorials needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
dotnet/website-feedback#1779 ·
-
[Bug] SwipeControl in Execute mode with more than one item replaces the whole UI with an error panelPossibly taken A pull request linked to this issue is open or already merged. Openbug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
microsoft/microsoft-ui-reactor#1344 ·
Maintainers usually reply within 1 day