Skip to content

Commit d5633d5

Browse files
committed
Update NEWS entry and rst docs of TCPServer
1 parent d99fa5a commit d5633d5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Doc/library/socketserver.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ There are four basic concrete server classes:
2323
invoke :meth:`~BaseServer.server_bind` and
2424
:meth:`~BaseServer.server_activate`. The other parameters are passed to
2525
the :class:`BaseServer` base class.
26-
26+
27+
.. versionchanged:: next
28+
Set getattr(socket, "SOMAXCONN", 5) as the default queue size for TCPServer.
2729

2830
.. class:: UDPServer(server_address, RequestHandlerClass, bind_and_activate=True)
2931

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Set 0 as the default queue size for TCPServer
1+
Set getattr(socket, "SOMAXCONN", 5) as the default queue size for TCPServer

0 commit comments

Comments
 (0)