diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-14 19:14:05 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-02-04 09:52:01 +0100 |
commit | 986e30fb19dbe97a72540b2849312032a92976f0 (patch) | |
tree | b091892948efba58cd0124c5348bcb98029a1c66 /libmproxy | |
parent | 9e619742887f686aec1059283316ed389443cdf3 (diff) | |
download | mitmproxy-986e30fb19dbe97a72540b2849312032a92976f0.tar.gz mitmproxy-986e30fb19dbe97a72540b2849312032a92976f0.tar.bz2 mitmproxy-986e30fb19dbe97a72540b2849312032a92976f0.zip |
add todo note
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/protocol/http.py | 2 |
1 files changed, 2 insertions, 0 deletions
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): |