Yann Weber
7b99f5f48f
Use the new stats features in PyFCGI
The worker indicate each new request using semaphore
4 years ago
Yann Weber
bd6267330a
Add a todo for a POSIX semaphore problem :'(
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
5466d9c575
Modification of workers making them always exist busy
Adds a global flag for worker indicating their status (add checks for
each semaphore change)
The pool handler will no longer have to decrease the semaphore value when
a child exit.
4 years ago
Yann Weber
bcbbb99770
Add timeout & watchdog for pool & workers
4 years ago
Yann Weber
d3c9e2de42
Add sys.stdout & sys.stderr logging for pep333 worker
4 years ago
Yann Weber
512580c924
Implement partial support for wsgi.* environ
The url_scheme is static to "http" for the moment...
4 years ago
Yann Weber
cc0af1abb2
Bugfix in PEP333 worker when application trigger an exception
4 years ago
Yann Weber
11df1455cf
Add signal handling and clean exiting
4 years ago
Yann Weber
28231c3d56
Logger enhancement + deleted unused warning in pyworker.c
4 years ago
Yann Weber
de7269f833
Deleted loglines, updated README + add check on FCGX_PutStr calls
4 years ago
Yann Weber
0c527fc2dc
1st fonctionnal implementation of both python<->C IPC
4 years ago
Yann Weber
6a93f8042f
Start implementing pep333 application support
4 years ago
Yann Weber
3a9238e7a1
Add pyutils.h/c and a check for import when parsing arguments
5 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
8cba8d40ba
Starts implementation of logger format parsing
5 years ago
Yann Weber
2bdf83fc43
Using clone for piper & use ctl pipe to read response size
5 years ago
Yann Weber
4aa0614383
Decrease poll timer & move piper control pipe
5 years ago
Yann Weber
59fa3b0dc4
Add a call to FCGI_Finish() in work() + comments
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
13258ee647
Enable python environnement update from FCGI context
5 years ago
Yann Weber
ed745fc3ee
Add stdout & stderr flushing after pyentrypoint fun called
5 years ago
Yann Weber
9c741e6b9c
Initial commit
5 years ago