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 rtobar2
Recipients rtobar2
Date 2021-09-30.08:06:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm working on trying to run python under SerenityOS.

At the moment, SerenityOS doesn't implement the TCP_NODELAY socket option. This makes the HTTPConnection.connect() method raise an OSError for an operation that is otherwise optional. Additionally, the connection object can be left in an intermediate state: the underlying socket is always created, but depending on what method was invoked (either connect() directly or a higher-level one such as putrequest()) the connection object can be in IDLE or REQ_STARTED state.

I have a patch that works (attached), and I'll be working on submitting a PR now.

Usage of TCP_NODELAY was introduced in 3.5 (#23302), so even though I've been testing against 3.10rc2 for the time being I'm sure it will affect all versions in between.
Date User Action Args
2021-09-30 08:06:57rtobar2setrecipients: + rtobar2
2021-09-30 08:06:56rtobar2setmessageid: <>
2021-09-30 08:06:56rtobar2linkissue45328 messages
2021-09-30 08:06:56rtobar2create