Closed ph closed 9 years ago
@jordansissel Added a #write
bulk for the ruby client, also added a few examples concerning the for out of sync sequences.
I'll add a test to check the if the sequence roll over affect the next ack logic.
Applied code review, also change the code to make sure the test are randomly executed.
LGTM. Tests passing.
@ph can you squash this before merging?
squash into 2 commits, I think it make more sense that way.
Merged sucessfully into master!
Window size was incorrectly caculated on the server side. Causing the sequence number to be out of sync with the LSF, we were using the first sequence number of a transmission to actually ack a whole transmission.
Also removed the
window_size
option in the ruby client, because it doesn't reflect the actual behavior of the ruby client. The client doesn't do any buffering before transmitting the payload, so the client should ack every send to not lose events.