aboutsummaryrefslogtreecommitdiff
path: root/src/IvyWatcher.java
diff options
context:
space:
mode:
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 ) {