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

[sock] flush / handle lines during input handling when a telnet SB (renegotation) is received #84

Merged
merged 2 commits into from
May 26, 2024

Conversation

erikarn
Copy link
Contributor

@erikarn erikarn commented May 22, 2024

This is needed to properly keep GMCP/ATCP handling inline against the incoming socket data lines. Otherwise the SB attributes get handled first whilst the normal data is queued into the line buffer, and then the line buffer is handled at the end.

For issue #83

…enegotation) is received

This is needed to properly keep GMCP/ATCP handling inline against the incoming
socket data lines.  Otherwise the SB attributes get handled first whilst
the normal data is queued into the line buffer, and then the line buffer
is handled at the end.

I don't like doing the socket flush here though.  Ugh.
@ingwarsw
Copy link
Owner

Not sure how to test it but seems fine..
Thanks..

@ingwarsw ingwarsw merged commit 69e9206 into ingwarsw:main May 26, 2024
16 checks passed
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.

2 participants