microsoft / dev-tunnels-ssh

SSH library for dev-tunnels
MIT License
131 stars 17 forks source link

Piped session hangs when using PipeExtensions.pipeSession #52

Closed jeanp413 closed 1 year ago

jeanp413 commented 1 year ago

Hang happens in forwardSessionRequest, also when piping a channel data gets corrupted somehow. Can repro this consistently on an app I'm writing:

Already fixed locally, will create a PR and try to write unit tests than can reproduce this behavior.

jasongin commented 1 year ago

@jeanp413 Thanks for reporting the issue and contributing a fix!

I'm curious, how/where are you using the TypeScript SSH library? Is it an open-source project?

jasongin commented 1 year ago

I merged the fix. It should be published to npm as version 3.11.7 shortly.

jeanp413 commented 1 year ago

I'm curious, how/where are you using the TypeScript SSH library? Is it an open-source project?

It's just a vscode extension that connects to a remote machine using ssh over websocket

I merged the fix. It should be published to npm as version 3.11.7 shortly.

Thanks :tada: :tada: :tada: