Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write the last part of the packet synchronously on Mono.
If we use WriteAsync and don't await it, then subsequent WriteAsync may be called before the first continuation returns. If both calls share the same buffer and they overlap, we will overwrite the data in the buffer and cause junk to arrive at receiver.
- Loading branch information