streams2: Switch to old-mode immediately, not nextTick
authorisaacs <i@izs.me>
Wed, 5 Dec 2012 01:20:12 +0000 (17:20 -0800)
committerisaacs <i@izs.me>
Fri, 14 Dec 2012 18:52:28 +0000 (10:52 -0800)
commit42981e2aadfdf1a16218dced31e55d9f62020c4d
tree711d7fad07cc87358c418abf51d993157f11a29d
parent83704f127982cc958d0a9f702c103eb8c960f2aa
streams2: Switch to old-mode immediately, not nextTick

This fixes the CONNECT/Upgrade HTTP functionality, which was not getting
sliced properly, because readable wasn't emitted on this tick.

Conflicts:

test/simple/test-http-connect.js
lib/_stream_readable.js
test/simple/test-http-connect.js