Near transport/tcp/buffer.cc:91:
if (pair_->isSync()) {
// The send operation must flush all data to the underlying socket
// and then call handleSendCompletion. Therefore, the number of
// send completions must always be positive when calling waitSend.
GLOO_ENFORCE_GE(1, sendCompletions_);
The comments says sendCompletions must be positive, while the enforcement condition says 1>=sendCompletions. It seems to me the latter is wrong.