k3s/pkg
Andy Goldstein ed021fed4c Port forwarding fixes
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.

Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.

Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
..
admission
api Port forwarding fixes 2015-09-30 20:03:49 -04:00
apis/experimental Merge pull request #14535 from derekwaynecarr/daemon_sets_status 2015-09-25 13:30:55 -07:00
apiserver Deflake the max-in-flight limit test 2015-09-28 16:08:14 -07:00
auth
capabilities Support pods with containers using host ipc 2015-09-18 21:13:39 +02:00
client Port forwarding fixes 2015-09-30 20:03:49 -04:00
cloudprovider ent 2015-09-30 14:49:19 +08:00
controller Merge pull request #14798 from kubernetes/revert-14616-controller-framework-flake 2015-09-30 10:04:48 -07:00
conversion Add a method for encoding directly to a io.Writer and use it for HTTPx 2015-09-24 15:52:09 -07:00
credentialprovider Merge pull request #12717 from tamnd/fixdockercfg 2015-09-18 14:43:38 -07:00
fieldpath
fields
healthz
httplog
hyperkube
kubectl Merge pull request #14087 from brendandburns/kubectl 2015-09-30 11:30:32 -07:00
kubelet Port forwarding fixes 2015-09-30 20:03:49 -04:00
labels
master Fixed update of scale sub-resource for experimental RC. 2015-09-29 10:55:29 +02:00
probe
proxy Don't log every connection by default 2015-09-25 14:02:24 -07:00
registry Merge pull request #14535 from derekwaynecarr/daemon_sets_status 2015-09-25 13:30:55 -07:00
runtime Merge pull request #14148 from brendandburns/perf 2015-09-25 13:19:58 -07:00
securitycontext
storage Extend timeouts in cacher test 2015-09-30 08:26:58 +02:00
tools
types
ui
util Port forwarding fixes 2015-09-30 20:03:49 -04:00
version
volume Merge pull request #14168 from tmrts/refactor/tests 2015-09-22 13:52:31 -07:00
watch Increase a bunch of timeouts to reduce flakes 2015-09-23 11:09:03 -07:00