mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2024-11-23 05:09:57 +00:00
improve next layer log message (#7337)
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
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
This commit is contained in:
parent
2d68a5246a
commit
03bf350924
@ -109,8 +109,8 @@ class NextLayer:
|
||||
nextlayer.data_server(),
|
||||
)
|
||||
except NeedsMoreData:
|
||||
logger.info(
|
||||
f"Deferring layer decision, not enough data: {nextlayer.data_client().hex()}"
|
||||
logger.debug(
|
||||
f"Deferring layer decision, not enough data: {nextlayer.data_client().hex()!r}"
|
||||
)
|
||||
|
||||
def _next_layer(
|
||||
|
@ -404,7 +404,7 @@ class TestNextLayer:
|
||||
assert nl._next_layer(m.context, http_get, b"").flow is not None
|
||||
|
||||
def test_next_layer(self, monkeypatch, caplog):
|
||||
caplog.set_level(logging.INFO)
|
||||
caplog.set_level(logging.DEBUG)
|
||||
nl = NextLayer()
|
||||
|
||||
with taddons.context(nl) as tctx:
|
||||
|
Loading…
Reference in New Issue
Block a user