diff options
Diffstat (limited to 'internal/ipc/ipc.go')
| -rw-r--r-- | internal/ipc/ipc.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/ipc/ipc.go b/internal/ipc/ipc.go index 270b8e4..5dac21f 100644 --- a/internal/ipc/ipc.go +++ b/internal/ipc/ipc.go @@ -100,6 +100,13 @@ type EntryDetail struct { ResponseRaw []byte `json:"response_raw"` RequestExact bool `json:"request_exact"` ResponseExact bool `json:"response_exact"` + // *Truncated is true when the matching *Exact is false specifically + // because capture hit its size cap and dropped bytes off the end - + // as opposed to false because there was never a wire-exact + // representation to begin with (HTTP/2). Only meaningful alongside + // a false *Exact. + RequestTruncated bool `json:"request_truncated,omitempty"` + ResponseTruncated bool `json:"response_truncated,omitempty"` } // Client talks to a mitmuxd instance for request/response queries |