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