From 700cf8d11b6510706bc79460f889a5a0dbd91a0c Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 19 Sep 2024 20:42:41 +0100 Subject: [PATCH] Fix handling of next_incoming_id --- lib/session.js | 2 ++ 1 file changed, 2 insertions(+) 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; };