Skip to content

binary data transfer improvement#447

Open
halil-avci wants to merge 1 commit into
jasonrbriggs:devfrom
halil-avci:binary_message
Open

binary data transfer improvement#447
halil-avci wants to merge 1 commit into
jasonrbriggs:devfrom
halil-avci:binary_message

Conversation

@halil-avci

Copy link
Copy Markdown

Previous code could not handle the binary messages that contain null bytes, since the algorithm was relying on null bytes to determine end of the frame. Now __read(self) method can handle binary data with null bytes, as well as every other type of messages. It detects headers while reading the message, then acts upon the existence of content-length.

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.

1 participant