Fix data/greeting race condition (w/testcase). #7

Closed
wants to merge 1 commit into from

2 participants

@niallsmart

The greeting event will not be seen by a client if the first data event on the stream arrives before the client starts listening.

This bug is easily reproducible (for example, set a timeout before listening to 'greeting'). Patch includes testcase.

@substack
Owner

Sorry for sitting on this so long! Merged in 2.2.1.

@substack substack closed this Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment