lua build fixes

This commit is contained in:
roberto@maverick64
2011-01-09 08:07:51 +01:00
parent b9621b620a
commit 8a8d029357
4 changed files with 12 additions and 55 deletions
+6 -1
View File
@@ -165,7 +165,12 @@ int uwsgi_response_subhandler_wsgi(struct wsgi_request *wsgi_req) {
pychunk = PyIter_Next(wsgi_req->async_placeholder);
if (!pychunk) {
if (PyErr_Occurred()) PyErr_Print();
if (PyErr_Occurred()) {
if (PyErr_ExceptionMatches(PyExc_MemoryError)) {
uwsgi_log("Memory Error detected !!!\n");
}
PyErr_Print();
}
goto clear;
}