Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mitmweb: Allow up to 4GB dump to be uploaded #6373

Merged
merged 4 commits into from Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,8 @@

* Add support for reading HAR files using the existing flow loading APIs, e.g. `mitmproxy -r example.har`.
([#6335](https://github.com/mitmproxy/mitmproxy/pull/6335), @stanleygvi)
* Increase maximum dump file size accepted by mitmweb
([#6373](https://github.com/mitmproxy/mitmproxy/pull/6373), @t-wy)


## 04 August 2023: mitmproxy 10.0.0
Expand Down
4 changes: 3 additions & 1 deletion mitmproxy/tools/web/master.py
Expand Up @@ -97,7 +97,9 @@ async def running(self):
tornado.ioloop.IOLoop.current()

# Add our web app.
http_server = tornado.httpserver.HTTPServer(self.app)
http_server = tornado.httpserver.HTTPServer(
self.app, max_buffer_size=2**32
) # 4GB
try:
http_server.listen(self.options.web_port, self.options.web_host)
except OSError as e:
Expand Down