diff --git a/lib/session.js b/lib/session.js index 0f0d94b..d38d7e0 100644 --- a/lib/session.js +++ b/lib/session.js @@ -409,11 +409,13 @@ Incoming.prototype.process = function (session) { }; Incoming.prototype.on_begin = function (fields) { + this.next_transfer_id = fields.next_outgoing_id; this.remote_window = fields.outgoing_window; this.remote_next_transfer_id = fields.next_outgoing_id; }; Incoming.prototype.on_flow = function (fields) { + this.next_transfer_id = fields.next_outgoing_id; this.remote_next_transfer_id = fields.next_outgoing_id; this.remote_window = fields.outgoing_window; };