The previous HTTP compression implementation functioned as a filter, which required it to deal with a number of special cases that complicated the implementation. Instead, when we write an API object to a response, handle only that one case. This will allow a more limited implementation that does not impact other code flows. Also, to prevent excessive CPU use on small objects, compression is disabled on responses smaller than 128Kb in size. Kubernetes-commit: 4ed2b9875d0498b5c577095075bda341e96fcec2 |
||
|---|---|---|
| .. | ||
| doc.go | ||
| errors.go | ||
| errors_test.go | ||
| status.go | ||
| status_test.go | ||
| writers.go | ||
| writers_test.go | ||