diff --git a/.hgtags b/.hgtags index c18465d8..21e9784b 100644 --- a/.hgtags +++ b/.hgtags @@ -1,3 +1,2 @@ d3850b52334a91d005b0fe45e1e38ba0997a1fb8 no_server mode 2d8a617299153ed2efa6ecee7920e9d36c29e0f5 0.9.5beta1 -4246c58742ac6c05c994cd3b1c5dacd39cd78f9c 0.9.5beta2 diff --git a/wsgi_handlers.c b/wsgi_handlers.c index 86831f66..a62473b5 100644 --- a/wsgi_handlers.c +++ b/wsgi_handlers.c @@ -206,7 +206,7 @@ int uwsgi_request_wsgi(struct uwsgi_server *uwsgi, struct wsgi_request *wsgi_req //fprintf(stderr,"%.*s: %.*s\n", wsgi_req->hvec[i].iov_len, wsgi_req->hvec[i].iov_base, wsgi_req->hvec[i+1].iov_len, wsgi_req->hvec[i+1].iov_base); pydictkey = PyString_FromStringAndSize(wsgi_req->hvec[i].iov_base, wsgi_req->hvec[i].iov_len); pydictvalue = PyString_FromStringAndSize(wsgi_req->hvec[i + 1].iov_base, wsgi_req->hvec[i + 1].iov_len); - //PyDict_SetItem(wsgi_req->async_environ, pydictkey, pydictvalue); + PyDict_SetItem(wsgi_req->async_environ, pydictkey, pydictvalue); Py_DECREF(pydictkey); Py_DECREF(pydictvalue); }