diff options
Diffstat (limited to 'libmproxy/protocol/http.py')
-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): |