Skip to content

Commit 5421660

Browse files
authored
Update connection.js
1 parent 9e81bd5 commit 5421660

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/protocol/connection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ priority_loop:
311311
while (bucket.length > 0) {
312312
for (var index = 0; index < bucket.length; index++) {
313313
var stream = bucket[index];
314+
if(!stream || !stream.upstream) continue;
314315
var frame = stream.upstream.read((this._window > 0) ? this._window : -1);
315316

316317
if (!frame) {

0 commit comments

Comments
 (0)