GoogleChromeLabs / pywebsocket3

BSD 3-Clause "New" or "Revised" License
44 stars 32 forks source link

standalone.py does not disable Nagle #7

Open ricea opened 4 years ago

ricea commented 4 years ago

Migrated from https://github.com/google/pywebsocket/issues/137.

What steps will reproduce the problem?
1. Write a handler which sends small messages every 10ms
2. Connect to it from a Windows 7 machine from Chrome or Firefox
3. Log the timestamps when the messages were received.

What is the expected output?

Messages are received individually every 10ms.

What do you see instead?

Messages are received in batches every 200ms.

Original issue reported on code.google.com by ricea@chromium.org on 22 Jan 2015 at 10:08