hierynomus / hierynomus/sshj

Remote port forwarding buffers can grow without limits

Open
#658 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

I'm hitting out-of-memory conditions when doing remote port forwarding and the consumer at the end of the tunnel is at times slower than the stream of data coming via ssh.

The buffer for the ChannelInputStream just doubles in size whenever it fills up. I don't see in the implementation any mechanism to slow down the ssh stream.

This is a request to implement such a feature.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.