containerd/pkg/cri/streaming
wangxiang 232538b768 bugfix(port-forward): Correctly handle known errors
These two errors can occur in the following scenarios:

ECONNRESET: the target process reset connection between CRI and itself.
see: #111825 for detail

EPIPE: the target process did not read the received data, causing the
buffer in the kernel to be full, resulting in the occurrence of Zero Window,
then closing the connection (FIN, RESET)
see: #74551 for detail

In both cases, we should RESET the httpStream.

Signed-off-by: wangxiang <scottwangsxll@gmail.com>
2023-07-11 11:06:13 +08:00
..
portforward bugfix(port-forward): Correctly handle known errors 2023-07-11 11:06:13 +08:00
remotecommand CRI stream server: Fix goroutine leak in Exec 2022-11-29 06:31:38 -08:00
errors.go Refactor CRI packages 2020-10-07 14:45:57 -07:00
request_cache.go cleanup: import from k8s.io/utils/clock instead 2021-09-30 23:27:20 +08:00
server.go pkg/cri/streaming: increase ReadHeaderTimeout 2022-08-18 07:42:12 +08:00