mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
fix communication problem
This commit is contained in:
parent
7db8b8ece3
commit
1017502035
1 changed files with 4 additions and 4 deletions
|
@ -749,11 +749,11 @@ public class Connection implements MessageListener {
|
||||||
// Reading the protobuffer message from the inputstream
|
// Reading the protobuffer message from the inputstream
|
||||||
Messages.Envelope envelope = null;
|
Messages.Envelope envelope = null;
|
||||||
try {
|
try {
|
||||||
if (protoInputStream.available() > 0) {
|
// if (protoInputStream.available() > 0) {
|
||||||
envelope = Messages.Envelope.parseDelimitedFrom(protoInputStream);
|
envelope = Messages.Envelope.parseDelimitedFrom(protoInputStream);
|
||||||
} else {
|
// } else {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (envelope == null) {
|
if (envelope == null) {
|
||||||
log.debug("Envelope is null, available={}", protoInputStream.available());
|
log.debug("Envelope is null, available={}", protoInputStream.available());
|
||||||
|
|
Loading…
Add table
Reference in a new issue