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

Messages truncated at 2032 characters #57

Open
kentkr opened this issue Apr 5, 2022 · 3 comments
Open

Messages truncated at 2032 characters #57

kentkr opened this issue Apr 5, 2022 · 3 comments

Comments

@kentkr
Copy link

kentkr commented Apr 5, 2022

I'm using the sseclient library on py 3.7.11 and the sse messages are truncated at 2032 characters. This is not the case when accessing the data from other methods. Is there an argument to extend the character length?

I haven't found much in the source code other than chunk_size but that does not seem to be the issue. Could it be something about line endings?

@eino
Copy link

eino commented Apr 6, 2022

Hi, are you sure it isn't related to chunks? It looks like #28. At least for me, merging @mutantmonkey 's PR #35 fixed a similar issue.

@kentkr
Copy link
Author

kentkr commented Apr 8, 2022

It may be but specifying chunk_size = xxx in SSEClient() changed nothing about its behavior.

Are there other solutions to try out?

@yangyang-zhang
Copy link

I encountered a similar problem. Have you found the reason

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

3 participants