>I've found the cause of the slow TCP IPC connections bug on OS X,   
 >namely buffering output on the socket will cause the system to wait   
 >too long to spit out the results.       Changes:   * Check for   
   
 matt: I've applied this patch, but I had to make a change, otherwise it 
broke the build on non-OSX hosts due to the three buffering functions 
being declared twice.  
   
 The change I made was to remove an #endif and and #ifdef and replace them 
with an #elif.  The logic ended up looking like this:  
   
 #ifdef HAVE_TCP_BUFFERING  
    /* functions based on TCP_CORK go here */  
 #elif HAVE_DARWIN  
    /* no-op stub functions go here */  
 #else   
    /* userspace buffering functions go here */  
 #endif  
   
 This is going to need some re-testing on *all* platforms.  
  

Reply via email to