troygoode/node-cors — pull request #19 by tellnes (2014-06-01 10:53:18+00:00)
Title: don't miss data events

As @Floby has described in #6, should `req.pause()` and `req.resume()` not be called.

In node <0.10 these methods is only advisory which make the solution unreliable.

In node >=0.10 streams are paused by default and calling `req.resume()` triggers old mode which starts emitting events.