Skip to content

Commit

Permalink
Fix handling of next_incoming_id
Browse files Browse the repository at this point in the history
  • Loading branch information
grs committed Sep 19, 2024
1 parent 8fa5eb5 commit 700cf8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 700cf8d

Please sign in to comment.