##// END OF EJS Templates
commandserver: use SOMAXCONN as queue size of pending connections...
Yuya Nishihara -
r29588:1bb94666 default
parent child Browse files
Show More
@@ -443,7 +443,7 b' class unixforkingservice(object):'
443 def init(self):
443 def init(self):
444 self._sock = socket.socket(socket.AF_UNIX)
444 self._sock = socket.socket(socket.AF_UNIX)
445 self._servicehandler.bindsocket(self._sock, self.address)
445 self._servicehandler.bindsocket(self._sock, self.address)
446 self._sock.listen(5)
446 self._sock.listen(socket.SOMAXCONN)
447 o = signal.signal(signal.SIGCHLD, self._sigchldhandler)
447 o = signal.signal(signal.SIGCHLD, self._sigchldhandler)
448 self._oldsigchldhandler = o
448 self._oldsigchldhandler = o
449 self._servicehandler.printbanner(self.address)
449 self._servicehandler.printbanner(self.address)
General Comments 0
You need to be logged in to leave comments. Login now