Co-authored-by: Lukas Joswiak <lukas.joswiak@snowflake.com>
This commit is contained in:
Markus Pilman 2020-11-12 13:48:23 -07:00 committed by GitHub
parent 7cb8d504ad
commit d853892b41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1789,7 +1789,7 @@ class UDPSimSocket : public IUDPSocket, ReferenceCounted<UDPSimSocket> {
std::copy(begin, end, packet->begin());
wait( delay( .002 * deterministicRandom()->random01() ) );
peerSocket->recvBuffer.emplace_back(self->_localAddress, std::move(packet));
peerSocket->writtenPackets.set(self->writtenPackets.get() + 1);
peerSocket->writtenPackets.set(peerSocket->writtenPackets.get() + 1);
return Void();
}