From: Jeremy Evans Date: 2015-07-20T19:21:40-07:00 Subject: [ruby-core:70057] Re: [Ruby trunk - Bug #11364] [Open] Use smaller buffer for sendmsg On 07/21 12:05, Eric Wong wrote: > Jeremy Evans wrote: > > Looks like my initial analysis was partially wrong. OpenBSD's default > > buffer for SEQPACKET sockets is 4096. However, ancdata.c needs a patch > > to handle EMSGSIZE. > > This looks like a bug in OpenBSD. I don't know in what standards an > application is expected to handle EMSGSIZE as a retryable error when > writing to a socket. > > Maybe a version-guarded #ifdef for OpenBSD would be alright for now, > but I think this needs to be fixed in OpenBSD. Thanks for the heads up. The network stack is not my area of expertise, but I'll talk with the other OpenBSD developers and see if this should be fixed in the kernel. Thanks, Jeremy