rfk/m2wsgi — Issue #5: gevent io not returning data (patch)
Author: steamraven
Created: 2012-01-29 04:27:15+00:00
State: open

The gevent io submodule does not return any data from the mongrel2 sockets to the rest of the application. The overridden socket only returns None instead of received data.

Patch

diff -r lib/python2.7/site-packages/m2wsgi//io/gevent.py mongrel2/m2wsgi/m2wsgi//io/gevent.py
83,87c83
<
< def __init__(self, *args, **kwargs):
< super(_Socket,self).__init__(*args,**kwargs)
< self._polled_recv = None
<
---
> _polled_recv = None