omrikiei / ktunnel

A cli that exposes your local resources to kubernetes
GNU General Public License v3.0
913 stars 71 forks source link

Start the session immediately in the read loop #95

Closed sillyfrog closed 9 months ago

sillyfrog commented 1 year ago

Upon starting the read loop, immediately send the current session to initiate the connection with the remote end, rather than waiting for the first data packet from the pod.

Fixes #60

omrikiei commented 9 months ago

I'm a little concerned that this change might break the networking sequence, and I need to test it (overall, I need to add tests to the tool)

sillyfrog commented 9 months ago

If it helps, we've been using this (3 of us) for the last several months (since this PR) without issue, so for the use case of PyCharm, it's pretty solid so far.

omrikiei commented 9 months ago

I'm sold.. YOLO