| skipped 22 lines |
23 | 23 | | try: |
24 | 24 | | print('[+] Connection from '+ self.client_address[0]) |
25 | 25 | | self.pool = multiprocessing.Pool(5) |
26 | | - | for output in p.imap_unordered(self.search, iter(str(self.rfile.readline), '\n')): |
| 26 | + | for output in self.pool.imap_unordered(self.search, iter(str(self.rfile.readline), '\n')): |
27 | 27 | | if not output[0]: |
28 | 28 | | #error'd out. print the results, but don't send them on? |
29 | 29 | | print(output[1]) |
| skipped 65 lines |