Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve UDP client receive buffer size
Previously, the UdpClientStream was using a fixed `2048` for the size of the receive buffer. This can cause problems on interfaces with a larger MTU. Updated the code to use the MTU for the local interface, if available. Otherwise default to the maximum packet size. Fixes: #1973
- Loading branch information