hierynomus / hierynomus/sshj

move StreamCopier and callers over to NIO

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

Description

Hello,

I think I found an issue with the way Threads are spawned in StreamCopier. If the Input Stream does not end it will block and keep the thread running forever.

I found a good discussion around the subject here: http://squirrel.pl/blog/2012/06/05/io-vs-nio-interruptions-timeouts-and-buffers/

Cheers,

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.