{"push_id":1048590807,"size":1,"distinct_size":1,"ref":"refs/heads/fix-readablestate-awaitdrain","head":"138b59d5944e404919660e25fe83c22f71688dc9","before":"51c77aa656a2a57750283a7ba9a42c8fa73956bd","commits":[{"sha":"138b59d5944e404919660e25fe83c22f71688dc9","author":{"email":"72f3153cdbbfbaaca9285b4d7d97df1c90194172@entless.org","name":"Anna Henningsen"},"message":"stream: Fix readableState.awaitDrain mechanism\n\nIn 68990948fe4 (https://github.com/nodejs/node/pull/2325),\nthe conditions for increasing `readableState.awaitDrain` when\nwriting to a piping destination return false were changed so\nthat they could not actually be met, effectively leaving\n`readableState.awaitDrain` with a constant value of 0.\n\nThis patch changes the conditions to testing whether the\nstream for which `.write()` returned false is still a piping\ndestination, which was likely the intention of the original\npatch.\n\nFixes: https://github.com/nodejs/node/issues/5820","distinct":true,"url":"https://api.github.com/repos/addaleax/node/commits/138b59d5944e404919660e25fe83c22f71688dc9"}]}