nicolasff / webdis

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

Multiple browser tabs can't subscribe to same channel #100

Open adamthehutt opened 10 years ago

adamthehutt commented 10 years ago

Hi,

It appears that if multiple tabs in the same browser window attempt to subscribe to the same pubsub channel that the first one to successfully subscribe blocks the others from doing so. The second HTTP request never actually completes.

If I try to connect to the same channel from two different browsers, or two different channels from the same window, then it works just fine.

I haven't been able to test this using websockets; the above experience is using the chunked transfer encoding model.

UPDATE: This does not seem to be a problem with the websockets approach.

Any advice?

Thanks, Adam

penguinpowernz commented 9 years ago

+1 I am getting the same problem... really weird...