Permalink
Browse files

successfully parsing a frame!

  • Loading branch information...
1 parent 9b3343b commit 3fa163742e744396ffa32803c89892c58bf3ee85 @colinmarc committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 python-spdy/connection.py
@@ -33,7 +33,7 @@ def incoming(self, chunk):
self.input_buffer += chunk
def get_frame(self):
- bytes_parsed, frame = self._parse_frame(self.input_buffer)
+ frame, bytes_parsed = self._parse_frame(self.input_buffer)
if bytes_parsed:
self.input_buffer = self.input_buffer[bytes_parsed:]
return frame

0 comments on commit 3fa1637

Please sign in to comment.