Skip to content

Commit fdf5538

Browse files
committed
Initialize _canPush to false in readable streams
1 parent d572c59 commit fdf5538

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/streams.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function InputStream() {
3838
stream.Readable.call(this);
3939

4040
this._buffer = [];
41-
this._canPush = true;
41+
this._canPush = false;
4242
}
4343
util.inherits(InputStream, stream.Readable);
4444

@@ -148,7 +148,7 @@ function IOStream(conn, id, recordType) {
148148
this.recordType = recordType || fcgi.records.StdOut;
149149

150150
this._buffer = [];
151-
this._canPush = true;
151+
this._canPush = false;
152152

153153
this._conn = conn;
154154
this._id = id;

0 commit comments

Comments
 (0)