src: Revert "nix stdin _readableState.reading"
authorRoman Reiss <me@silverwind.io>
Mon, 26 Oct 2015 12:30:54 +0000 (13:30 +0100)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commit946fe6158b8b63120c09b5c9c2ba2eef411c447c
tree0f5a9d6581bb28d4ab47ec383681b56621f4c367
parentb21355916487abbbde6c807c968d0399f16c8e3d
src: Revert "nix stdin _readableState.reading"

This reverts 8cee8f5 which was causing stdin to behave strangely on
Windows 8 and 10. The suspected explanation for the issue is that there
might be a race condition occuring when stdin._readableState.reading is
set indirectly through `push('')`.

PR-URL: https://github.com/nodejs/node/pull/3490
Fixes: https://github.com/nodejs/node/issues/2996
Fixes: https://github.com/nodejs/node/issues/2504
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
src/node.js