Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: fix tunnels not working on Windows #211499

Merged
merged 1 commit into from Apr 29, 2024

Conversation

connor4312
Copy link
Member

I made a change this past iteration to use CREATE_BREAKAWAY_FROM_JOB
in order to allow the code-server process to outlive SSH connections run
from the exec server.

However, it appears that this can break things if it's run from a job
that doesn't have the JOB_OBJECT_LIMIT_BREAKAWAY_OK flag set. I'm not
a winapi expert, so this is a simple though perhaps inefficient change
to probe whether we can do this via an echo command before starting the
server.

I made a change this past iteration to use `CREATE_BREAKAWAY_FROM_JOB`
in order to allow the code-server process to outlive SSH connections run
from the exec server.

However, it appears that this _can_ break things if it's run from a job
that doesn't have the JOB_OBJECT_LIMIT_BREAKAWAY_OK flag set. I'm not
a winapi expert, so this is a simple though perhaps inefficient change
to probe whether we can do this via an echo command before starting the
server.
@connor4312 connor4312 self-assigned this Apr 26, 2024
@connor4312 connor4312 added the candidate Issue identified as probable candidate for fixing in the next release label Apr 26, 2024
@connor4312 connor4312 merged commit dfa434a into release/1.89 Apr 29, 2024
7 checks passed
@connor4312 connor4312 deleted the connor4312/issue-211497-candidate branch April 29, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
candidate Issue identified as probable candidate for fixing in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants