You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1b2f9f1
Browse filesBrowse the repository at this point in the historyBrowse files
fix(foundation): warn when PyPCAP, PCAP_CT or PyPCAPFile ignores Extractor(context=) (#2313) (#2332)
Problem: the DPKT, Scapy and PyShark engines warn that a parsing context
supplied through 'context=' is ignored, but the PyPCAP, PCAP_CT and
PyPCAPFile engines never read Extractor._exctx and drop it silently.
Fix: each of the three engines' run() emits the same AttributeWarning,
naming the engine, right after its layer/protocol threshold warning, and
lists it under Warns: as DPKT and Scapy do.
Test: each engine's unit test drives run() with a non-empty _exctx and
pins the exact warning; the shared fixtures gain an empty _exctx, so the
threshold tests' call counts also pin that no context stays silent.
0 commit comments