devip: dont panic when ports get exhausted
parent
f2a9244e2d
commit
bf8fcab00d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue