iroh icon indicating copy to clipboard operation
iroh copied to clipboard

Handling `UdpSocket::bind_raw` failing to set buffer sizes

Open PaulOlteanu opened this issue 1 year ago • 1 comments

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?

PaulOlteanu avatar Nov 08 '24 03:11 PaulOlteanu

Yes, it should keep working just fine. This is rather optional.

I agree it makes sense to have this configurable.

flub avatar Nov 08 '24 15:11 flub