Skip to content

NetworkInspector capture bounds do not hold after reconfiguration or for long-lived sockets #192

Description

@OskarEichler

Lowering maxEntries does not trim existing entries; subsequent records only shift one entry so the configured bound can remain exceeded indefinitely. WebSocket message arrays are unbounded, and generated cURL strings can retain request bodies beyond maxBodyCapture. I plan to validate finite non-negative integer limits, trim entries when reconfigured, add an explicit per-socket message history limit while retaining cumulative counters, and enforce the configured capture limit in inspector cURL strings with a truncation notice. The standalone cURL helper will remain lossless. The new history bound is observable and will be documented.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions