330
330
chroot_server = chroot.ChrootServer(transport)
331
331
chroot_server.start_server()
332
332
self.cleanups.append(chroot_server.stop_server)
334
334
if self.base_path is not None:
335
335
# Decorate the server's backing transport with a filter that can
337
337
expand_userdirs = self._make_expand_userdirs_filter(transport)
338
338
expand_userdirs.start_server()
339
339
self.cleanups.append(expand_userdirs.stop_server)
341
341
self.transport = transport
343
343
def _make_smart_server(self, host, port, inet):