improved offload threads subsystem

This commit is contained in:
Roberto De Ioris
2012-11-09 20:04:27 +01:00
parent 689b4afb44
commit e4de9a8bc7
10 changed files with 336 additions and 95 deletions
+1 -1
View File
@@ -804,7 +804,7 @@ PyObject *py_uwsgi_offload_transfer(PyObject * self, PyObject * args) {
UWSGI_RELEASE_GIL
if (uwsgi_offload_request_do(wsgi_req, filename, len)) {
if (uwsgi_offload_request_sendfile_do(wsgi_req, filename, len)) {
UWSGI_GET_GIL
return PyErr_Format(PyExc_ValueError, "Unable to offload the request");
}