(original) (raw)
On Fri, Jan 11, 2013 at 6:02 PM, M.-A. Lemburg <mal@egenix.com> wrote:
That said, it may be useful to have a PyPI package which implementsthe FastOpen protocol in a separate socket implementation (which can
then monkey itself into the stdlib, if the application developer
wants this).
TCP Fast Open should be supported in client code directly, it's not enough to have socket() supporting it. It's not up to socket() implementation.
Server-side is pretty simple, so to say "Python supports TCP_FASTOPEN" there should be support implemented for each (or most) client libraries in stdlib, such as almost every module in http://docs.python.org/3/library/internet.html
Monkey-patching all these modules (or their connect() parts) is not very clean way, I think.
Kind regards, Yuriy.