[Python-ideas] TCP Fast Open protocol

Yuriy Taraday yorik.sar at gmail.com
Fri Jan 11 21:03:51 CET 2013


On Fri, Jan 11, 2013 at 6:02 PM, M.-A. Lemburg <mal at egenix.com> wrote:

> That said, it may be useful to have a PyPI package which implements
> the 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130112/4d88329d/attachment.html>


More information about the Python-ideas mailing list