Commit 7cac571d authored by Seth Michael Larson's avatar Seth Michael Larson Committed by GitHub

Variable name is not correct.

This might be causing NameErrors more frequently than the sockopt() should be.
parent 6cc2aaf0
......@@ -31,7 +31,7 @@ async def echo_server(loop, address, unix):
async def echo_client(loop, client):
try:
sock.setsockopt(IPPROTO_TCP, TCP_NODELAY, 1)
client.setsockopt(IPPROTO_TCP, TCP_NODELAY, 1)
except (OSError, NameError):
pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment