Skip to content
Success

Changes

Summary

  1. Explicity write http headers on streaming endpoints (details)
Commit 06e19ec4443c736b40134bdfbbe01643cb320b75 by Paweł Gronowski
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>
(cherry picked from commit 707ab48cbb3b3807a48a6c6e242ed3c9308fbb11)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
The file was modified api/server/router/container/container_routes.go (diff)
The file was modified daemon/stats.go (diff)
The file was modified api/types/backend/backend.go (diff)
The file was modified api/server/router/system/system_routes.go (diff)
The file was modified api/server/httputils/write_log_stream.go (diff)