[1.11.x] Removed WSGIServer.server_bind() identical to parent version

The method customization was removed in 2ca00faa91.
Backport of d4b00c5c24 from master.
This commit is contained in:
Claude Paroz 2017-02-11 10:59:57 +01:00
parent 4101b57b19
commit ad0b22d730
1 changed files with 0 additions and 5 deletions

View File

@ -73,11 +73,6 @@ class WSGIServer(simple_server.WSGIServer, object):
self.allow_reuse_address = kwargs.pop('allow_reuse_address', True) self.allow_reuse_address = kwargs.pop('allow_reuse_address', True)
super(WSGIServer, self).__init__(*args, **kwargs) super(WSGIServer, self).__init__(*args, **kwargs)
def server_bind(self):
"""Override server_bind to store the server name."""
super(WSGIServer, self).server_bind()
self.setup_environ()
def handle_error(self, request, client_address): def handle_error(self, request, client_address):
if is_broken_pipe_error(): if is_broken_pipe_error():
logger.info("- Broken pipe from %s\n", client_address) logger.info("- Broken pipe from %s\n", client_address)