added support for REMOTE_ADDR in mongrel2/zeromq

This commit is contained in:
roberto@precise64
2012-04-14 10:08:34 +02:00
parent b7e6da3392
commit 2bcc85a99f
3 changed files with 26 additions and 1 deletions
+5
View File
@@ -201,6 +201,11 @@ PyObject *py_uwsgi_spit(PyObject * self, PyObject * args) {
UWSGI_GET_GIL
#endif
if (wsgi_req->write_errors > uwsgi.write_errors_tolerance) {
uwsgi_py_write_set_exception(wsgi_req);
return NULL;
}
//uwsgi_log("%d %p\n", wsgi_req->poll.fd, up.wsgi_writeout);
Py_INCREF(up.wsgi_writeout);