Skip to content
Browse files

fixed next-outgoing-id in begin frame

  • Loading branch information...
1 parent 328db3e commit 2df53d527587108a830f2747e71759410dddebde @rhs committed Sep 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 session.py
View
2 session.py
@@ -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,

0 comments on commit 2df53d5

Please sign in to comment.
Something went wrong with that request. Please try again.