|
@@ -32,9 +32,9 @@ void usage()
|
32
|
32
|
|
33
|
33
|
void print_version(int fd)
|
34
|
34
|
{
|
35
|
|
- char version[16];
|
36
|
|
- pyfcgi_python_version(version);
|
37
|
|
- dprintf(fd, "%s\nPython %s\n", PACKAGE_STRING, version);
|
|
35
|
+ char pyversion[16];
|
|
36
|
+ pyfcgi_python_version(pyversion);
|
|
37
|
+ dprintf(fd, "%s\nPython %s\n", PACKAGE_STRING, pyversion);
|
38
|
38
|
}
|
39
|
39
|
|
40
|
40
|
void default_conf()
|
|
@@ -49,6 +49,8 @@ void default_conf()
|
49
|
49
|
PyFCGI_conf.pool_timeout = 5;
|
50
|
50
|
PyFCGI_conf.worker_timeout = 3;
|
51
|
51
|
PyFCGI_conf.worker_gc_timeout = 7;
|
|
52
|
+
|
|
53
|
+ PyFCGI_conf.context.uptime = time(NULL);
|
52
|
54
|
}
|
53
|
55
|
|
54
|
56
|
int parse_args(int argc, char *argv[])
|