mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-09 00:18:39 +03:00
missing flush() during banner exchange
This commit is contained in:
@@ -151,6 +151,7 @@ public final class TransportImpl
|
|||||||
|
|
||||||
log.info("Client identity string: {}", clientID);
|
log.info("Client identity string: {}", clientID);
|
||||||
connInfo.out.write((clientID + "\r\n").getBytes(IOUtils.UTF8));
|
connInfo.out.write((clientID + "\r\n").getBytes(IOUtils.UTF8));
|
||||||
|
connInfo.out.flush();
|
||||||
|
|
||||||
// Read server's ID
|
// Read server's ID
|
||||||
final Buffer.PlainBuffer buf = new Buffer.PlainBuffer();
|
final Buffer.PlainBuffer buf = new Buffer.PlainBuffer();
|
||||||
|
|||||||
Reference in New Issue
Block a user