Skip to content

Commit

Permalink
Document backlog parameter, update CHANGES/CONTRIBUTORS
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jul 12, 2016
1 parent 2ea5821 commit 913df8a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ CHANGES

- Add tutorial

- Add backlog option to support more than 128 (default value in
"create_server" function) concurrent connections #892



0.21.6 (05-05-2016)
-------------------
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Chien-Wei Huang
Chih-Yuan Chen
Chris Laws
Chris Moore
Daniel García
Daniel Nelson
David Michael Brown
Dima Veselov
Expand Down
2 changes: 1 addition & 1 deletion aiohttp/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def run_app(app, *, host='0.0.0.0', port=None,

handler = app.make_handler()
srv = loop.run_until_complete(loop.create_server(handler, host, port,
ssl=ssl_context,
ssl=ssl_context,
backlog=backlog))

scheme = 'https' if ssl_context else 'http'
Expand Down
6 changes: 5 additions & 1 deletion docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,7 @@ Utilities

.. function:: run_app(app, *, host='0.0.0.0', port=None, loop=None, \
shutdown_timeout=60.0, ssl_context=None, \
print=print)
print=print, backlog=128)

An utility function for running an application, serving it until
keyboard interrupt and performing a
Expand Down Expand Up @@ -1780,6 +1780,10 @@ Utilities
:param print: a callable compatible with :func:`print`. May be used
to override STDOUT output or suppress it.

:param int backlog: the number of unaccepted connections that the
system will allow before refusing new
connections (``128`` by default).


Constants
---------
Expand Down

0 comments on commit 913df8a

Please sign in to comment.