Skip to content

Commit

Permalink
fixed next-outgoing-id in begin frame
Browse files Browse the repository at this point in the history
  • Loading branch information
rhs committed Sep 26, 2011
1 parent 328db3e commit 2df53d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def begin(self):
raise SessionError("already begun")
self.begin_sent = True
self.post_frame(Begin(remote_channel = self.remote_channel,
next_outgoing_id = self.outgoing.transfer_count + 1,
next_outgoing_id = self.outgoing.unsettled_hwm + 1,
incoming_window = self.incoming.window,
outgoing_window = 65536, # this should NOT be self.outgoing.window
handle_max = 2147483647,
Expand Down

0 comments on commit 2df53d5

Please sign in to comment.