Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: respect the configured receive window #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
paulpach wants to merge 1 commit into skywind3000:master
base: master
Choose a base branch
Loading
from paulpach:patch-1

Conversation

@paulpach
Copy link

@paulpach paulpach commented Oct 22, 2020

the count should be less than the configured receive window, not the default receive window

Woynert and Insprill reacted with thumbs up emoji
the count should be less than the configured receive window, not the default receive window
Copy link
Contributor

hey @skywind3000 can you confirm that this is a bug?
we are using kcp for Mirror Networking in Unity.
this bug seems to limit max message size for no obvious reason.

miwarnec pushed a commit to MirrorNetworking/kcp2k that referenced this pull request Nov 28, 2021
miwarnec pushed a commit to MirrorNetworking/kcp2k that referenced this pull request Nov 28, 2021
miwarnec pushed a commit to MirrorNetworking/kcp2k that referenced this pull request Nov 28, 2021
miwarnec pushed a commit to MirrorNetworking/kcp2k that referenced this pull request Nov 28, 2021
Copy link
Contributor

miwarnec commented Nov 28, 2021
edited
Loading

we have a applied this fix for C# kcp version.
it works well.

我们在 C# 版本中修复了它。它工作正常。

miwarnec pushed a commit to MirrorNetworking/Mirror that referenced this pull request Nov 28, 2021
- uncorks max message size from 144 KB to as much as we want based on
 receive window size.
 fixes MirrorNetworking/kcp2k#22
 fixes skywind3000/kcp#291
- feature: OnData now includes channel it was received on
- fixes #2989 
Copy link
Contributor

szhnet commented Nov 29, 2021

这里应该是 if (count >= 256) return -2; 才对吧,frg字段只有一个字节。

sh4k3n added a commit to sh4k3n/kcp that referenced this pull request Nov 30, 2021
Copy link
Contributor

这里应该是 if (count >= 256) return -2; 才对吧,frg字段只有一个字节。

Thank you. We noticed this too just now.
谢谢你。我们刚才也注意到了这一点。

Copy link

murshex commented Oct 24, 2022

@skywind3000 This is your project which is supposed to be a replacement for TCP (Most used protocol in the world). Why have you not merged this pull request yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /