зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1702030 - Add mitm 6.0.2 to mozproxy r=perftest-reviewers,davehunt
Differential Revision: https://phabricator.services.mozilla.com/D110299
This commit is contained in:
Родитель
9f111d5ebc
Коммит
4fe3769af8
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"filename": "mitmproxy-6.0.2-linux.tar.gz",
|
||||
"size": 73691215,
|
||||
"algorithm": "sha512",
|
||||
"digest": "e7cbcdee1eda9f7c9ea9b6c811930a7b21403f52b24a1f14030a69a4ee62dd6bf9fa5a0a9f8acc44830803da27b856f0900a09fd560b32384ab2c0e78a1d08ad",
|
||||
"visibility": "public",
|
||||
"unpack": true
|
||||
}
|
||||
]
|
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"filename": "mitmproxy-6.0.2-osx.tar.gz",
|
||||
"size": 40867811,
|
||||
"algorithm": "sha512",
|
||||
"digest": "f162e89073eb73f7cfe458d54157e31e9e6bb7ae42c262e4070d23949888630015c896de8870958e83ad9360fce6758f01813ce581cb1a3c1a8b436109d2f28d",
|
||||
"visibility": "public",
|
||||
"unpack": true
|
||||
}
|
||||
]
|
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"filename": "mitmproxy-6.0.2-windows.zip",
|
||||
"size": 36482912,
|
||||
"algorithm": "sha512",
|
||||
"digest": "242701b5090fe71526ac887843ca08a674a5b1261c21f9f8cb86d143b16b4bc50fca80b016b140a4c0fd2c6ec5819aee1e145a57b000a293fe290ba1b21bac9f",
|
||||
"visibility": "public",
|
||||
"unpack": true
|
||||
}
|
||||
]
|
|
@ -310,7 +310,7 @@ class Mitmproxy(Playback):
|
|||
"alternate-server-replay.py",
|
||||
)
|
||||
|
||||
if self.config["playback_version"] in ["4.0.4", "5.1.1"]:
|
||||
if self.config["playback_version"] in ["4.0.4", "5.1.1", "6.0.2"]:
|
||||
args = [
|
||||
"-v", # Verbose mode
|
||||
"--set",
|
||||
|
|
|
@ -126,7 +126,12 @@ class AlternateServerPlayback:
|
|||
"Recorded response is a WebSocketFlow. Removing from recording list as"
|
||||
" WebSockets are disabled"
|
||||
)
|
||||
elif i.response and self.mitm_version in ("4.0.2", "4.0.4", "5.1.1"):
|
||||
elif i.response and self.mitm_version in (
|
||||
"4.0.2",
|
||||
"4.0.4",
|
||||
"5.1.1",
|
||||
"6.0.2",
|
||||
):
|
||||
# see: https://github.com/mitmproxy/mitmproxy/issues/3856
|
||||
f = self.flowmap.setdefault(
|
||||
self._hash(i), {"flow": None, "reply_count": 0}
|
||||
|
|
Загрузка…
Ссылка в новой задаче