Commit b8011d45 authored by Denis Bilenko's avatar Denis Bilenko

fix the docstring in gevent.http

parent dec41dca
......@@ -55,12 +55,7 @@ class HTTPServer(object):
return s
def stop(self, timeout=0):
"""Shutdown the server.
1. Close all the listening sockets.
TODO: 2. Set "keep-alive" connections to "close"; reply with "Connection: close";
3. Wait until every connection is closed or timeout expires
"""
"""Shutdown the server."""
for s in self.listeners:
s.close()
self.socket = []
......
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