Use clean headers to fix decoding issues

This commit is contained in:
Andrew Godwin 2018-05-25 15:11:09 +02:00 committed by Andrew Godwin
parent fa3c764433
commit 9f7e19cf2d

View File

@ -50,7 +50,7 @@ class WebSocketProtocol(WebSocketServerProtocol):
if self.server.proxy_forwarded_address_header:
self.client_addr = parse_x_forwarded_for(
self.http_headers,
self.clean_headers,
self.server.proxy_forwarded_address_header,
self.server.proxy_forwarded_port_header,
self.client_addr