mitmproxy-linux 0.12.0__tar.gz → 0.12.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/CHANGELOG.md +4 -0
  2. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/CONTRIBUTING.md +1 -3
  3. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/Cargo.lock +69 -89
  4. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/Cargo.toml +1 -1
  5. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/PKG-INFO +1 -1
  6. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/version-info.toml +1 -1
  7. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/packet_sources/macos.rs +3 -1
  8. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.cargo/config.toml +0 -0
  9. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/FUNDING.yml +0 -0
  10. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/actions/setup/action.yml +0 -0
  11. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/dependabot.yml +0 -0
  12. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/python-version.txt +0 -0
  13. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/scripts/build-macos-redirector.sh +0 -0
  14. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/scripts/pin-versions.py +0 -0
  15. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/scripts/release +0 -0
  16. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/workflows/autofix.yml +0 -0
  17. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/workflows/ci.yml +0 -0
  18. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/workflows/docs.yml +0 -0
  19. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.github/workflows/release.yml +0 -0
  20. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/.gitignore +0 -0
  21. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/LICENSE +0 -0
  22. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/README.md +0 -0
  23. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/architecture.png +0 -0
  24. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/.gitignore +0 -0
  25. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/dns.py +0 -0
  26. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/local.conf +0 -0
  27. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/nonlocal.conf +0 -0
  28. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/openvpnserv.exe +0 -0
  29. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/plot.py +0 -0
  30. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/process.rs +0 -0
  31. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/py_echo_client.py +0 -0
  32. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/py_echo_server.py +0 -0
  33. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/wg_echo_client.py +0 -0
  34. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/benches/wg_echo_server.py +0 -0
  35. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux/Cargo.toml +0 -0
  36. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux/README.md +0 -0
  37. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux/build.rs +0 -0
  38. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux/mitmproxy_linux/__init__.py +0 -0
  39. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux/src/main.rs +0 -0
  40. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux/src/main2.rs +0 -0
  41. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf/.cargo/config.toml +0 -0
  42. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf/Cargo.toml +0 -0
  43. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf/build.rs +0 -0
  44. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf/rust-toolchain.toml +0 -0
  45. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf/src/lib.rs +0 -0
  46. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf/src/main.rs +0 -0
  47. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf-common/Cargo.toml +0 -0
  48. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-linux-ebpf-common/src/lib.rs +0 -0
  49. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/.swift-format +0 -0
  50. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/.swiftlint.yml +0 -0
  51. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/README.md +0 -0
  52. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/mitmproxy_macos/__init__.py +0 -0
  53. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/mitmproxy_macos/macos-certificate-truster.app/Contents/Info.plist +0 -0
  54. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/mitmproxy_macos/macos-certificate-truster.app/Contents/Resources/mitmproxy.icns +0 -0
  55. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/pyproject.toml +0 -0
  56. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/.gitignore +0 -0
  57. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/ExportOptions.plist +0 -0
  58. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/README.md +0 -0
  59. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/ipc/mitmproxy_ipc.pb.swift +0 -0
  60. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/ipc/utils.swift +0 -0
  61. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
  62. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-1024.png +0 -0
  63. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-128.png +0 -0
  64. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-16.png +0 -0
  65. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-256.png +0 -0
  66. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-32.png +0 -0
  67. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-512.png +0 -0
  68. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/AppIcon.appiconset/logo-circle-64.png +0 -0
  69. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/Assets.xcassets/Contents.json +0 -0
  70. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/app.swift +0 -0
  71. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector/macos_redirector.entitlements +0 -0
  72. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.pbxproj +0 -0
  73. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  74. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
  75. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -0
  76. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/macos-redirector.xcodeproj/xcshareddata/xcschemes/macos-redirector.xcscheme +0 -0
  77. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/FlowExtensions.swift +0 -0
  78. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/Info.plist +0 -0
  79. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/InterceptConf.swift +0 -0
  80. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/ProcessInfoCache.swift +0 -0
  81. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/TransparentProxyProvider.swift +0 -0
  82. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/libproc-Bridging-Header.h +0 -0
  83. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/main.swift +0 -0
  84. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-macos/redirector/network-extension/network_extension.entitlements +0 -0
  85. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/README.md +0 -0
  86. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/mitmproxy_windows/LICENSE +0 -0
  87. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/mitmproxy_windows/WINDIVERT_VERSION +0 -0
  88. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/mitmproxy_windows/WinDivert.dll +0 -0
  89. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/mitmproxy_windows/WinDivert.lib +0 -0
  90. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/mitmproxy_windows/WinDivert64.sys +0 -0
  91. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/mitmproxy_windows/__init__.py +0 -0
  92. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy-windows/pyproject.toml +0 -0
  93. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/mitmproxy_linux/__init__.py +0 -0
  94. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/pyproject.toml +0 -0
  95. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/bin/process-list.rs +0 -0
  96. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/certificates/macos.rs +0 -0
  97. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/certificates/mod.rs +0 -0
  98. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/dns.rs +0 -0
  99. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/intercept_conf.rs +0 -0
  100. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/ipc/mitmproxy_ipc.proto +0 -0
  101. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/ipc/mitmproxy_ipc.rs +0 -0
  102. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/ipc/mod.rs +0 -0
  103. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/lib.rs +0 -0
  104. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/messages.rs +0 -0
  105. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/core.rs +0 -0
  106. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/icmp.rs +0 -0
  107. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/mod.rs +0 -0
  108. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/task.rs +0 -0
  109. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/tcp.rs +0 -0
  110. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/tests.rs +0 -0
  111. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/udp.rs +0 -0
  112. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/network/virtual_device.rs +0 -0
  113. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/packet_sources/linux.rs +0 -0
  114. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/packet_sources/mod.rs +0 -0
  115. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/packet_sources/tun.rs +0 -0
  116. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/packet_sources/udp.rs +0 -0
  117. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/packet_sources/windows.rs +0 -0
  118. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/packet_sources/wireguard.rs +0 -0
  119. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/processes/macos_icons.rs +0 -0
  120. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/processes/mod.rs +0 -0
  121. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/processes/nix_list.rs +0 -0
  122. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/processes/windows_icons.rs +0 -0
  123. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/processes/windows_list.rs +0 -0
  124. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/shutdown.rs +0 -0
  125. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/windows/mod.rs +0 -0
  126. {mitmproxy_linux-0.12.0 → mitmproxy_linux-0.12.1}/src/windows/network.rs +0 -0
@@ -1,6 +1,10 @@
1
1
  ## Unreleased: mitmproxy_rs next
2
2
 
3
3
 
4
+ ## 29 April 2025: mitmproxy_rs 0.12.1
5
+
6
+ - Contentview bugfixes.
7
+
4
8
  ## 14 April 2025: mitmproxy_rs 0.12.0
5
9
 
6
10
  - Add `mitmproxy_rs.contentviews` module with MsgPack, Protobuf, and gRPC views.
@@ -5,12 +5,10 @@
5
5
  To get started hacking on mitmproxy_rs, please [install mitmproxy as described
6
6
  in the main mitmproxy repository](https://github.com/mitmproxy/mitmproxy/blob/main/CONTRIBUTING.md#development-setup)
7
7
  and [install the latest Rust release](https://www.rust-lang.org/tools/install). Make sure that you have mitmproxy's
8
- virtualenv activated and run the following:
8
+ virtualenv activated and then run the following:
9
9
 
10
10
  ```shell
11
- pip install maturin
12
11
  git clone https://github.com/mitmproxy/mitmproxy_rs.git
13
-
14
12
  cd mitmproxy_rs/mitmproxy-rs
15
13
  maturin develop
16
14
  ```
@@ -100,9 +100,9 @@ dependencies = [
100
100
 
101
101
  [[package]]
102
102
  name = "anyhow"
103
- version = "1.0.97"
103
+ version = "1.0.98"
104
104
  source = "registry+https://github.com/rust-lang/crates.io-index"
105
- checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f"
105
+ checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487"
106
106
  dependencies = [
107
107
  "backtrace",
108
108
  ]
@@ -568,9 +568,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
568
568
 
569
569
  [[package]]
570
570
  name = "cc"
571
- version = "1.2.18"
571
+ version = "1.2.19"
572
572
  source = "registry+https://github.com/rust-lang/crates.io-index"
573
- checksum = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c"
573
+ checksum = "8e3a13707ac958681c13b39b458c073d0d9bc8a22cb1b2f4c8e55eb72c13f362"
574
574
  dependencies = [
575
575
  "shlex",
576
576
  ]
@@ -651,18 +651,18 @@ dependencies = [
651
651
 
652
652
  [[package]]
653
653
  name = "clap"
654
- version = "4.5.35"
654
+ version = "4.5.37"
655
655
  source = "registry+https://github.com/rust-lang/crates.io-index"
656
- checksum = "d8aa86934b44c19c50f87cc2790e19f54f7a67aedb64101c2e1a2e5ecfb73944"
656
+ checksum = "eccb054f56cbd38340b380d4a8e69ef1f02f1af43db2f0cc817a4774d80ae071"
657
657
  dependencies = [
658
658
  "clap_builder",
659
659
  ]
660
660
 
661
661
  [[package]]
662
662
  name = "clap_builder"
663
- version = "4.5.35"
663
+ version = "4.5.37"
664
664
  source = "registry+https://github.com/rust-lang/crates.io-index"
665
- checksum = "2414dbb2dd0695280da6ea9261e327479e9d37b0630f6b53ba2a11c60c679fd9"
665
+ checksum = "efd9466fac8543255d3b1fcad4762c5e116ffe808c8a3043d4263cd4fd4862a2"
666
666
  dependencies = [
667
667
  "anstream",
668
668
  "anstyle",
@@ -877,9 +877,9 @@ checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b"
877
877
 
878
878
  [[package]]
879
879
  name = "crossbeam-channel"
880
- version = "0.5.14"
880
+ version = "0.5.15"
881
881
  source = "registry+https://github.com/rust-lang/crates.io-index"
882
- checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471"
882
+ checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2"
883
883
  dependencies = [
884
884
  "crossbeam-utils",
885
885
  ]
@@ -954,9 +954,9 @@ dependencies = [
954
954
 
955
955
  [[package]]
956
956
  name = "data-encoding"
957
- version = "2.8.0"
957
+ version = "2.9.0"
958
958
  source = "registry+https://github.com/rust-lang/crates.io-index"
959
- checksum = "575f75dfd25738df5b91b8e43e14d44bda14637a58fae779fd2b064f8bf3e010"
959
+ checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
960
960
 
961
961
  [[package]]
962
962
  name = "defmt"
@@ -1367,9 +1367,9 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f"
1367
1367
 
1368
1368
  [[package]]
1369
1369
  name = "h2"
1370
- version = "0.4.8"
1370
+ version = "0.4.9"
1371
1371
  source = "registry+https://github.com/rust-lang/crates.io-index"
1372
- checksum = "5017294ff4bb30944501348f6f8e42e6ad28f42c8bbef7a74029aff064a4e3c2"
1372
+ checksum = "75249d144030531f8dee69fe9cea04d3edf809a017ae445e2abdff6629e86633"
1373
1373
  dependencies = [
1374
1374
  "atomic-waker",
1375
1375
  "bytes",
@@ -1386,9 +1386,9 @@ dependencies = [
1386
1386
 
1387
1387
  [[package]]
1388
1388
  name = "half"
1389
- version = "2.5.0"
1389
+ version = "2.6.0"
1390
1390
  source = "registry+https://github.com/rust-lang/crates.io-index"
1391
- checksum = "7db2ff139bba50379da6aa0766b52fdcb62cb5b263009b09ed58ba604e14bbd1"
1391
+ checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9"
1392
1392
  dependencies = [
1393
1393
  "cfg-if",
1394
1394
  "crunchy",
@@ -1479,7 +1479,7 @@ dependencies = [
1479
1479
  "idna",
1480
1480
  "ipnet",
1481
1481
  "once_cell",
1482
- "rand 0.9.0",
1482
+ "rand 0.9.1",
1483
1483
  "ring",
1484
1484
  "serde",
1485
1485
  "thiserror 2.0.12",
@@ -1502,7 +1502,7 @@ dependencies = [
1502
1502
  "moka",
1503
1503
  "once_cell",
1504
1504
  "parking_lot",
1505
- "rand 0.9.0",
1505
+ "rand 0.9.1",
1506
1506
  "resolv-conf",
1507
1507
  "smallvec",
1508
1508
  "thiserror 2.0.12",
@@ -1553,13 +1553,13 @@ dependencies = [
1553
1553
 
1554
1554
  [[package]]
1555
1555
  name = "hostname"
1556
- version = "0.4.0"
1556
+ version = "0.4.1"
1557
1557
  source = "registry+https://github.com/rust-lang/crates.io-index"
1558
- checksum = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba"
1558
+ checksum = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65"
1559
1559
  dependencies = [
1560
1560
  "cfg-if",
1561
1561
  "libc",
1562
- "windows 0.52.0",
1562
+ "windows-link",
1563
1563
  ]
1564
1564
 
1565
1565
  [[package]]
@@ -1966,9 +1966,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
1966
1966
 
1967
1967
  [[package]]
1968
1968
  name = "jiff"
1969
- version = "0.2.5"
1969
+ version = "0.2.10"
1970
1970
  source = "registry+https://github.com/rust-lang/crates.io-index"
1971
- checksum = "c102670231191d07d37a35af3eb77f1f0dbf7a71be51a962dcd57ea607be7260"
1971
+ checksum = "5a064218214dc6a10fbae5ec5fa888d80c45d611aba169222fc272072bf7aef6"
1972
1972
  dependencies = [
1973
1973
  "jiff-static",
1974
1974
  "log",
@@ -1979,9 +1979,9 @@ dependencies = [
1979
1979
 
1980
1980
  [[package]]
1981
1981
  name = "jiff-static"
1982
- version = "0.2.5"
1982
+ version = "0.2.10"
1983
1983
  source = "registry+https://github.com/rust-lang/crates.io-index"
1984
- checksum = "4cdde31a9d349f1b1f51a0b3714a5940ac022976f4b49485fc04be052b183b4c"
1984
+ checksum = "199b7932d97e325aff3a7030e141eafe7f2c6268e1d1b24859b753a627f45254"
1985
1985
  dependencies = [
1986
1986
  "proc-macro2",
1987
1987
  "quote",
@@ -2012,9 +2012,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
2012
2012
 
2013
2013
  [[package]]
2014
2014
  name = "libc"
2015
- version = "0.2.171"
2015
+ version = "0.2.172"
2016
2016
  source = "registry+https://github.com/rust-lang/crates.io-index"
2017
- checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
2017
+ checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
2018
2018
 
2019
2019
  [[package]]
2020
2020
  name = "libloading"
@@ -2045,9 +2045,9 @@ checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
2045
2045
 
2046
2046
  [[package]]
2047
2047
  name = "linux-raw-sys"
2048
- version = "0.9.3"
2048
+ version = "0.9.4"
2049
2049
  source = "registry+https://github.com/rust-lang/crates.io-index"
2050
- checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413"
2050
+ checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
2051
2051
 
2052
2052
  [[package]]
2053
2053
  name = "litemap"
@@ -2092,7 +2092,7 @@ checksum = "9106e1d747ffd48e6be5bb2d97fa706ed25b144fbee4d5c02eae110cd8d6badd"
2092
2092
 
2093
2093
  [[package]]
2094
2094
  name = "macos-certificate-truster"
2095
- version = "0.12.0"
2095
+ version = "0.12.1"
2096
2096
  dependencies = [
2097
2097
  "security-framework",
2098
2098
  ]
@@ -2156,9 +2156,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
2156
2156
 
2157
2157
  [[package]]
2158
2158
  name = "miniz_oxide"
2159
- version = "0.8.7"
2159
+ version = "0.8.8"
2160
2160
  source = "registry+https://github.com/rust-lang/crates.io-index"
2161
- checksum = "ff70ce3e48ae43fa075863cef62e8b43b71a4f2382229920e0df362592919430"
2161
+ checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a"
2162
2162
  dependencies = [
2163
2163
  "adler2",
2164
2164
  "simd-adler32",
@@ -2177,7 +2177,7 @@ dependencies = [
2177
2177
 
2178
2178
  [[package]]
2179
2179
  name = "mitm-wg-test-client"
2180
- version = "0.12.0"
2180
+ version = "0.12.1"
2181
2181
  dependencies = [
2182
2182
  "anyhow",
2183
2183
  "boringtun",
@@ -2188,7 +2188,7 @@ dependencies = [
2188
2188
 
2189
2189
  [[package]]
2190
2190
  name = "mitmproxy"
2191
- version = "0.12.0"
2191
+ version = "0.12.1"
2192
2192
  dependencies = [
2193
2193
  "anyhow",
2194
2194
  "boringtun",
@@ -2210,7 +2210,7 @@ dependencies = [
2210
2210
  "objc",
2211
2211
  "pretty-hex",
2212
2212
  "prost",
2213
- "rand 0.9.0",
2213
+ "rand 0.9.1",
2214
2214
  "security-framework",
2215
2215
  "smoltcp",
2216
2216
  "socket2",
@@ -2224,7 +2224,7 @@ dependencies = [
2224
2224
 
2225
2225
  [[package]]
2226
2226
  name = "mitmproxy-contentviews"
2227
- version = "0.12.0"
2227
+ version = "0.12.1"
2228
2228
  dependencies = [
2229
2229
  "anyhow",
2230
2230
  "criterion",
@@ -2243,7 +2243,7 @@ dependencies = [
2243
2243
 
2244
2244
  [[package]]
2245
2245
  name = "mitmproxy-highlight"
2246
- version = "0.12.0"
2246
+ version = "0.12.1"
2247
2247
  dependencies = [
2248
2248
  "anyhow",
2249
2249
  "criterion",
@@ -2255,7 +2255,7 @@ dependencies = [
2255
2255
 
2256
2256
  [[package]]
2257
2257
  name = "mitmproxy-linux"
2258
- version = "0.12.0"
2258
+ version = "0.12.1"
2259
2259
  dependencies = [
2260
2260
  "anyhow",
2261
2261
  "aya",
@@ -2277,24 +2277,24 @@ dependencies = [
2277
2277
 
2278
2278
  [[package]]
2279
2279
  name = "mitmproxy-linux-ebpf"
2280
- version = "0.12.0"
2280
+ version = "0.12.1"
2281
2281
  dependencies = [
2282
2282
  "aya-ebpf",
2283
2283
  "aya-log-ebpf",
2284
2284
  "mitmproxy-linux-ebpf-common",
2285
- "which 7.0.2",
2285
+ "which 7.0.3",
2286
2286
  ]
2287
2287
 
2288
2288
  [[package]]
2289
2289
  name = "mitmproxy-linux-ebpf-common"
2290
- version = "0.12.0"
2290
+ version = "0.12.1"
2291
2291
  dependencies = [
2292
2292
  "aya-ebpf",
2293
2293
  ]
2294
2294
 
2295
2295
  [[package]]
2296
2296
  name = "mitmproxy_rs"
2297
- version = "0.12.0"
2297
+ version = "0.12.1"
2298
2298
  dependencies = [
2299
2299
  "anyhow",
2300
2300
  "boringtun",
@@ -2432,9 +2432,9 @@ dependencies = [
2432
2432
 
2433
2433
  [[package]]
2434
2434
  name = "objc2-core-foundation"
2435
- version = "0.3.0"
2435
+ version = "0.3.1"
2436
2436
  source = "registry+https://github.com/rust-lang/crates.io-index"
2437
- checksum = "daeaf60f25471d26948a1c2f840e3f7d86f4109e3af4e8e4b5cd70c39690d925"
2437
+ checksum = "1c10c2894a6fed806ade6027bcd50662746363a9589d3ec9d9bef30a4e4bc166"
2438
2438
  dependencies = [
2439
2439
  "bitflags 2.9.0",
2440
2440
  ]
@@ -2708,9 +2708,9 @@ dependencies = [
2708
2708
 
2709
2709
  [[package]]
2710
2710
  name = "proc-macro2"
2711
- version = "1.0.94"
2711
+ version = "1.0.95"
2712
2712
  source = "registry+https://github.com/rust-lang/crates.io-index"
2713
- checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
2713
+ checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
2714
2714
  dependencies = [
2715
2715
  "unicode-ident",
2716
2716
  ]
@@ -2785,9 +2785,9 @@ dependencies = [
2785
2785
 
2786
2786
  [[package]]
2787
2787
  name = "pyo3"
2788
- version = "0.24.1"
2788
+ version = "0.24.2"
2789
2789
  source = "registry+https://github.com/rust-lang/crates.io-index"
2790
- checksum = "17da310086b068fbdcefbba30aeb3721d5bb9af8db4987d6735b2183ca567229"
2790
+ checksum = "e5203598f366b11a02b13aa20cab591229ff0a89fd121a308a5df751d5fc9219"
2791
2791
  dependencies = [
2792
2792
  "anyhow",
2793
2793
  "cfg-if",
@@ -2831,9 +2831,9 @@ dependencies = [
2831
2831
 
2832
2832
  [[package]]
2833
2833
  name = "pyo3-build-config"
2834
- version = "0.24.1"
2834
+ version = "0.24.2"
2835
2835
  source = "registry+https://github.com/rust-lang/crates.io-index"
2836
- checksum = "e27165889bd793000a098bb966adc4300c312497ea25cf7a690a9f0ac5aa5fc1"
2836
+ checksum = "99636d423fa2ca130fa5acde3059308006d46f98caac629418e53f7ebb1e9999"
2837
2837
  dependencies = [
2838
2838
  "once_cell",
2839
2839
  "target-lexicon",
@@ -2841,9 +2841,9 @@ dependencies = [
2841
2841
 
2842
2842
  [[package]]
2843
2843
  name = "pyo3-ffi"
2844
- version = "0.24.1"
2844
+ version = "0.24.2"
2845
2845
  source = "registry+https://github.com/rust-lang/crates.io-index"
2846
- checksum = "05280526e1dbf6b420062f3ef228b78c0c54ba94e157f5cb724a609d0f2faabc"
2846
+ checksum = "78f9cf92ba9c409279bc3305b5409d90db2d2c22392d443a87df3a1adad59e33"
2847
2847
  dependencies = [
2848
2848
  "libc",
2849
2849
  "pyo3-build-config",
@@ -2862,9 +2862,9 @@ dependencies = [
2862
2862
 
2863
2863
  [[package]]
2864
2864
  name = "pyo3-macros"
2865
- version = "0.24.1"
2865
+ version = "0.24.2"
2866
2866
  source = "registry+https://github.com/rust-lang/crates.io-index"
2867
- checksum = "5c3ce5686aa4d3f63359a5100c62a127c9f15e8398e5fdeb5deef1fed5cd5f44"
2867
+ checksum = "0b999cb1a6ce21f9a6b147dcf1be9ffedf02e0043aec74dc390f3007047cecd9"
2868
2868
  dependencies = [
2869
2869
  "proc-macro2",
2870
2870
  "pyo3-macros-backend",
@@ -2874,9 +2874,9 @@ dependencies = [
2874
2874
 
2875
2875
  [[package]]
2876
2876
  name = "pyo3-macros-backend"
2877
- version = "0.24.1"
2877
+ version = "0.24.2"
2878
2878
  source = "registry+https://github.com/rust-lang/crates.io-index"
2879
- checksum = "f4cf6faa0cbfb0ed08e89beb8103ae9724eb4750e3a78084ba4017cbe94f3855"
2879
+ checksum = "822ece1c7e1012745607d5cf0bcb2874769f0f7cb34c4cde03b9358eb9ef911a"
2880
2880
  dependencies = [
2881
2881
  "heck",
2882
2882
  "proc-macro2",
@@ -2913,13 +2913,12 @@ dependencies = [
2913
2913
 
2914
2914
  [[package]]
2915
2915
  name = "rand"
2916
- version = "0.9.0"
2916
+ version = "0.9.1"
2917
2917
  source = "registry+https://github.com/rust-lang/crates.io-index"
2918
- checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94"
2918
+ checksum = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
2919
2919
  dependencies = [
2920
2920
  "rand_chacha 0.9.0",
2921
2921
  "rand_core 0.9.3",
2922
- "zerocopy",
2923
2922
  ]
2924
2923
 
2925
2924
  [[package]]
@@ -3115,7 +3114,7 @@ dependencies = [
3115
3114
  "bitflags 2.9.0",
3116
3115
  "errno",
3117
3116
  "libc",
3118
- "linux-raw-sys 0.9.3",
3117
+ "linux-raw-sys 0.9.4",
3119
3118
  "windows-sys 0.59.0",
3120
3119
  ]
3121
3120
 
@@ -3247,9 +3246,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
3247
3246
 
3248
3247
  [[package]]
3249
3248
  name = "signal-hook-registry"
3250
- version = "1.4.2"
3249
+ version = "1.4.5"
3251
3250
  source = "registry+https://github.com/rust-lang/crates.io-index"
3252
- checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
3251
+ checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410"
3253
3252
  dependencies = [
3254
3253
  "libc",
3255
3254
  ]
@@ -3787,9 +3786,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
3787
3786
 
3788
3787
  [[package]]
3789
3788
  name = "tun"
3790
- version = "0.7.17"
3789
+ version = "0.7.18"
3791
3790
  source = "registry+https://github.com/rust-lang/crates.io-index"
3792
- checksum = "528d712da3fafc9bf7ab8795244cb0197e4bfaa506e26280810f9ae327e20d6a"
3791
+ checksum = "caaf6aa0a713f0e3b20157f6048d113b6256c045e0e2d80734d54cf1c72dc24a"
3793
3792
  dependencies = [
3794
3793
  "bytes",
3795
3794
  "cfg-if",
@@ -4019,13 +4018,13 @@ dependencies = [
4019
4018
 
4020
4019
  [[package]]
4021
4020
  name = "which"
4022
- version = "7.0.2"
4021
+ version = "7.0.3"
4023
4022
  source = "registry+https://github.com/rust-lang/crates.io-index"
4024
- checksum = "2774c861e1f072b3aadc02f8ba886c26ad6321567ecc294c935434cad06f1283"
4023
+ checksum = "24d643ce3fd3e5b54854602a080f34fb10ab75e0b813ee32d00ca2b44fa74762"
4025
4024
  dependencies = [
4026
4025
  "either",
4027
4026
  "env_home",
4028
- "rustix 0.38.44",
4027
+ "rustix 1.0.5",
4029
4028
  "winsafe",
4030
4029
  ]
4031
4030
 
@@ -4098,16 +4097,6 @@ dependencies = [
4098
4097
  "windows-targets 0.48.5",
4099
4098
  ]
4100
4099
 
4101
- [[package]]
4102
- name = "windows"
4103
- version = "0.52.0"
4104
- source = "registry+https://github.com/rust-lang/crates.io-index"
4105
- checksum = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be"
4106
- dependencies = [
4107
- "windows-core 0.52.0",
4108
- "windows-targets 0.52.6",
4109
- ]
4110
-
4111
4100
  [[package]]
4112
4101
  name = "windows"
4113
4102
  version = "0.57.0"
@@ -4150,15 +4139,6 @@ dependencies = [
4150
4139
  "windows-core 0.61.0",
4151
4140
  ]
4152
4141
 
4153
- [[package]]
4154
- name = "windows-core"
4155
- version = "0.52.0"
4156
- source = "registry+https://github.com/rust-lang/crates.io-index"
4157
- checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
4158
- dependencies = [
4159
- "windows-targets 0.52.6",
4160
- ]
4161
-
4162
4142
  [[package]]
4163
4143
  name = "windows-core"
4164
4144
  version = "0.57.0"
@@ -4291,7 +4271,7 @@ dependencies = [
4291
4271
 
4292
4272
  [[package]]
4293
4273
  name = "windows-redirector"
4294
- version = "0.12.0"
4274
+ version = "0.12.1"
4295
4275
  dependencies = [
4296
4276
  "anyhow",
4297
4277
  "env_logger",
@@ -4537,9 +4517,9 @@ checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
4537
4517
 
4538
4518
  [[package]]
4539
4519
  name = "wintun-bindings"
4540
- version = "0.7.30"
4520
+ version = "0.7.31"
4541
4521
  source = "registry+https://github.com/rust-lang/crates.io-index"
4542
- checksum = "67a02981bed4592bcd271f9bfe154228ddbd2fd69e37a7d358da5d3a1251d696"
4522
+ checksum = "605f50b13e12e1f9f99dc5e93701d779dbe47282fec186cb8a079165368d3124"
4543
4523
  dependencies = [
4544
4524
  "blocking",
4545
4525
  "c2rust-bitfields",
@@ -17,7 +17,7 @@ authors = [
17
17
  "Fabio Valentini <decathorpe@gmail.com>",
18
18
  "Maximilian Hils <cargo@maximilianhils.com>",
19
19
  ]
20
- version = "0.12.0"
20
+ version = "0.12.1"
21
21
  publish = false
22
22
  repository = "https://github.com/mitmproxy/mitmproxy-rs"
23
23
  edition = "2021"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mitmproxy_linux
3
- Version: 0.12.0
3
+ Version: 0.12.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -28,7 +28,7 @@ authors = [
28
28
  "Fabio Valentini <decathorpe@gmail.com>",
29
29
  "Maximilian Hils <cargo@maximilianhils.com>",
30
30
  ]
31
- version = "0.12.0"
31
+ version = "0.12.1"
32
32
  publish = false
33
33
  repository = "https://github.com/mitmproxy/mitmproxy-rs"
34
34
  edition = "2021"
@@ -335,7 +335,9 @@ impl ConnectionTask {
335
335
  tokio::select! {
336
336
  _ = self.shutdown.recv() => break,
337
337
  Ok(()) = self.stream.writable(), if !write_buf.is_empty() => {
338
- self.stream.write_buf(&mut write_buf).await.context("failed to write to socket from buf")?;
338
+ let Ok(_) = self.stream.write_buf(&mut write_buf).await else {
339
+ break; // Client has disconnected.
340
+ };
339
341
  if write_buf.is_empty() {
340
342
  if let Some(tx) = drain_tx.take() {
341
343
  tx.send(()).ok();