fixed a fd leak on static file serving

This commit is contained in:
roberto@oneoric64
2011-12-06 09:29:41 +01:00
parent cf7df391ad
commit 82f83e610f
5 changed files with 6 additions and 3 deletions
-2
View File
@@ -212,8 +212,6 @@ PyObject *python_call(PyObject *, PyObject *, int, struct wsgi_request *);
#ifdef UWSGI_SENDFILE
PyObject *py_uwsgi_sendfile(PyObject *, PyObject *);
ssize_t uwsgi_sendfile(struct wsgi_request *);
ssize_t uwsgi_do_sendfile(int, int, size_t, size_t, off_t*, int);
#endif
PyObject *py_uwsgi_write(PyObject *, PyObject *);