Commit Graph

10770 Commits

Author SHA1 Message Date
Sujal Singh
2d68a5246a
remove hard coded default window size for HTTP/2 connections. (#7333)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13) (push) Has been cancelled
CI / test (windows-latest, 3.13) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-13, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
2024-11-18 09:54:14 +00:00
Sujal Singh
fd346055b7
Increase HTTP/2 default flow control window. (#7317)
* increase default flow control window

* fix tests

* fix test

* update changelog

* [autofix.ci] apply automated fixes

* simpler way to override default settings

* acknowledge settings

* document hyper-h2 workaround

* quote RFC

* [autofix.ci] apply automated fixes

* increase MAX_FRAME_SIZE

* update comment

* max out initial window size

* [autofix.ci] apply automated fixes

* increment connection control window

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2024-11-18 09:26:07 +00:00
dependabot[bot]
0d069552e7
Update hypothesis requirement from <=6.116.0,>=6.104.2 to >=6.104.2,<=6.119.3 in the pytest group (#7328)
Update hypothesis requirement in the pytest group

Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) to permit the latest version.

Updates `hypothesis` to 6.119.3
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.119.3)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 09:23:45 +00:00
dependabot[bot]
5266bfd483
Bump the pyinstaller group with 2 updates (#7329)
Bumps the pyinstaller group with 2 updates: [pyinstaller](https://github.com/pyinstaller/pyinstaller) and [pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib).


Updates `pyinstaller` from 6.11.0 to 6.11.1
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.11.0...v6.11.1)

Updates `pyinstaller-hooks-contrib` from 2024.9 to 2024.10
- [Release notes](https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller-hooks-contrib/compare/v2024.9...v2024.10)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pyinstaller
- dependency-name: pyinstaller-hooks-contrib
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pyinstaller
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 09:23:33 +00:00
dependabot[bot]
06d889d173
Update flask requirement from <=3.0.3,>=3.0 to >=3.0,<=3.1.0 (#7330)
Updates the requirements on [flask](https://github.com/pallets/flask) to permit the latest version.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/3.0.0...3.1.0)

---
updated-dependencies:
- dependency-name: flask
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 09:23:04 +00:00
dependabot[bot]
d2f87bf151
Update wheel requirement from <=0.44.0,>=0.36.2 to >=0.36.2,<=0.45.0 (#7331)
Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.36.2...0.45.0)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 09:22:55 +00:00
dependabot[bot]
3088bf04f4
Update ruff requirement from <=0.7.2,>=0.5.0 to >=0.5.0,<=0.7.4 (#7332)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.7.4)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-18 09:22:28 +00:00
Matthew Leather
02c1487d54
Remove dependency on protobuf library (#7327)
Some checks are pending
autofix.ci / autofix (push) Waiting to run
CI / lint (push) Waiting to run
CI / filename-matching (push) Waiting to run
CI / mypy (push) Waiting to run
CI / individual-coverage (push) Waiting to run
CI / test (macos-latest, 3.13) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13) (push) Waiting to run
CI / test (windows-latest, 3.13) (push) Waiting to run
CI / test-old-dependencies (push) Waiting to run
CI / build (macos-13, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (ubuntu-20.04, linux) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-wheel (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / test-web-ui (push) Waiting to run
CI / test-docker (push) Blocked by required conditions
CI / docs (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
* Remove dependency on protobuf (no longer needed)

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-17 17:29:02 +00:00
8192bytes
bdeeb52911
Proper error handling for corrupted compressed body (#7320)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13) (push) Has been cancelled
CI / test (windows-latest, 3.13) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-13, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
* Proper error handling for corrupted compressed body

* [autofix.ci] apply automated fixes

* Proper error handling for corrupted compressed body

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-11-14 17:03:26 +01:00
dependabot[bot]
e1f6e2c812
Bump the mypy group with 2 updates (#7291)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13) (push) Has been cancelled
CI / test (windows-latest, 3.13) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-13, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  dependency-group: mypy
- dependency-name: types-requests
  dependency-type: direct:production
  dependency-group: mypy
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 11:37:18 +00:00
dependabot[bot]
b29b677b19
Update build requirement from <=1.2.2,>=0.10.0 to >=0.10.0,<=1.2.2.post1 (#7294)
Some checks are pending
autofix.ci / autofix (push) Waiting to run
CI / lint (push) Waiting to run
CI / filename-matching (push) Waiting to run
CI / mypy (push) Waiting to run
CI / individual-coverage (push) Waiting to run
CI / test (macos-latest, 3.13) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13) (push) Waiting to run
CI / test (windows-latest, 3.13) (push) Waiting to run
CI / test-old-dependencies (push) Waiting to run
CI / build (macos-13, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (ubuntu-20.04, linux) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-wheel (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / test-web-ui (push) Waiting to run
CI / test-docker (push) Blocked by required conditions
CI / docs (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
Updates the requirements on [build](https://github.com/pypa/build) to permit the latest version.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/0.10.0...1.2.2.post1)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:18:23 +00:00
dependabot[bot]
5ee96f81fb
Bump the pytest group with 2 updates (#7289)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) and [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.

Updates `hypothesis` to 6.116.0
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.116.0)

Updates `pytest-cov` to 6.0.0
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  dependency-group: pytest
- dependency-name: pytest-cov
  dependency-type: direct:production
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:14:52 +00:00
dependabot[bot]
723d6752d7
Bump the pyinstaller group with 2 updates (#7290)
Bumps the pyinstaller group with 2 updates: [pyinstaller](https://github.com/pyinstaller/pyinstaller) and [pyinstaller-hooks-contrib](https://github.com/pyinstaller/pyinstaller-hooks-contrib).


Updates `pyinstaller` from 6.10.0 to 6.11.0
- [Release notes](https://github.com/pyinstaller/pyinstaller/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller/blob/develop/doc/CHANGES.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller/compare/v6.10.0...v6.11.0)

Updates `pyinstaller-hooks-contrib` from 2024.8 to 2024.9
- [Release notes](https://github.com/pyinstaller/pyinstaller-hooks-contrib/releases)
- [Changelog](https://github.com/pyinstaller/pyinstaller-hooks-contrib/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyinstaller/pyinstaller-hooks-contrib/compare/v2024.8...v2024.9)

---
updated-dependencies:
- dependency-name: pyinstaller
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pyinstaller
- dependency-name: pyinstaller-hooks-contrib
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pyinstaller
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:14:41 +00:00
dependabot[bot]
4cef2b60c2
Update pyparsing requirement from <=3.1.4,>=2.4.2 to >=2.4.2,<=3.2.0 (#7293)
Updates the requirements on [pyparsing](https://github.com/pyparsing/pyparsing) to permit the latest version.
- [Release notes](https://github.com/pyparsing/pyparsing/releases)
- [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES)
- [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_2.4.2...3.2.0)

---
updated-dependencies:
- dependency-name: pyparsing
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:14:36 +00:00
dependabot[bot]
a10a46ed25
Update pdoc requirement from <=14.7.0,>=14.5.1 to >=14.5.1,<=15.0.0 (#7292)
Updates the requirements on [pdoc](https://github.com/mitmproxy/pdoc) to permit the latest version.
- [Changelog](https://github.com/mitmproxy/pdoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitmproxy/pdoc/compare/v14.5.1...v15)

---
updated-dependencies:
- dependency-name: pdoc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 00:00:45 +01:00
dependabot[bot]
e351dab10d
Update ruff requirement from <=0.6.8,>=0.5.0 to >=0.5.0,<=0.7.2 (#7295)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.7.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-02 00:00:29 +01:00
dependabot[bot]
d0832bb0b7
Update urwid requirement from <=2.6.15,>=2.6.14 to >=2.6.14,<=2.6.16 (#7296)
Updates the requirements on [urwid](https://github.com/urwid/urwid) to permit the latest version.
- [Release notes](https://github.com/urwid/urwid/releases)
- [Changelog](https://github.com/urwid/urwid/blob/master/docs/changelog.rst)
- [Commits](https://github.com/urwid/urwid/compare/2.6.14...2.6.16)

---
updated-dependencies:
- dependency-name: urwid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:58:48 +01:00
dependabot[bot]
aec6e0cede
Update protobuf requirement from <=5.28.2,>=5.27.2 to >=5.27.2,<=5.28.3 (#7297)
Updates the requirements on [protobuf](https://github.com/protocolbuffers/protobuf) to permit the latest version.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.2...v5.28.3)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:56:52 +01:00
dependabot[bot]
5637ffed07
Update tox requirement from <=4.21.0,>=4.15.1 to >=4.15.1,<=4.23.2 (#7298)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.1...4.23.2)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:56:38 +01:00
dependabot[bot]
bf85276752
Bump the github-actions group with 2 updates (#7299)
Bumps the github-actions group with 2 updates: [mhils/workflows](https://github.com/mhils/workflows) and [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action).


Updates `mhils/workflows` from 10 to 11
- [Release notes](https://github.com/mhils/workflows/releases)
- [Commits](https://github.com/mhils/workflows/compare/v10...v11)

Updates `docker/setup-buildx-action` from 3.6.1 to 3.7.1
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](988b5a0280...c47758b77c)

---
updated-dependencies:
- dependency-name: mhils/workflows
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 23:56:22 +01:00
lukant
c10ff719f7
Fix interaction of modifyheaders addon with stream_large_bodies option (#7286)
Some checks are pending
autofix.ci / autofix (push) Waiting to run
CI / lint (push) Waiting to run
CI / filename-matching (push) Waiting to run
CI / mypy (push) Waiting to run
CI / individual-coverage (push) Waiting to run
CI / test (macos-latest, 3.13) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13) (push) Waiting to run
CI / test (windows-latest, 3.13) (push) Waiting to run
CI / test-old-dependencies (push) Waiting to run
CI / build (macos-13, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (ubuntu-20.04, linux) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-wheel (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / test-web-ui (push) Waiting to run
CI / test-docker (push) Blocked by required conditions
CI / docs (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
* Fix interaction of modifyheaders addon with stream_large_bodies option

`modifyheaders` addon uses `request` and `response` hooks which, when
`stream_large_bodies` is enabled, are called after headers have already
been sent and can no longer be modified.

This commit changes `modifyheaders` addon to use
`requestheaders` and `responseheaders` hooks.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-31 22:08:17 +00:00
Maximilian Hils
69f455b962
Add tun proxy mode on Linux (#7278)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13) (push) Has been cancelled
CI / test (windows-latest, 3.13) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-13, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
* simplify stream handling callback

* add `tun` proxy mode from mitmproxy_rs

* tun mode: tests++

* [autofix.ci] apply automated fixes

* bump mitmproxy_rs

* fix bugs

* ci: use macOS 13 for builds as 12 is being phased out

* test debugging

* bump mitmproxy_rs

* bump python version in ci, 3.13 is stable now

* nits

* is unshare to blame?

* how about this?

* coverage++

* [autofix.ci] apply automated fixes

* debüg

* debüüg

* debüüüg

* bump mitmproxy_rs

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-29 02:34:39 +05:30
Alexander
cf362f2e85
Add 422 Unprocessable Content to status codes (#7270)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13-dev) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13-dev) (push) Has been cancelled
CI / test (windows-latest, 3.13-dev) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-12, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
2024-10-23 10:41:44 +02:00
Sujal Singh
ae882ffb00
Add support for starting a preconfigured Firefox instance via browser.start command. (#7239)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13-dev) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13-dev) (push) Has been cancelled
CI / test (windows-latest, 3.13-dev) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-12, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
* add firefox linux support

* [autofix.ci] apply automated fixes

* fix nits

* add MacOS search path

* remove unnecessary import

support for version 3.9 and below was dropped

* fix tests

* coverage

* add windows search path

* changelog

* [autofix.ci] apply automated fixes

* handle case for invalid browser name

* remove socks and ftp

* remove popup

* reduce telemetry

* remove default bookmarks

* [autofix.ci] apply automated fixes

* reduce telemetry

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-19 12:45:51 +02:00
Matteo Luppi
c346f038f8
web: arbitrary strings in local mode (#7257)
Some checks are pending
autofix.ci / autofix (push) Waiting to run
CI / lint (push) Waiting to run
CI / filename-matching (push) Waiting to run
CI / mypy (push) Waiting to run
CI / individual-coverage (push) Waiting to run
CI / test (macos-latest, 3.13-dev) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13-dev) (push) Waiting to run
CI / test (windows-latest, 3.13-dev) (push) Waiting to run
CI / test-old-dependencies (push) Waiting to run
CI / build (macos-12, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (ubuntu-20.04, linux) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-wheel (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / test-web-ui (push) Waiting to run
CI / test-docker (push) Blocked by required conditions
CI / docs (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
* add regex to handle commas

* add arbitrary strings in local mode

* adjust no result string
2024-10-18 18:29:44 +02:00
Alexander Prinzhorn
8ef97b1f67
docs: fix admonition (#7249)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13-dev) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13-dev) (push) Has been cancelled
CI / test (windows-latest, 3.13-dev) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-12, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
* Update _hooks.py

* use new GitHub markdown syntax for admonitions

* Update _hooks.py

---------

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2024-10-15 11:55:09 +00:00
Matteo Luppi
96a1b934be
Display Grayed-Out Mode for Unsupported Platforms (#7244)
Some checks are pending
autofix.ci / autofix (push) Waiting to run
CI / lint (push) Waiting to run
CI / filename-matching (push) Waiting to run
CI / mypy (push) Waiting to run
CI / individual-coverage (push) Waiting to run
CI / test (macos-latest, 3.13-dev) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13-dev) (push) Waiting to run
CI / test (windows-latest, 3.13-dev) (push) Waiting to run
CI / test-old-dependencies (push) Waiting to run
CI / build (macos-12, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (ubuntu-20.04, linux) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-wheel (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / test-web-ui (push) Waiting to run
CI / test-docker (push) Blocked by required conditions
CI / docs (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
add missing mode component
2024-10-14 23:11:33 +02:00
Maximilian Hils
93649e8baf
Set @SECLEVEL=0 if old TLS versions are requested (#7241)
* set `@SECLEVEL=0` if old TLS versions are requested

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-14 19:45:48 +02:00
Maximilian Hils
99aa0a70af
Docker: use latest python and debian (#7242)
Some checks are pending
autofix.ci / autofix (push) Waiting to run
CI / lint (push) Waiting to run
CI / filename-matching (push) Waiting to run
CI / mypy (push) Waiting to run
CI / individual-coverage (push) Waiting to run
CI / test (macos-latest, 3.13-dev) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13-dev) (push) Waiting to run
CI / test (windows-latest, 3.13-dev) (push) Waiting to run
CI / test-old-dependencies (push) Waiting to run
CI / build (macos-12, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (ubuntu-20.04, linux) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-wheel (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / test-web-ui (push) Waiting to run
CI / test-docker (push) Blocked by required conditions
CI / docs (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
* docker: use latest python and debian

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-13 18:21:57 +02:00
Patrick Martin
489dd77dbe
Remove Apple Silicon note (#7234)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13-dev) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13-dev) (push) Has been cancelled
CI / test (windows-latest, 3.13-dev) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-12, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
2024-10-11 00:44:07 +02:00
Fata Nugraha
af88265f5c
Improve HTTP detection heuristic (#7228)
Some checks failed
autofix.ci / autofix (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / filename-matching (push) Has been cancelled
CI / mypy (push) Has been cancelled
CI / individual-coverage (push) Has been cancelled
CI / test (macos-latest, 3.13-dev) (push) Has been cancelled
CI / test (ubuntu-latest, 3.10) (push) Has been cancelled
CI / test (ubuntu-latest, 3.11) (push) Has been cancelled
CI / test (ubuntu-latest, 3.12) (push) Has been cancelled
CI / test (ubuntu-latest, 3.13-dev) (push) Has been cancelled
CI / test (windows-latest, 3.13-dev) (push) Has been cancelled
CI / test-old-dependencies (push) Has been cancelled
CI / build (macos-12, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (ubuntu-20.04, linux) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-wheel (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / test-web-ui (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / test-docker (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
* Improve HTTP checking heuristic

* fix changelog

* Fix checking

* [autofix.ci] apply automated fixes

* simplify condition

---------

Co-authored-by: Fata Nugraha <fata.nugraha@grabtaxi.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2024-10-04 15:22:26 +00:00
mitmproxy release bot
870dd03b17 reopen main for development
Some checks are pending
autofix.ci / autofix (push) Waiting to run
CI / lint (push) Waiting to run
CI / filename-matching (push) Waiting to run
CI / mypy (push) Waiting to run
CI / individual-coverage (push) Waiting to run
CI / test (macos-latest, 3.13-dev) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13-dev) (push) Waiting to run
CI / test (windows-latest, 3.13-dev) (push) Waiting to run
CI / test-old-dependencies (push) Waiting to run
CI / build (macos-12, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (ubuntu-20.04, linux) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-wheel (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / test-web-ui (push) Waiting to run
CI / test-docker (push) Blocked by required conditions
CI / docs (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
2024-10-02 17:14:17 +00:00
mitmproxy release bot
f87ec22359 mitmproxy 11.0.0 2024-10-02 17:14:17 +00:00
Maximilian Hils
d12481215f refine changelog 2024-10-02 13:04:48 -04:00
dependabot[bot]
4de96cb095
Update pdoc requirement from <=14.6.1,>=14.5.1 to >=14.5.1,<=14.7.0 (#7222)
Updates the requirements on [pdoc](https://github.com/mitmproxy/pdoc) to permit the latest version.
- [Changelog](https://github.com/mitmproxy/pdoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mitmproxy/pdoc/compare/v14.5.1...v14.7)

---
updated-dependencies:
- dependency-name: pdoc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 13:23:16 +00:00
dependabot[bot]
dc8288ca95
Update protobuf requirement from <=5.28.0,>=5.27.2 to >=5.27.2,<=5.28.2 (#7224)
Updates the requirements on [protobuf](https://github.com/protocolbuffers/protobuf) to permit the latest version.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v5.27.2...v5.28.2)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 13:21:44 +00:00
dependabot[bot]
357c9c57a4
Update build requirement from <=1.2.1,>=0.10.0 to >=0.10.0,<=1.2.2 (#7219)
Updates the requirements on [build](https://github.com/pypa/build) to permit the latest version.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/0.10.0...1.2.2)

---
updated-dependencies:
- dependency-name: build
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:52 -04:00
dependabot[bot]
58daf8d6c3
Update ruff requirement from <=0.6.3,>=0.5.0 to >=0.5.0,<=0.6.8 (#7220)
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.6.8)

---
updated-dependencies:
- dependency-name: ruff
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:46 -04:00
dependabot[bot]
1884a24d9f
Update msgpack requirement from <=1.0.8,>=1.0.0 to >=1.0.0,<=1.1.0 (#7221)
Updates the requirements on [msgpack](https://github.com/msgpack/msgpack-python) to permit the latest version.
- [Release notes](https://github.com/msgpack/msgpack-python/releases)
- [Changelog](https://github.com/msgpack/msgpack-python/blob/main/ChangeLog.rst)
- [Commits](https://github.com/msgpack/msgpack-python/compare/v1.0.0...v1.1.0)

---
updated-dependencies:
- dependency-name: msgpack
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:39 -04:00
dependabot[bot]
dc4087790a
Update tox requirement from <=4.18.0,>=4.15.1 to >=4.15.1,<=4.21.0 (#7223)
Updates the requirements on [tox](https://github.com/tox-dev/tox) to permit the latest version.
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.15.1...4.21.0)

---
updated-dependencies:
- dependency-name: tox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:11:23 -04:00
dependabot[bot]
b28a0bfa46
Update types-requests requirement from <=2.32.0.20240712,>=2.32.0.20240622 to >=2.32.0.20240622,<=2.32.0.20240914 in the mypy group (#7218)
Update types-requests requirement in the mypy group

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:production
  dependency-group: mypy
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:10:59 -04:00
dependabot[bot]
2af79e0819
Bump the pytest group with 2 updates (#7217)
Updates the requirements on [hypothesis](https://github.com/HypothesisWorks/hypothesis) and [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.

Updates `hypothesis` to 6.112.2
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.112.2)

Updates `pytest` to 8.3.3
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.2.2...8.3.3)

---
updated-dependencies:
- dependency-name: hypothesis
  dependency-type: direct:production
  dependency-group: pytest
- dependency-name: pytest
  dependency-type: direct:production
  dependency-group: pytest
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:10:50 -04:00
dependabot[bot]
a18902481b
Bump docker/build-push-action from 6.7.0 to 6.9.0 in the github-actions group (#7216)
Bump docker/build-push-action in the github-actions group

Bumps the github-actions group with 1 update: [docker/build-push-action](https://github.com/docker/build-push-action).


Updates `docker/build-push-action` from 6.7.0 to 6.9.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](5cd11c3a4c...4f58ea7922)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:10:39 -04:00
Nicolai Søborg
a44191a9b1
Add --show-ignored-hosts (#6720)
* Add `--show-ignored-hosts`

Maybe a bit counterintuitive, but mitmproxy is very nice even without
the MITM part.  When doing `--ignore-hosts '.*'` it is not possible to
see SNI's, so add new flag to show the raw TCP/UDP streams.

Fixes #6421

* Add tests for `--show-ignored-hosts`

* Changelog for `--show-ignored-hosts`

* [autofix.ci] apply automated fixes

* fixups

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <github@maximilianhils.com>
2024-10-01 15:28:28 +00:00
Rūdolfs Bundulis
72a0448566
Propogate end_stream from downstream http/2 requests (#7196)
* Propogate end_stream from downstream http/2 requests

* [autofix.ci] apply automated fixes

* add test, simply patch
*) add test to check if end_stream is propogated on request / response
*) simplify the patch

* [autofix.ci] apply automated fixes

* fix linting in is_websocket

* adjust websocket test

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2024-09-30 18:49:25 +00:00
Matteo Luppi
e1ea491ad7
expose available web columns to Python (#7205)
Some checks failed
autofix.ci / autofix (push) Failing after 1s
CI / lint (push) Failing after 1s
CI / filename-matching (push) Failing after 0s
CI / mypy (push) Failing after 0s
CI / individual-coverage (push) Failing after 0s
CI / test (ubuntu-latest, 3.10) (push) Failing after 0s
CI / test (ubuntu-latest, 3.11) (push) Failing after 0s
CI / test (ubuntu-latest, 3.12) (push) Failing after 0s
CI / test (ubuntu-latest, 3.13-dev) (push) Failing after 0s
CI / test-old-dependencies (push) Failing after 0s
CI / build (ubuntu-20.04, linux) (push) Failing after 0s
CI / build-wheel (push) Failing after 0s
CI / test-docker (push) Has been skipped
CI / test-web-ui (push) Failing after 0s
CI / docs (push) Failing after 0s
CI / test (macos-latest, 3.13-dev) (push) Has been cancelled
CI / test (windows-latest, 3.13-dev) (push) Has been cancelled
CI / build (macos-12, macos-x86_64) (push) Has been cancelled
CI / build (macos-14, macos-arm64) (push) Has been cancelled
CI / build (windows-2019, windows) (push) Has been cancelled
CI / build-windows-installer (push) Has been cancelled
CI / check (push) Has been cancelled
CI / deploy-docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
* add script to generate all possible web columns

* remove test for now

* Make web_columns.py executable

* [autofix.ci] apply automated fixes

* add back tests

* [autofix.ci] apply automated fixes

* update changelog

* update changelog and add coauthor

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Abhishek-Bohora <abhishek.bohora16@gmail.com>
2024-09-22 19:21:41 +02:00
kennytm
48c096ff13
allow custom content view to refer to the current websocket message (#7204) 2024-09-22 19:20:09 +02:00
Maximilian Hils
badb2e52dd
ruff: make mitmproxy_rs first party (#7203)
Some checks failed
CI / test (macos-latest, 3.13-dev) (push) Waiting to run
CI / test (windows-latest, 3.13-dev) (push) Waiting to run
CI / build (macos-12, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
autofix.ci / autofix (push) Failing after 0s
CI / lint (push) Failing after 0s
CI / filename-matching (push) Failing after 0s
CI / mypy (push) Failing after 0s
CI / individual-coverage (push) Failing after 0s
CI / test (ubuntu-latest, 3.10) (push) Failing after 0s
CI / test (ubuntu-latest, 3.11) (push) Failing after 0s
CI / test (ubuntu-latest, 3.12) (push) Failing after 0s
CI / test (ubuntu-latest, 3.13-dev) (push) Failing after 0s
CI / test-old-dependencies (push) Failing after 0s
CI / build (ubuntu-20.04, linux) (push) Failing after 0s
CI / build-wheel (push) Failing after 0s
CI / test-docker (push) Has been skipped
CI / test-web-ui (push) Failing after 0s
CI / docs (push) Failing after 0s
2024-09-22 07:27:00 +02:00
Maximilian Hils
f8b742753b
Enable HTTP/3 in transparent mode by default (#7202)
Some checks failed
CI / test (macos-latest, 3.13-dev) (push) Waiting to run
CI / test (windows-latest, 3.13-dev) (push) Waiting to run
CI / build (macos-12, macos-x86_64) (push) Waiting to run
CI / build (macos-14, macos-arm64) (push) Waiting to run
CI / build (windows-2019, windows) (push) Waiting to run
CI / build-windows-installer (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / deploy-docker (push) Blocked by required conditions
CI / deploy (push) Blocked by required conditions
autofix.ci / autofix (push) Failing after 0s
CI / lint (push) Failing after 0s
CI / filename-matching (push) Failing after 0s
CI / mypy (push) Failing after 0s
CI / individual-coverage (push) Failing after 0s
CI / test (ubuntu-latest, 3.10) (push) Failing after 0s
CI / test (ubuntu-latest, 3.11) (push) Failing after 0s
CI / test (ubuntu-latest, 3.12) (push) Failing after 0s
CI / test (ubuntu-latest, 3.13-dev) (push) Failing after 0s
CI / test-old-dependencies (push) Failing after 0s
CI / build (ubuntu-20.04, linux) (push) Failing after 0s
CI / build-wheel (push) Failing after 0s
CI / test-docker (push) Has been skipped
CI / test-web-ui (push) Failing after 0s
CI / docs (push) Failing after 0s
* fixup raw quic handling

* enable HTTP/3 in transparent mode by default

* fix nits
2024-09-21 14:29:31 +00:00
Maximilian Hils
358fca3e72
tls_version: QUIC -> QUICv1 (#7201)
* tls_version: QUIC -> QUICv1

this aligns us with what OpenSSL is returning

* tests: add quic dumpfile
2024-09-21 16:22:09 +02:00