Patch: fix unix sockets under FreeBSD
    Maxim Dounin 
    mdounin at mdounin.ru
       
    Wed Oct  3 10:00:30 UTC 2007
    
    
  
Hello!
On Wed, 3 Oct 2007, Philip M. Gollucci wrote:
>> 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.
>> 
> I'm using memcached on FreeBSD -- I haven't noticed any issues -- is this 
> config specific or should I look to apply this ?
This patch is only relevant if you are using memcached with *unix* 
sockets, i.e. running it with "-s <path>" argument.
Nothing changes for other setups, so applying it in your case will be 
waste of time.
Maxim Dounin
    
    
More information about the memcached
mailing list