This was hanging for me pretty bad. I just added a quick check to see if the amount of iterations exceeds the total length passed to the method.
It should be safe to say, that if $cleng < 0, we aren't receiving data
from the socket. We should error, instead of infinitely hanging.
I think the error stems from having a bad rpc_address directive in the .yaml file (0.0.0.0) But either way, I think we should error, instead of hanging.
This was hanging for me pretty bad. I just added a quick check to see if the amount of iterations exceeds the total length passed to the method.
It should be safe to say, that if $cleng < 0, we aren't receiving data from the socket. We should error, instead of infinitely hanging.
I think the error stems from having a bad rpc_address directive in the .yaml file (0.0.0.0) But either way, I think we should error, instead of hanging.