mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +01:00
SMACK-128 File Transfer Fail-over Failing. The problem was when users have set a big value for a packet timeout.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8377 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
b3d4f6643b
commit
41b4308936
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ public class Socks5TransferNegotiator extends StreamNegotiator {
|
|||
.createPacketCollector(new PacketIDFilter(query.getPacketID()));
|
||||
connection.sendPacket(query);
|
||||
|
||||
Packet packet = collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
|
||||
Packet packet = collector.nextResult(10000);
|
||||
collector.cancel();
|
||||
Bytestream response;
|
||||
if (packet != null && packet instanceof Bytestream) {
|
||||
|
|
Loading…
Reference in a new issue