dhruvbird/node-xmpp-bosh — comment on commit 9f0b359c4349d301a15e67d5fefc58a371b120e2
File: src/session.js line 1015
By satyamshekhar:

Ya, but why do we need a for loop? there will _always_ be just one rid < session.rid (which is the node.attrs.rid) -- since we get rid of such requests immediately.