Patch: fix unix sockets under FreeBSD

Philip M. Gollucci philip at ridecharge.com
Wed Oct 3 07:53:47 UTC 2007


Maxim Dounin wrote:
> Hello!
>
> Attached patch fixes unix sockets support under FreeBSD (and probably
> other *BSD's too, not checked). Should apply cleanly to trunk.
>
> Problem background:
>
> FreeBSD's sendmsg() requires msg_name in msghdr structure to be NULL if
> not used, setting msg_namelen to 0 isn't enough.
>
> Maxim Dounin
>   
I'm using memcached on FreeBSD -- I haven't noticed any issues -- is 
this config specific or should I look to apply this ?



More information about the memcached mailing list