mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
1a3ab6490d
commit
4ac7e55161
@ -9,6 +9,7 @@ Changes
|
|||||||
Core
|
Core
|
||||||
++++
|
++++
|
||||||
|
|
||||||
|
- improvement: fix #788 check the python requirements for the gaiohttp server
|
||||||
- fix #785: handle binary type address given to a client socket address
|
- fix #785: handle binary type address given to a client socket address
|
||||||
- fix graceful shutdown. make sure QUIT and TERMS signals are switched
|
- fix graceful shutdown. make sure QUIT and TERMS signals are switched
|
||||||
everywhere.
|
everywhere.
|
||||||
|
|||||||
@ -7,7 +7,12 @@ __all__ = ['AiohttpWorker']
|
|||||||
import asyncio
|
import asyncio
|
||||||
import functools
|
import functools
|
||||||
import os
|
import os
|
||||||
import gunicorn.workers.base as base
|
import sys
|
||||||
|
|
||||||
|
from . import base
|
||||||
|
|
||||||
|
if sys.version_info < (3, 3, 0):
|
||||||
|
raise RuntimeError("Python 3.3 and later is needed to run this worker")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from aiohttp.wsgi import WSGIServerHttpProtocol
|
from aiohttp.wsgi import WSGIServerHttpProtocol
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user