-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix response flushing on streaming k8s requests (#5009)
Streaming requests, like `kubectl logs -f` will slowly write response data over time. The `http.ResponseWriter` wrapper we added for capturing the response code didn't propagate `http.Flusher` interface and prevented the forwarder library from periodically flushing response contents. This caused `kubectl logs -f` results to be delayed, delivered in batches as some internal buffer filled up.
- Loading branch information
Andrew Lytvynov
authored
Dec 1, 2020
1 parent
4c2e221
commit c4583b7
Showing
1 changed file
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters