merlimat opened a new pull request #163: Fixed reading from connection
URL: https://github.com/apache/pulsar-client-go/pull/163
 
 
   
   ### Motivation
   
   Fixes #147
   
   There is bug in the `connection_reader` routine. If a frame is spanning 
multiple IP packets, it might get the case where we have read a partial frame 
into the current buffer and then we have to read the remainder of the frame 
from the socket. 
   
   Instead of reading the remainder, we were trying to read the full frame 
size, which in turn will lead to the connection reader getting stuck. The 
connection eventually will fail the ping probe and will get closed though new 
connections incur in the same issue.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to