Example #1
0
 def _run(self, application, socket):
     """Start a WSGI server in a new green thread."""
     logger = logging.getLogger('eventlet.wsgi.server')
     eventlet.wsgi.server(socket,
                          application,
                          custom_pool=self.pool,
                          log=logging.WritableLogger(logger))
Example #2
0
 def _run(self, application, socket):
     """Start a WSGI server in a new green thread."""
     eventlet.wsgi.server(socket,
                          application,
                          custom_pool=self.pool,
                          log=logging.WritableLogger(LOG),
                          url_length_limit=CONF.max_header_line)
Example #3
0
 def _run(self, application, socket):
     """Start a WSGI server in a new green thread."""
     eventlet.wsgi.server(socket,
                          application,
                          custom_pool=self.pool,
                          log=logging.WritableLogger(LOG),
                          keepalive=CONF.wsgi_keep_alive,
                          socket_timeout=self.client_socket_timeout)
Example #4
0
 def _run(self, application, socket):
     """Start a WSGI service in a new green thread."""
     logger = logging.getLogger('eventlet.wsgi.server')
     eventlet.wsgi.server(socket,
                          application,
                          max_size=self.num_threads,
                          protocol=UnixDomainHttpProtocol,
                          log=logging.WritableLogger(logger))