Skip to content

Commit da972ad

Browse files
committed
Server has 75 seconds keepalive timeout now, was non-keepalive by default.
1 parent 4eda8bc commit da972ad

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ CHANGES
3333
- Convert `ConnectionError` to `aiohttp.DisconnectedError` and don't
3434
eat `ConnectionError` exceptions from web handlers.
3535

36+
- Server has 75 seconds keepalive timeout now, was non-keepalive by default.
37+
3638

3739
0.13.1 (12-31-2014)
3840
--------------------

aiohttp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class ServerHttpProtocol(aiohttp.StreamProtocol):
7575
_request_parser = aiohttp.HttpRequestParser() # default request parser
7676

7777
def __init__(self, *, loop=None,
78-
keep_alive=None,
78+
keep_alive=75, # NGINX default value is 75 secs
7979
timeout=15,
8080
tcp_keepalive=True,
8181
allowed_methods=(),

0 commit comments

Comments
 (0)