[freenet-cvs] r17327 - trunk/freenet/src/freenet/node/fcp
nextgens at freenetproject.org
nextgens at freenetproject.org
Sun Jan 27 20:38:42 UTC 2008
Author: nextgens
Date: 2008-01-27 20:38:42 +0000 (Sun, 27 Jan 2008)
New Revision: 17327
Modified:
trunk/freenet/src/freenet/node/fcp/FCPConnectionOutputHandler.java
Log:
comments
Modified: trunk/freenet/src/freenet/node/fcp/FCPConnectionOutputHandler.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPConnectionOutputHandler.java 2008-01-27 20:33:45 UTC (rev 17326)
+++ trunk/freenet/src/freenet/node/fcp/FCPConnectionOutputHandler.java 2008-01-27 20:38:42 UTC (rev 17327)
@@ -90,6 +90,9 @@
synchronized(outQueue) {
outQueue.notifyAll();
}
+ // Give a chance to the output handler to flush
+ // its queue before the socket is closed
+ // @see #2019 - nextgens
while(!outQueue.isEmpty()) {
try {
Thread.sleep(100);
More information about the cvs
mailing list