diff options
author | Helmut Grohne <helmut@subdivi.de> | 2019-03-10 17:49:00 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2019-03-10 17:49:00 +0100 |
commit | 44bdfe2a595ce06dfda3d00ee0cf65e565c3cbea (patch) | |
tree | 281f410fd9ac2bcc7ccb7b326dcb9a034dad4eb0 /wsgitools/scgi/asyncio.py | |
parent | a10a7217cf963731e2566c1aa7cb6f7b96152b59 (diff) | |
download | wsgitools-44bdfe2a595ce06dfda3d00ee0cf65e565c3cbea.tar.gz |
scgi.forkpool: fix SIGTERM handler in the presence of PEP475
Since PEP475 or Python 3.5, select retries an interrupted system call.
However, we were relying on the previous behaviour. Thus we must
interrupt select using some other measure. Another socketpair is created
and the signal handler transfers a byte on shutdown.
Diffstat (limited to 'wsgitools/scgi/asyncio.py')
0 files changed, 0 insertions, 0 deletions