Ignore:
Timestamp:
Jul 28, 2018 9:44:56 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a51d260
Parents:
f12dbba
Message:

Streaming: Throw exception on read timeout (ticket #2292)
Log tweaks

File:
1 edited

Legend:

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

    rf12dbba rb5ed39f1  
    3838     * What is the longest we'll block on the input stream while waiting
    3939     * for more data.  If this value is exceeded, the read() throws
    40      * InterruptedIOException - FIXME doesn't really, returns -1 or 0 instead.
     40     * SocketTimeoutException as of 0.9.36.
     41     * Prior to that, the read() returned -1 or 0.
    4142     *
    4243     * WARNING: Default -1 (unlimited), which is probably not what you want.
     
    4950     * What is the longest we'll block on the input stream while waiting
    5051     * for more data.  If this value is exceeded, the read() throws
    51      * InterruptedIOException - FIXME doesn't really, returns -1 or 0 instead.
     52     * SocketTimeoutException as of 0.9.36.
     53     * Prior to that, the read() returned -1 or 0.
    5254     *
    5355     * WARNING: Default -1 (unlimited), which is probably not what you want.
Note: See TracChangeset for help on using the changeset viewer.