CFV: (un)blocking unix recv call

2010-09-03 Thread Wes Hardaker
This is patch 3058645 from the patches DB: In version 5.4.1 in snmplib/snmpUnixDomain.c in the function netsnmp_unix_recv there is a recv call on a unix domain socket. This call has the potential of blocking, even though select returned the socket as ready to read. The flag

Re: CFV: (un)blocking unix recv call

2010-09-03 Thread Robert Story
On Fri, 03 Sep 2010 09:15:33 -0700 Wes wrote: WH Though I wonder if MSG_DONTWAIT is defined on every OS or not. I'd be WH tempted to do that call iff [sic] it exists, otherwise stay with the ,0 Given the lateness in the release cycle, I'd tend to go with that safer option, so a +1 for that.