nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

Fixed websocket not reading multiple messages in one packet #160

Closed granolamatt closed 5 years ago

granolamatt commented 5 years ago

While using chrome and subscribing to multiple (64 was my case) keys in a for loop, webdis will drop requests when the requests are grouped into a single network packet. I assume that the grouping is because of Nagle's algorithm.

This pull request is my proposal to fix issue #159

nicolasff commented 5 years ago

Thanks for the pull request! Merged and tagged as webdis-0.1.6.