crash_server: Fix assertion when downloading files with larger chunk sizes

This commit is contained in:
Marshall Greenblatt 2022-03-18 15:08:01 -04:00
parent c38d62b233
commit 1eab4322f8
1 changed files with 0 additions and 1 deletions

View File

@ -175,7 +175,6 @@ class CrashHTTPRequestHandler(BaseHTTPRequestHandler):
size_str += self.rfile.read(1)
# Remove the trailing "\r\n".
size_str = size_str[:-2]
assert len(size_str) <= 4
return int(size_str, 16)
def _get_chunk_data(self, chunk_size):