Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Use SIO_LOOPBACK_FAST_PATH #912

Closed
huguesv opened this issue Oct 12, 2018 · 0 comments
Closed

Use SIO_LOOPBACK_FAST_PATH #912

huguesv opened this issue Oct 12, 2018 · 0 comments

Comments

@huguesv
Copy link
Contributor

huguesv commented Oct 12, 2018

Python 3.6 adds the SIO_LOOPBACK_FAST_PATH flag for sockets, which dramatically increases the bandwidth for loopback connections (I got >4x on my machine with the test code on the linked issue).

We should enable this flag where possible in our debugger. The functionality has existed since Windows 8, but using it on earlier OSs may cause an exception. It is safe to use if the socket eventually gets a connection from another IP.

Moved from microsoft/PTVS#1350

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants