Skip to content

Commit

Permalink
Don't rely on tcp_keepalive when processing http keepalives
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Aug 8, 2016
1 parent 1f6349a commit ca7d79a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def start(self):
self._keep_alive_handle = self._loop.call_at(
ceil(now+self._keepalive_timeout),
self.transport.close)
elif self._keep_alive and self._keep_alive_on:
elif self._keep_alive:
# do nothing, rely on kernel or upstream server
pass
else:
Expand Down

0 comments on commit ca7d79a

Please sign in to comment.