fix #783 fix tornado worker with missing option

Gunicorn doesn't ovveride the WSGI headers with the X heaaders anymore.
This commit is contained in:
benoitc 2014-06-14 06:58:13 +02:00
parent 18355eff30
commit 7b902a2378

View File

@ -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()