-
Notifications
You must be signed in to change notification settings - Fork 104
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
SDLProtocol message parsing should use a state machine #17
Comments
A state machine is entire retooling of the packet deconstruction process. If we want to do this without a full retool (for now 😄), we could also do this with some logic fixes. |
davidswi
pushed a commit
to davidswi/sdl_ios
that referenced
this issue
May 18, 2017
…L-872 to master * commit '9f8a41887e403a9d7fcd8e7bfa433b353896a7a3': Remove canceledSema from session.
4 tasks
joeljfischer
added a commit
that referenced
this issue
Aug 24, 2022
joeljfischer
changed the title
SDLProtocol message parsing
SDLProtocol message parsing should use a state machine
Sep 23, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SDLProtocol.m
The current process is:
Every time the full message is not in the buffer and bytes are received the header is re-parsed. A state machine should be used to parse the incoming bytes.
The text was updated successfully, but these errors were encountered: