Skip to content
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

Fixed message fragmentation #132

Merged
merged 4 commits into from
Mar 16, 2017
Merged

Fixed message fragmentation #132

merged 4 commits into from
Mar 16, 2017

Conversation

Zegeger
Copy link
Contributor

@Zegeger Zegeger commented Mar 16, 2017

Fixed fragmentation logic; we should not fragment messages that do not fill a full packet. Removed NetworkSession.Flush as this change fixed all cases where that seemed needed. Fixed NETWORKDEBUG section which was missed by network refactor

…t fill a full packet. Removed NetworkSession.Flush as this change fixed all cases where that seemed needed. Fixed NETWORKDEBUG section which was missed by network refactor
@@ -41,6 +42,9 @@ public bool SendAck

public bool encryptedChecksum { get; set; }

public long currentSize = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private?

@@ -41,6 +42,9 @@ public bool SendAck

public bool encryptedChecksum { get; set; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private?

@Mag-nus Mag-nus merged commit e69be2c into ACEmulator:master Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants