Skip to content

Commit 6430e7f

Browse files
authored
inspector: add comment about flowing mode
1 parent c1a3ef9 commit 6430e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/inspector/network_http2.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ function onClientStreamFinish({ stream, headers }) {
210210
},
211211
});
212212

213+
// Unlike stream.on('data', ...), this does not put the stream into flowing mode.
213214
EventEmitter.prototype.on.call(stream, 'data', (chunk) => {
214215
/**
215216
* When a chunk of the response body has been received, cache it until `getResponseBody` request

0 commit comments

Comments
 (0)