569
570
self._port = self._ftp_server.getsockname()[1]
570
571
# Don't let it loop forever, or handle an infinite number of requests.
571
572
# In this case it will run for 100s, or 1000 requests
573
575
kwargs={'timeout':0.1, 'count':1000})
574
576
self._async_thread.setDaemon(True)
575
577
self._async_thread.start()