You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/08/01 03:24:12 UTC

[GitHub] [pulsar-client-go] wolfstudy opened a new pull request #37: [issue:34] Fix zlib compress Decompress logic

wolfstudy opened a new pull request #37: [issue:34] Fix zlib compress Decompress logic
URL: https://github.com/apache/pulsar-client-go/pull/37
 
 
   Signed-off-by: xiaolong.ran <ra...@gmail.com>
   
   *(If this PR fixes a github issue, please add `Fixes #<xyz>`.)*
   
   Fixes #34 
   
   ### Motivation
   
   In `reader.Read()`, only a portion of the data will be read at a time. Here we should read all the data until it encounters `io.EOF` and then returns.
   
   This problem has not been reproduced in the previous Test case, because we ignored the processing of error, so whether it succeeds or not, he returns correctly.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services