summaryrefslogtreecommitdiff
path: root/wsgitools/scgi/asyncio.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2019-03-10 17:49:00 +0100
committerHelmut Grohne <helmut@subdivi.de>2019-03-10 17:49:00 +0100
commit44bdfe2a595ce06dfda3d00ee0cf65e565c3cbea (patch)
tree281f410fd9ac2bcc7ccb7b326dcb9a034dad4eb0 /wsgitools/scgi/asyncio.py
parenta10a7217cf963731e2566c1aa7cb6f7b96152b59 (diff)
downloadwsgitools-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