mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
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:
parent
18355eff30
commit
7b902a2378
@ -93,7 +93,6 @@ class TornadoWorker(Worker):
|
|||||||
server._sockets[s.fileno()] = s
|
server._sockets[s.fileno()] = s
|
||||||
|
|
||||||
server.no_keep_alive = self.cfg.keepalive <= 0
|
server.no_keep_alive = self.cfg.keepalive <= 0
|
||||||
server.xheaders = bool(self.cfg.x_forwarded_for_header)
|
|
||||||
server.start(num_processes=1)
|
server.start(num_processes=1)
|
||||||
|
|
||||||
self.ioloop.start()
|
self.ioloop.start()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user