From 986e30fb19dbe97a72540b2849312032a92976f0 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Thu, 14 Jan 2016 19:14:05 +0100 Subject: add todo note --- libmproxy/protocol/http.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmproxy') diff --git a/libmproxy/protocol/http.py b/libmproxy/protocol/http.py index 7ea5f57d..17ddd5dc 100644 --- a/libmproxy/protocol/http.py +++ b/libmproxy/protocol/http.py @@ -173,6 +173,8 @@ class SafeH2Connection(H2Connection): self.conn.send(self.data_to_send()) def safe_send_body(self, stream_id, chunks): + # TODO: this assumes the MAX_FRAME_SIZE does not change in the middle + # of a transfer - it could though. Then we need to re-chunk everything. for chunk in chunks: max_outbound_frame_size = self.max_outbound_frame_size for i in xrange(0, len(chunk), max_outbound_frame_size): -- cgit v1.2.3