stevegraham/slanger — Issue #10: subscribe payload won't go after 127 chars
Author: masterkain
Created: 2011-12-30 18:12:37+00:00
State: open

having a long channel name increases the chances to hit the apparent 127 chars limit.

Public channel name "my_channelmy_channelmy_channelmy_channelmy_channelmy_channelmy_channelmy_chan" works:

[[:receive_data,
"\x81\xFE\x00\x7F0\xF9IUK\xDB,#U\x97=w\n\xDB9 C\x91,'\n\x8A<7C\x9A;-\xC9D3 \xC4G$\x1A\xCBB<+\xC6O1(\xD1u>-\xC9D3 \xC4G$\x1A\xCBB<+\xC6O1(\xD1u>-\xC9D3 \xC4G$\x1A\xCBB<+\xC6O1(\xD1u>-\xC9D.g\xD5W"]]

[[:buffer_incomplete,
"\x81\xFE\x00\x80]E\xA8*&g\xCD\\8+\xDC\bgg\xD8_.-\xCDXg6\xDDH.&\xDAC? \x8A\x06\x7F!\xC9^-\xC9D3 \xC4G$\x1A\xCBB<+\xC6O1(\xD1u>-\xC9D3 \xC4G$\x1A\xCBB<+\xC6O1(\xD1u>-\xC9D3 \xC4G$\x1A\xCBB<+\xC6O1(\xD1u>-\xC9D.g\xD5W"]]

browser <-> em-websocket connection remains open, though slanger won't be able to subscribe to redis.