325
325
chroot_server = chroot.ChrootServer(transport)
326
326
chroot_server.start_server()
327
327
self.cleanups.append(chroot_server.stop_server)
329
329
if self.base_path is not None:
330
330
# Decorate the server's backing transport with a filter that can
332
332
expand_userdirs = self._make_expand_userdirs_filter(transport)
333
333
expand_userdirs.start_server()
334
334
self.cleanups.append(expand_userdirs.stop_server)
336
336
self.transport = transport
338
338
def _make_smart_server(self, host, port, inet):