Changeset 1059

Show
Ignore:
Timestamp:
06/19/07 21:51:03 (1 year ago)
Author:
ahu
Message:

fix for EINTR confusion wich could block the server - thanks Arnoud B!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pdns/pdns/epollmplexer.cc

    r860 r1059  
    115115    throw FDMultiplexerException("select returned error: "+stringerror()); 
    116116 
    117   if(ret==0) // nothing 
     117  if(ret < 1) // thanks AB! 
    118118    return 0; 
    119119 
  • trunk/pdns/pdns/kqueuemplexer.cc

    r729 r1059  
    9999    throw FDMultiplexerException("kqueue returned error: "+stringerror()); 
    100100 
    101   if(ret==0) // nothing 
     101  if(ret < 0) // nothing - thanks AB! 
    102102    return 0; 
    103103 
  • trunk/pdns/pdns/selectmplexer.cc

    r802 r1059  
    7171    throw FDMultiplexerException("select returned error: "+stringerror()); 
    7272 
    73   if(ret==0) // nothing 
     73  if(ret < 1) // nothing - thanks AB 
    7474    return 0; 
    7575