Skip to content

feat(proxy): stream MITM bodies into durable capture files - #112

Open
M09Ic wants to merge 1 commit into
masterfrom
feat/mitm-stream-capture
Open

feat(proxy): stream MITM bodies into durable capture files#112
M09Ic wants to merge 1 commit into
masterfrom
feat/mitm-stream-capture

Conversation

@M09Ic

@M09Ic M09Ic commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • unify curl and MITM HTTP observations through aop/traffic.Exchange
  • stream request/response bodies to file-backed sinks with bounded previews and on-demand hydration
  • cover buffered and streaming MITM lifecycle hooks, including failures and stream termination
  • make FlowStore metadata reloadable and subscriber delivery cursor-based so slow consumers do not silently drop flows
  • apply capture filters before persistence and preserve the Runner↔Cairn WebSocket transport

Verification

  • go test ./...
  • go test -race ./tools/proxy
  • git diff --check

Existing untracked scan outputs in the workspace were intentionally left untouched.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant