pubnub/pubnub-api — Issue #60: Recursive subscribe - causing stack overflow
Author: l0hn
Created: 2012-01-15 17:30:41+00:00
State: open

Hi,

The recursion in the _subscribe function seems to cause a stack overflow when left to run for long enough. Probably due to initializing the byte array inside the recursion. I have changed to use a while loop and all seems good for me now. Thought I'd let you know.

Thanks,

John.