This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pitrou, sbt, vstinner
Date 2014-05-12.21:47:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

On Windows, it's not the best choice to use this hardcoded limit. socket.SOMAXCONN is 2^31-1.

listen() documentation says that Windows chooses a reasonable backlog value for you if you pass SOMAXCONN:

You should maybe use SOMAXCONN by default on Windows, and Py_MIN(SOMAXCONN, 128) by default on other platforms (UNIX).
Date User Action Args
2014-05-12 21:47:05vstinnersetrecipients: + vstinner, pitrou, neologix, sbt
2014-05-12 21:47:05vstinnersetmessageid: <>
2014-05-12 21:47:05vstinnerlinkissue21455 messages
2014-05-12 21:47:04vstinnercreate