Show More
@@ -570,7 +570,6 b' class unixforkingservice(object):' | |||||
570 |
|
570 | |||
571 | def _acceptnewconnection(self, sock, selector): |
|
571 | def _acceptnewconnection(self, sock, selector): | |
572 | h = self._servicehandler |
|
572 | h = self._servicehandler | |
573 | if True: |
|
|||
574 |
|
|
573 | try: | |
575 |
|
|
574 | conn, _addr = sock.accept() | |
576 |
|
|
575 | except socket.error as inst: | |
@@ -581,8 +580,8 b' class unixforkingservice(object):' | |||||
581 |
|
|
580 | pid = os.fork() | |
582 |
|
|
581 | if pid: | |
583 |
|
|
582 | try: | |
584 |
|
|
583 | self.ui.log(b'cmdserver', b'forked worker process (pid=%d)\n', | |
585 |
|
|
584 | pid) | |
586 |
|
|
585 | self._workerpids.add(pid) | |
587 |
|
|
586 | h.newconnection() | |
588 |
|
|
587 | finally: |
General Comments 0
You need to be logged in to leave comments.
Login now