--stop and --reload, open by fifo and fd

This commit is contained in:
roberto@debian32
2011-08-30 10:51:50 +02:00
parent 59314d692f
commit cbdeb4caad
9 changed files with 72 additions and 23 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ PyObject *uwsgi_pyimport_by_filename(char *name, char *filename) {
char *real_filename = filename;
if (strncmp(filename, "http://", 7) && strncmp(filename, "sym://", 6) && strncmp(filename, "data://", 7)) {
if (!uwsgi_check_scheme(filename)) {
pyfile = fopen(filename, "r");
if (!pyfile) {