Include empty parts in multipart example/test

This commit is contained in:
Alexey Rybalchenko
2019-10-29 13:58:37 +01:00
committed by Dennis Klein
parent 88dbcbe4fd
commit dd191551ca
4 changed files with 35 additions and 8 deletions

View File

@@ -63,6 +63,10 @@ bool Sampler::ConditionalRun()
assert(parts.Size() == 6);
parts.AddPart(NewMessage(100));
assert(parts.Size() == 7);
LOG(info) << "Sending body of size: " << parts.At(1)->GetSize();
Send(parts, "data");