Yann Weber
a1f5517fe5
Signal handling enhancement
4 years ago
Yann Weber
1762b5a272
Deleted useles comment in responder.c
4 years ago
Yann Weber
7829c1c019
Add monitor server handling & new process handling for master
4 years ago
Yann Weber
6b9634c843
Continuing monitor server
Implementing a dummy stream response loop sending PyFCGI version
4 years ago
Yann Weber
4daea42c44
Replacing old sysV sem by new POSIX solves #25
Creating new files to handle IPC stuffs : include/ipc.h src/ipc.c
4 years ago
Yann Weber
fe56265ecd
Enhancement in timeout logging
Now logging a python traceback
4 years ago
Yann Weber
710ab8281c
Pool handling enhancement + bugfix in worker sighandling
The responder_loop handle better child creation & deletion. A conf struct
member indicates the number of seconds the pool have to be idle before deleting
a worker.
In a same way, the pool has to be busy for at least 1s before a new
process can be added (the -f flag indicate if the counter has to be reseted
when a new process is created, allowing spawn burst).
The spawn() function call sigaction 2 times for SIGINT & SIGTERM in order
to catch both.
4 years ago
Yann Weber
7411301254
Logger ident allignement
4 years ago
Yann Weber
bcbbb99770
Add timeout & watchdog for pool & workers
4 years ago
Yann Weber
11df1455cf
Add signal handling and clean exiting
4 years ago
Yann Weber
9e413450a9
Bugfix in logger ident update + deleted debug logging
4 years ago
Yann Weber
0c527fc2dc
1st fonctionnal implementation of both python<->C IPC
4 years ago
Yann Weber
76af007c69
Code cleaning & better worker exit status detection
And better handling of entrypoint import failure...
5 years ago
Yann Weber
dcc8a7a622
Using global configuration variable instead of function arguments
5 years ago
Yann Weber
9eb5f1f42a
Using internal logger instead of syslog
5 years ago
Yann Weber
5e80043631
Commenting debug lines + set a new default value for max_reqs
5 years ago
Yann Weber
e2dd5a1be4
Enhancement & bugfix for the on demand spawning strategy
5 years ago
Yann Weber
d38ab9dacb
Implement on demand commits
5 years ago
Yann Weber
f075806524
Fixing libfcgi bad free bug
Bugfix consist of replacing the magic wrapper instance of os.environ (
aitomatically call os.putenv) by a normal dict instance.
5 years ago
Yann Weber
9c741e6b9c
Initial commit
5 years ago