Skip to content
Success

Changes

Summary

  1. Explicity write http headers on streaming endpoints (details)
Commit 707ab48cbb3b3807a48a6c6e242ed3c9308fbb11 by Brian Goff
Explicity write http headers on streaming endpoints

This works around issues with the otel http handler wrapper causing
multiple calls to `WriteHeader` when a `Flush` is called before `Write`.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
The file was modified api/server/router/system/system_routes.go (diff)
The file was modified api/types/backend/backend.go (diff)
The file was modified api/server/httputils/write_log_stream.go (diff)
The file was modified daemon/stats.go (diff)
The file was modified api/server/router/container/container_routes.go (diff)