devip: dont panic when ports get exhausted

cinap_lenrek 2011-07-08 14:39:13 +00:00
parent f2a9244e2d
commit bf8fcab00d
1 changed files with 0 additions and 9 deletions

View File

@ -818,12 +818,6 @@ setlport(Conv* c)
}
}
qunlock(p);
/*
* debugging: let's see if we ever get this.
* if we do (and we're a cpu server), we might as well restart
* since we're now unable to service new connections.
*/
panic("setlport: out of ports");
return "no ports available";
chosen:
@ -1323,9 +1317,6 @@ retry:
print("Fsprotoclone: garbage collecting Convs\n");
if(p->gc != nil && (*p->gc)(p))
goto retry;
/* debugging: do we ever get here? */
if (cpuserver)
panic("Fsprotoclone: all conversations in use");
return nil;
}