Closed y-lan closed 10 years ago
Current sasl_client_transport will fail in reading big data chunk because of a bug in reset_buffer! method.
reset_buffer!
len, = @transport.read(PAYLOAD_LENGTH_BYTES).unpack('l>') @rbuf = @transport.read(len)
when the expected data size (len) is large, seems it may multiple times of transport.read to fetch all of the data.
len
transport.read
Thanks!
Current sasl_client_transport will fail in reading big data chunk because of a bug in
reset_buffer!
method.when the expected data size (
len
) is large, seems it may multiple times oftransport.read
to fetch all of the data.