iroh
iroh copied to clipboard
Handling `UdpSocket::bind_raw` failing to set buffer sizes
On an iPhone X, I've had UdpSocket::bind_raw fail to set its buffer sizes due to Os { code: 55, kind: Uncategorized, message: \"No buffer space available\" } a few times. The end result is a lot of log spam but not much I can do about it.
I believe even if that fails it'll continue fine with the default buffer sizes. Should the buffer size it attempts to use be configurable rather than a fixed 7MB?
Yes, it should keep working just fine. This is rather optional.
I agree it makes sense to have this configurable.