mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
mitmweb: Allow up to 4GB dump to be uploaded (#6373)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Maximilian Hils <github@maximilianhils.com>
This commit is contained in:
parent
dd1ee72b21
commit
37450173a1
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -97,7 +97,9 @@ class WebMaster(master.Master):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue