Must figure out, then, where to do it for eventlet. This case covered both.

I'm interpreting the flag to mean "potentially concurrent" which is, I
think, the only useful reading. Whether real threads are involved or not
seems like a minor detail.

But I'm happy to move this to the individual workers if that satisfies you.
On Jun 23, 2013 11:33 PM, "Benoit Chesneau" <notifications@github.com>
wrote:

> In gunicorn/workers/async.py:
>
> > @@ -81,6 +81,7 @@ def handle_request(self, listener, req, sock, addr):
> >              self.cfg.pre_request(self, req)
> >              resp, environ = wsgi.create(req, sock, addr,
> >                      listener.getsockname(), self.cfg)
> > +            environ["wsgi.multithread"] = True
>
> Why forcing it here when you do it in the gevent workeer? Shouldn't we let
> the worker implementation decides and keep the default to False?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/benoitc/gunicorn/pull/558/files#r4836682>
> .
>