34
33
help='Treat X-Forwarded-For as the canonical remote address. '
35
34
'Only enable this if you have a sanitizing proxy.')
39
40
LOG = logging.getLogger(__name__)
42
43
def pipeline_factory(loader, global_conf, **local_conf):
43
44
"""A paste pipeline replica that keys off of auth_strategy."""
47
48
pipeline = local_conf.get(limit_name, pipeline)
48
49
pipeline = pipeline.split()
49
50
filters = [loader.get_filter(n) for n in pipeline[:-1]]