From 7b902a2378f73f36d85d3dd4f38026f18cf31d75 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sat, 14 Jun 2014 06:58:13 +0200 Subject: [PATCH] fix #783 fix tornado worker with missing option Gunicorn doesn't ovveride the WSGI headers with the X heaaders anymore. --- gunicorn/workers/gtornado.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gunicorn/workers/gtornado.py b/gunicorn/workers/gtornado.py index 2572587e..8b6eee3f 100644 --- a/gunicorn/workers/gtornado.py +++ b/gunicorn/workers/gtornado.py @@ -93,7 +93,6 @@ class TornadoWorker(Worker): server._sockets[s.fileno()] = s server.no_keep_alive = self.cfg.keepalive <= 0 - server.xheaders = bool(self.cfg.x_forwarded_for_header) server.start(num_processes=1) self.ioloop.start()