Please increase SOCKET_TIMEOUT

8 views
Skip to first unread message

Charley

unread,
Mar 8, 2010, 12:21:51 PM3/8/10
to proxoid
Hi,

can you please increase SOCKET_TIMEOUT like this:

--- proxylight/src/com/mba/proxylight/RequestProcessor.java
(revision 89)
+++ proxylight/src/com/mba/proxylight/RequestProcessor.java
(working copy)
@@ -23,7 +23,7 @@
private static int processorsCpt = 1;
private static int processorsCount = 0;
private int processorIdx = 1;
- private static long SOCKET_TIMEOUT = 15 * 1000; // 15 secondes
d'inactivite
+ private static long SOCKET_TIMEOUT = 60 * 60 * 1000; // 1
heure d'inactivite
//
max.

private Selector selector = null;

Otherwise VPN got disconnected too quickly: I use OpenVPN and this
patch seems to be working for me.

Mike Baroukh

unread,
Mar 8, 2010, 5:12:02 PM3/8/10
to pro...@googlegroups.com

Hi.

This change should not cause any problem.
I'll do it next week-end.

Mike

Charley a �crit :

Reply all
Reply to author
Forward
0 new messages