Changeset 5c1e001 for apps/ministreaming


Ignore:
Timestamp:
Jun 27, 2004 7:39:45 PM (17 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
349e80f
Parents:
f312318
git-author:
jrandom <jrandom> (06/27/04 19:39:45)
git-committer:
zzz <zzz@…> (06/27/04 19:39:45)
Message:

logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketImpl.java

    rf312318 r5c1e001  
    132132                }
    133133
    134                 if ((maxWait >= 0) && (System.currentTimeMillis() >= dieAfter))
    135                     throw new InterruptedIOException("Timed out waiting for remote ID");
     134                long now = System.currentTimeMillis();
     135                if ((maxWait >= 0) && (now >= dieAfter)) {
     136                    long waitedExcess = now - dieAfter;
     137                    throw new InterruptedIOException("Timed out waiting for remote ID (waited " + waitedExcess + "ms too long [" + maxWait + "ms])");
     138                }
    136139             
    137140                if (_log.shouldLog(Log.DEBUG))
Note: See TracChangeset for help on using the changeset viewer.