Re: [uWSGI] PyPy issue

2018-02-09 Thread Krzysztof Warzecha
Hello, On 9 February 2018 at 11:29, Etienne Robillard wrote: > Hi Krzysztof, > > I found something highly relevant to my issue: > http://lists.unbit.it/pipermail/uwsgi/2014-June/007389.html > > So I followed Roberto's suggestion and removed my __pycache__ dir but the > issue

Re: [uWSGI] PyPy issue

2018-02-09 Thread Etienne Robillard
Hi Krzysztof, I found something highly relevant to my issue: http://lists.unbit.it/pipermail/uwsgi/2014-June/007389.html So I followed Roberto's suggestion and removed my __pycache__ dir but the issue is persisting. What do you think? Should i attempt to patch pypy_setup.py ? Etienne

Re: [uWSGI] PyPy issue

2018-02-09 Thread Etienne Robillard
OK. I got a working patch: for i in range(0, iov.iov_len, 1):   environ[ffi.string(ffi.cast("char*", iov[i].iov_base), iov[i].iov_len)] = ffi.string(ffi.cast("char*", iov[i+1].iov_base), iov[i+1].iov_len) if not 'SERVER_NAME' in environ:     environ['SERVER_NAME'] = uwsgi.hostname if not

Re: [uWSGI] PyPy issue

2018-02-09 Thread Etienne Robillard
Hi, I confirm nginx is really sending the REQUEST_METHOD header with nginx/uwsgi: 04:33:37.008721 read(6,