Changeset 48f29402
- Timestamp:
- Nov 11, 2015 1:20:42 PM (5 years ago)
- Branches:
- master
- Children:
- 03a99ada
- Parents:
- 123b4ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2psnark/java/src/org/klomp/snark/ConnectionAcceptor.java
r123b4ca r48f29402 25 25 import java.io.InputStream; 26 26 import java.io.OutputStream; 27 import java.net.ConnectException; 27 28 28 29 import net.i2p.I2PAppContext; … … 206 207 if (_log.shouldLog(level)) 207 208 _log.log(level, "Error while accepting", ioe); 209 synchronized(this) { 210 if (!stop) { 211 locked_halt(); 212 thread = null; 213 stop = true; 214 } 215 } 216 } 217 catch (ConnectException ioe) 218 { 219 // This is presumed to be due to socket closing by I2PSnarkUtil.disconnect(), 220 // which does not currently call our halt(), although it should 221 if (_log.shouldWarn()) 222 _log.warn("Error while accepting", ioe); 208 223 synchronized(this) { 209 224 if (!stop) {
Note: See TracChangeset
for help on using the changeset viewer.