zookeeper icon indicating copy to clipboard operation
zookeeper copied to clipboard

ZOOKEEPER-3420 - Fix compatibility issue in C client recv_buffer()

Open suhasdantkale opened this issue 6 years ago • 4 comments

With newer ZK C Client and older ZK server, recv_buffer() could potentially return 0 continuously on non-blocking socket.

Fixing the issue by correctly finding how many bytes have been read.

suhasdantkale avatar Jun 08 '19 01:06 suhasdantkale

@anmolnar @phunt PTAL

eolivelli avatar Jun 09 '19 20:06 eolivelli

Added title description, I'll leave the review to someone with more C knowledge :)

nkalmar avatar Jun 12 '19 08:06 nkalmar

@phunt @anmolnar please take a look, this fix seems important

eolivelli avatar Jul 25 '19 21:07 eolivelli

@meszibalu Can you please take a look?

nkalmar avatar Jul 26 '19 08:07 nkalmar