The stream stats were showing decompressed data sizes, not actual wire bandwidth. This change adds wire byte tracking by disabling automatic gzip decompression in the HTTP client and wrapping the response body with a counting reader before decompression. Both wire (compressed) and decompressed bytes are now tracked and exposed in the API responses. |
||
|---|---|---|
| .. | ||
| handlers.go | ||
| middleware.go | ||
| routes.go | ||
| server.go | ||