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