Commit Graph

8 Commits

Author SHA1 Message Date
Antonio Ojea
11a78d9d0f
don't use socat for port forwarding
use goroutines to copy the data from the stream to the TCP
connection, and viceversa, removing the socat dependency.

Quoting Lantao Liu, the logic is as follow:

When one side (either pod side or user side) of portforward
is closed, we should stop port forwarding.

When one side is closed, the io.Copy use that side as source will close,
but the io.Copy use that side as dest won't.

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-05-09 00:54:30 +02:00
Mike Brown
1b60224e2e use containerd/project header test
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2020-04-22 19:35:37 -05:00
Mike Brown
f673f0cf5c remove greetings due to security issue
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2020-04-21 17:00:45 -05:00
Mike Brown
b838ac8c2e split tests and some refactoring
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2020-04-17 15:32:37 -05:00
Mike Brown
67de3e4ccf adds git hub actions for linux CI
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2020-04-15 17:25:10 -05:00
Mike Brown
8b6377bad8
Merge pull request #1442 from containerd/mikebrow-add-greeting-action
Create greetings.yml
2020-04-15 13:45:34 -05:00
Davanum Srinivas
5c31c7591e
Running critest under windows using github actions
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-15 14:09:41 -04:00
Mike Brown
7381f31b36 Create greetings.yml
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2020-04-15 11:59:24 -05:00