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): ...@@ -55,12 +55,7 @@ class HTTPServer(object):
return s return s
def stop(self, timeout=0): def stop(self, timeout=0):
"""Shutdown the server. """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
"""
for s in self.listeners: for s in self.listeners:
s.close() s.close()
self.socket = [] 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