Fix NameError in gunicorn/workers/gthread.py.

This commit is contained in:
Berker Peksag 2014-11-24 18:45:00 +02:00
parent 783984cabd
commit 6086e31d07

View File

@ -61,7 +61,7 @@ class TConn(object):
if self.parser is None:
# wrap the socket if needed
if self.cfg.is_ssl:
self.sock = ssl.wrap_socket(client, server_side=True,
self.sock = ssl.wrap_socket(self.sock, server_side=True,
**self.cfg.ssl_options)
# initialize the parser