python-zk / kazoo

Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
https://kazoo.readthedocs.io
Apache License 2.0
1.3k stars 386 forks source link

fix command just recv 8K #717

Open yyfyfyang opened 1 year ago

yyfyfyang commented 1 year ago

Fixes #

Why is this needed?

sock.recv(8192) recv byte 8K, Can not be modified,there will be data loss

jeffwidman commented 1 year ago

Hmm, the description of the problem makes sense, I haven't dug into lower level networking code in a while, so not sure if this is the best way to solve or if this should be fixed through an OS-level config, or if 8k is python's default regardless of the OS setting...

Regardless, now that #716 landed, can you rebase this to see what CI thinks?