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

Refactor message processing in process_chunk function to handle JSON … #252

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XpycTee
Copy link

@XpycTee XpycTee commented May 14, 2024

Hello!

I found an error when sending a {"eof": 1} dictionary, which was converted using json.dumps(), to a socket. In response, I was getting the error 1011.

After some searching, I found out that the message checking in process_chunk is done too rigidly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant