Treat closing unknown streams as a warning.

This commit is contained in:
Juliusz Chroboczek
2021-07-16 23:10:13 +02:00
parent 7b4fd8932c
commit b9c1968b48
+1 -1
View File
@@ -779,7 +779,7 @@ ServerConnection.prototype.gotRenegotiate = function(id) {
ServerConnection.prototype.gotClose = function(id) { ServerConnection.prototype.gotClose = function(id) {
let c = this.down[id]; let c = this.down[id];
if(!c) if(!c)
throw new Error('unknown down stream'); console.warn('unknown down stream', id);
c.close(); c.close();
}; };