diff options
author | Troy Giorshev <troygiorshev@gmail.com> | 2020-06-17 10:41:48 -0400 |
---|---|---|
committer | Troy Giorshev <troygiorshev@gmail.com> | 2020-06-17 15:23:06 -0400 |
commit | 80d4423f997e15780bfa3f91bf4b4bf656b8ea45 (patch) | |
tree | 9f564977992158a7be98873a76a031e71cda0544 /contrib/verify-commits | |
parent | 39bd9ddb8783807b9cde6288233e86ad7c85d61f (diff) |
Test buffered valid message
A message can be broken across two buffers, with the split inside its
header. Usually this will occur when sending many messages, such that
the first buffer fills.
This test uses the RPC to verify that the message is actually being
received in two pieces.
There is a very rare chance of a race condition where the test framework
sends a message in between the two halves of the message under test. In
this case the peer will almost certainly disconnect and the test will
fail. An assert has been added to help debugging that rare case.
Diffstat (limited to 'contrib/verify-commits')
0 files changed, 0 insertions, 0 deletions