sandstorm-io/sandstorm — pull request #176 by dwrensha (2014-12-08 06:38:05+00:00)
Title: subscribe to sessions by sessionId

One annoying thing about #175 is that new sessions require two round trips to the server, because there's no simple way to pipeline the "openSession" and the "subscribe" calls. To get it back down to a single round trip, I think we would essentially need to reintroduce the "session-" entries that I had been so happy to eliminate.

This patch is a rather more conservative fix for #172. Right now I favor it over #175, but I welcome comments on either.