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

DONT/WONT case should read byte to the end of IAC #77

Open
crrrrrrystal opened this issue Dec 19, 2023 · 0 comments
Open

DONT/WONT case should read byte to the end of IAC #77

crrrrrrystal opened this issue Dec 19, 2023 · 0 comments

Comments

@crrrrrrystal
Copy link

case (int)Commands.Dont:
case (int)Commands.Wont:
        // We should ignore Don't\Won't because that is the default state.
        // Only reply on state change. This helps avoid loops.
        // See RFC1143: https://tools.ietf.org/html/rfc1143
        return Task.CompletedTask;

The next byte read as a common content, for example 'ff fe 1f' will read '1f' as ','

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

No branches or pull requests

1 participant