applied client socket patch from Jonathan Barber

git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@154 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
bas 2012-10-11 13:33:54 +00:00
parent db939c837c
commit d2f4f78302
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,9 @@ Maui 3.3.2
everything (-f [user|group|acct|class|qos]). To show fairshare for a group, use:
* diagnose -f group (Author: Dennis Stam and applied by Bas van der Vlies)
- Showstats segfaults when using compiler optimization (Author: Andrew Savchenko, applied by Bas van der Vlies)
- catch socket errors for MSUAcceptClient. So no errors in the log file (Author: Jonathan Barber, applied
by Bas van der Vlies):
* accept call failed, errno: 11 (Resource temporarily unavailable)
Maui 3.3.1
- Fixed issue where hostlist was being overwritten resulting in broken $PBS_NODEFILE. (Alexis Cousein)

View File

@ -809,6 +809,11 @@ int MSUAcceptClient(
if ((sd = accept(S->sd,(struct sockaddr *)&c_sockaddr,&addrlen)) == -1)
{
if (errno == EAGAIN || errno == EWOULDBLOCK)
{
return(FAILURE);
}
MDB(9,fSOCK) MLog("INFO: accept call failed, errno: %d (%s)\n",
errno,
strerror(errno));