From 26ff1f0755680cbce7b5bdb136750b2b1bc9e4ed Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 10 Nov 2006 08:05:56 +0000
Subject: [PATCH] issue 508 These changes implement a window mechanism in the sycnhronization protocol.
---
opends/src/server/org/opends/server/changelog/SocketSession.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/changelog/SocketSession.java b/opends/src/server/org/opends/server/changelog/SocketSession.java
index 4bb87d6..13708ad 100644
--- a/opends/src/server/org/opends/server/changelog/SocketSession.java
+++ b/opends/src/server/org/opends/server/changelog/SocketSession.java
@@ -60,6 +60,10 @@
public SocketSession(Socket socket) throws IOException
{
this.socket = socket;
+ /*
+ * Use a window instead of the TCP flow control.
+ * Therefore set a very large value for send and receive buffer sizes.
+ */
input = socket.getInputStream();
output = socket.getOutputStream();
}
--
Gitblit v1.10.0