diff options
author | jestin | 2012-02-20 16:08:12 +0000 |
---|---|---|
committer | jestin | 2012-02-20 16:08:12 +0000 |
commit | 26a6343bdf7a4e3f8e93f27e6982d7b923eafc7c (patch) | |
tree | 4e467382ce613ce197efe75db3f49be9da3e8faf /src/IvyWatcher.java | |
parent | 9c55bfcc68930a906cf1485d484045094f005cdb (diff) | |
download | ivy-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-x | src/IvyWatcher.java | 5 |
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 ) { |