ops another grunt fix

This commit is contained in:
roberto@debian32
2011-08-25 18:16:58 +02:00
parent 4979883fe5
commit c422231806
+3 -1
View File
@@ -2492,7 +2492,9 @@ PyObject *py_uwsgi_grunt(PyObject * self, PyObject * args) {
// close connection on the worker
if (PyTuple_Size(args) == 0) {
fclose(wsgi_req->async_post);
if (wsgi_req->socket) {
wsgi_req->socket->proto_close(wsgi_req);
}
wsgi_req->fd_closed = 1;
}