diff --git a/docs/source/news.rst b/docs/source/news.rst index 2838a3f1..6d77a56c 100644 --- a/docs/source/news.rst +++ b/docs/source/news.rst @@ -12,6 +12,8 @@ Core - fix #785: handle binary type address given to a client socket address - fix graceful shutdown. make sure QUIT and TERMS signals are switched everywhere. +- support loading config from module (#799) +- fix check for file-like objects (#805) Tornado worker ++++++++++++++ @@ -19,9 +21,30 @@ Tornado worker - fix #783: x_headers error. The x-forwarded-headers option has been removed in `c4873681299212d6082cd9902740eef18c2f14f1 `_. The discussion is - available on `#633 `_. + available on `#633 `_. +AioHttp worker +++++++++++++++ +- fix: fetch all body in input. fix #803 +- fix: don't install the worker if python < 3.3 + +Logging ++++++++ + +- add statsd logging handler fix #748 + +Extra ++++++ + +- fix RuntimeError in gunicorn.reloader (#807) + +Documentation ++++++++++++++ + +- update faq: put a not on how `watch logs in the console + `_ + since many people asked for it. 19.0 / 2014-06-12 ----------------- diff --git a/gunicorn/http/parser.py b/gunicorn/http/parser.py index 9fe85be4..9dbf7ab3 100644 --- a/gunicorn/http/parser.py +++ b/gunicorn/http/parser.py @@ -8,6 +8,7 @@ from gunicorn.http.unreader import SocketUnreader, IterUnreader class Parser(object): + def __init__(self, mesg_class, cfg, source): self.mesg_class = mesg_class self.cfg = cfg @@ -45,5 +46,6 @@ class Parser(object): class RequestParser(Parser): + def __init__(self, *args, **kwargs): super(RequestParser, self).__init__(Request, *args, **kwargs)