We are using notifications to send Protobuf data to the clients. When populated fields are the same as the defaults then Protobuf will omit them to make the wire transfer smaller. If all fields are default then the payload is empty.
Looking here it seems like bleak treats that as EOF
def on_data():
try:
data = os.read(fd, 1024)
if not data:
raise RuntimeError("Unexpected EOF on notification file handle")
I'm not sure what the best cause of action is here. It truly is an EOF, but it's not an error.
We are using notifications to send Protobuf data to the clients. When populated fields are the same as the defaults then Protobuf will omit them to make the wire transfer smaller. If all fields are default then the payload is empty.
Looking here it seems like bleak treats that as EOF
I'm not sure what the best cause of action is here. It truly is an EOF, but it's not an error.