aboutsummaryrefslogtreecommitdiff
path: root/src/IvyWatcher.java
diff options
context:
space:
mode:
authorjestin2012-02-20 16:08:12 +0000
committerjestin2012-02-20 16:08:12 +0000
commit26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c (patch)
tree4e467382ce613ce197efe75db3f49be9da3e8faf /src/IvyWatcher.java
parent9c55bfcc68930a906cf1485d484045094f005cdb (diff)
downloadivy-java-26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c.zip
ivy-java-26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c.tar.gz
ivy-java-26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c.tar.bz2
ivy-java-26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c.tar.xz
reduced the default buffer size
Diffstat (limited to 'src/IvyWatcher.java')
-rwxr-xr-xsrc/IvyWatcher.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/IvyWatcher.java b/src/IvyWatcher.java
index 5a47da3..1e33302 100755
--- a/src/IvyWatcher.java
+++ b/src/IvyWatcher.java
@@ -14,6 +14,9 @@
* thing.
*
* CHANGELOG:
+ * 1.2.15
+ * - allows the fine tuning of the IvyClient socket buffersize using
+ * IVY_BUFFERSIZE property
* 1.2.14
* - tries to fix a lock on accept() by becoming a Thread instead of
* runnalbe (see tests/test2)
@@ -191,6 +194,8 @@ class IvyWatcher extends Thread {
traceDebug("no known agent originating from " + remotehost + ":" + remotePort);
try {
Socket s = new Socket(remotehost,remotePort);
+ s.setReceiveBufferSize(bus.getBufferSize());
+ System.out.println("MY DEBUG - buffer size="+s.getReceiveBufferSize());
s.setTcpNoDelay(true);
bus.createIvyClient(s,remotePort,false);
} catch ( java.net.ConnectException jnc ) {