Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/main/java/net/schmizz/keepalive/KeepAlive.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ protected KeepAlive(ConnectionImpl conn, String name) {
this.conn = conn;
log = conn.getTransport().getConfig().getLoggerFactory().getLogger(getClass());
setName(name);
setDaemon(true);
}

public synchronized int getKeepAliveInterval() {
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/schmizz/sshj/sftp/PacketReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public PacketReader(SFTPEngine engine) {
log = engine.getLoggerFactory().getLogger(getClass());
this.in = engine.getSubsystem().getInputStream();
setName("sftp reader");
setDaemon(true);
}

private void readIntoBuffer(byte[] buf, int off, int len)
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/schmizz/sshj/transport/Reader.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public Reader(TransportImpl trans) {
this.trans = trans;
log = trans.getConfig().getLoggerFactory().getLogger(getClass());
setName("reader");
setDaemon(true);
}

@Override
Expand Down